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 |
attributeValueattributeName, attributeNamespace| Constructor and Description |
|---|
Attribute(AttributeType attType) |
Attribute(String name,
String nameSpace,
List values)
Constructs an instance of
Attribute. |
| 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.
|
String |
getFriendlyName()
Gets the value of the friendlyName property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNameFormat()
Gets the value of the nameFormat property.
|
getAttributeValuegetAttributeName, getAttributeNamespace, setAttributeName, setAttributeNamespaceprotected static final Logger log
public Attribute(String name, String nameSpace, List values)
Attribute.name - A String representing AttributeName (the name
of the attribute).nameSpace - A String representing the namespace in which
AttributeName elements are interpreted.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.public String getFriendlyName()
AttributegetFriendlyName in interface AttributeStringpublic String getName()
Attributepublic String getNameFormat()
AttributegetNameFormat in interface AttributeStringCopyright © 2005–2018 Oracle Corporation. All rights reserved.