|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.AbstractXMLObject
org.opensaml.xml.validation.AbstractValidatingXMLObject
org.opensaml.common.impl.AbstractSAMLObject
org.opensaml.saml2.core.impl.AttributeImpl
public class AttributeImpl
Concrete implementation of Attribute.
| Field Summary | |
|---|---|
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. |
| Fields inherited from interface org.opensaml.saml2.core.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 |
| Constructor Summary | |
|---|---|
protected |
AttributeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject |
|---|
equals, hashCode, prepareForAssignment |
| Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate |
| Methods inherited from interface org.opensaml.xml.XMLObject |
|---|
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 |
| Field Detail |
|---|
private String name
private String nameFormat
private String friendlyName
private AttributeMap unknownAttributes
private final XMLObjectChildrenList<XMLObject> attributeValues
| Constructor Detail |
|---|
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 namespace| Method Detail |
|---|
public String getName()
getName in interface Attributepublic void setName(String name)
setName in interface Attributename - the name of this attributepublic 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 XMLObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||