public class AttributeImpl extends AbstractSAMLObject implements Attribute
Attribute.| Modifier and Type | Field and Description |
|---|---|
private XMLObjectChildrenList<XMLObject> |
attributeValues
List of attribute values for this attribute.
|
private java.lang.String |
friendlyName
Human readable name of the attribute.
|
private java.lang.String |
name
Name of the attribute.
|
private java.lang.String |
nameFormat
Format of the name of the attribute.
|
private AttributeMap |
unknownAttributes
"anyAttribute" attributes.
|
BASIC, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, FRIENDLY_NAME_ATTRIB_NAME, NAME_ATTTRIB_NAME, NAME_FORMAT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME, UNSPECIFIED, URI_REFERENCE| Modifier | Constructor and Description |
|---|---|
protected |
AttributeImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<XMLObject> |
getAttributeValues()
Gets the list of attribute values for this attribute.
|
java.lang.String |
getFriendlyName()
Get the friendly name of this attribute.
|
java.lang.String |
getName()
Get the name of this attribute.
|
java.lang.String |
getNameFormat()
Get the name format of this attribute.
|
java.util.List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
AttributeMap |
getUnknownAttributes()
Gets a mutable map of the attributes.
|
void |
setFriendlyName(java.lang.String friendlyName)
Sets the friendly name of this attribute.
|
void |
setName(java.lang.String name)
Sets the name of this attribute.
|
void |
setNameFormat(java.lang.String nameFormat)
Sets the name format of this attribute.
|
equals, hashCode, prepareForAssignmentdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprivate java.lang.String name
private java.lang.String nameFormat
private java.lang.String friendlyName
private AttributeMap unknownAttributes
private final XMLObjectChildrenList<XMLObject> attributeValues
protected AttributeImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespacepublic java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getNameFormat()
getNameFormat in interface Attributepublic void setNameFormat(java.lang.String nameFormat)
setNameFormat in interface AttributenameFormat - the name format of this attributepublic java.lang.String getFriendlyName()
getFriendlyName in interface Attributepublic void setFriendlyName(java.lang.String friendlyName)
setFriendlyName in interface AttributefriendlyName - the friendly name of this attributepublic AttributeMap getUnknownAttributes()
getUnknownAttributes in interface AttributeExtensibleXMLObjectpublic java.util.List<XMLObject> getAttributeValues()
getAttributeValues in interface Attributepublic java.util.List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObject