public class AttributeImpl extends AbstractSAMLObject implements Attribute
Attribute.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(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<XMLObject> |
getAttributeValues()
Gets the list of attribute values for this attribute.
|
String |
getFriendlyName()
Get the friendly name of this attribute.
|
String |
getName()
Get the name of this attribute.
|
String |
getNameFormat()
Get the name format of this attribute.
|
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(String friendlyName)
Sets the friendly name of this attribute.
|
void |
setName(String name)
Sets the name of this attribute.
|
void |
setNameFormat(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, setSchemaLocationprotected AttributeImpl(String namespaceURI, String elementLocalName, 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 String getName()
public void setName(String name)
public String getNameFormat()
getNameFormat in interface Attributepublic void setNameFormat(String nameFormat)
setNameFormat in interface AttributenameFormat - the name format of this attributepublic String getFriendlyName()
getFriendlyName in interface Attributepublic void setFriendlyName(String friendlyName)
setFriendlyName in interface AttributefriendlyName - the friendly name of this attributepublic AttributeMap getUnknownAttributes()
getUnknownAttributes in interface AttributeExtensibleXMLObjectpublic List<XMLObject> getAttributeValues()
getAttributeValues in interface Attributepublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectCopyright © 2021. All rights reserved.