Class AttributeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.AttributeImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,Attribute
- Direct Known Subclasses:
RequestedAttributeImpl
Concrete implementation of
Attribute.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final XMLObjectChildrenList<XMLObject>List of attribute values for this attribute.private StringHuman readable name of the attribute.private StringName of the attribute.private StringFormat of the name of the attribute.private final AttributeMap"anyAttribute" attributes.Fields inherited from interface org.opensaml.saml.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
ConstructorsModifierConstructorDescriptionprotectedAttributeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidsetFriendlyName(String fname) voidvoidsetNameFormat(String format) Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
name
Name of the attribute. -
nameFormat
Format of the name of the attribute. -
friendlyName
Human readable name of the attribute. -
unknownAttributes
"anyAttribute" attributes. -
attributeValues
List of attribute values for this attribute.
-
-
Constructor Details
-
AttributeImpl
protected AttributeImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Details
-
getName
-
setName
-
getNameFormat
- Specified by:
getNameFormatin interfaceAttribute
-
setNameFormat
- Specified by:
setNameFormatin interfaceAttribute
-
getFriendlyName
- Specified by:
getFriendlyNamein interfaceAttribute
-
setFriendlyName
- Specified by:
setFriendlyNamein interfaceAttribute
-
getUnknownAttributes
- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject
-
getAttributeValues
- Specified by:
getAttributeValuesin interfaceAttribute
-
getOrderedChildren
- Specified by:
getOrderedChildrenin interfaceXMLObject
-