org.opensaml.saml2.core.impl
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 String |
friendlyName
Human readable name of the attribute.
|
private String |
name
Name of the attribute.
|
private 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(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() |
AttributeMap |
getUnknownAttributes() |
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
private String name
private String nameFormat
private String friendlyName
private AttributeMap unknownAttributes
private final XMLObjectChildrenList<XMLObject> attributeValues
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 © 1999-2013 JBoss by Red Hat. All Rights Reserved.