public class Attribute extends AttributeType implements Attribute
Attribute element specifies an attribute of the assertion subject.
The Attribute element is an extension of the AttributeDesignator element
that allows the attribute value to be specified.| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
attributeValue, friendlyName, name, nameFormat| Constructor and Description |
|---|
Attribute(AttributeType attType) |
Attribute(String name,
List values)
Constructs an instance of
Attribute. |
Attribute(String name,
String nameFormat,
List values) |
| Modifier and Type | Method and Description |
|---|---|
static AttributeType |
fromElement(Element element)
Constructs an attribute element from an existing XML block.
|
List<Object> |
getAttributes()
Gets the value of the attributeValue property.
|
getAttributeValue, getFriendlyName, getName, getNameFormat, getOtherAttributes, setFriendlyName, setName, setNameFormatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFriendlyName, getName, getNameFormatprotected static final Logger log
public Attribute(String name, List values)
Attribute.name - A String representing AttributeName (the name
of the attribute).values - A List of DOM element representing the
AttributeValue object.SAMLException - if there is an error in the sender or in the
element definition.public Attribute(AttributeType attType)
public static AttributeType fromElement(Element element) throws SAMLException
element - representing a DOM tree element.SAMLException - if there is an error in the sender or in the
element definition.Copyright © 2005–2018 Oracle Corporation. All rights reserved.