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, prepareForAssignment
deregisterValidator, getValidators, registerValidator, validate, validateChildren
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deregisterValidator, getValidators, registerValidator, validate
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
protected 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 Attribute
public void setNameFormat(String nameFormat)
setNameFormat
in interface Attribute
nameFormat
- the name format of this attributepublic String getFriendlyName()
getFriendlyName
in interface Attribute
public void setFriendlyName(String friendlyName)
setFriendlyName
in interface Attribute
friendlyName
- the friendly name of this attributepublic AttributeMap getUnknownAttributes()
getUnknownAttributes
in interface AttributeExtensibleXMLObject
public List<XMLObject> getAttributeValues()
getAttributeValues
in interface Attribute
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 2018 JBoss by Red Hat. All rights reserved.