Package org.opensaml.saml.saml2.core
Interface Attribute
- All Superinterfaces:
AttributeExtensibleXMLObject
,SAMLObject
,XMLObject
- All Known Subinterfaces:
RequestedAttribute
- All Known Implementing Classes:
AttributeImpl
,RequestedAttributeImpl
SAML 2.0 Core Attribute.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Basic attribute format ID.static final String
Local name of the Attribute element.static final QName
Default element name.static final String
Name of the FriendlyName attribute.static final String
Name of the Name attribute.static final String
Name for the NameFormat attribute.static final String
Local name of the XSI type.static final QName
QName of the XSI type.static final String
Unspecified attribute format ID.static final String
URI reference attribute format ID. -
Method Summary
Modifier and TypeMethodDescriptionGets the list of attribute values for this attribute.Get the friendly name of this attribute.getName()
Get the name of this attribute.Get the name format of this attribute.void
setFriendlyName
(String friendlyName) Sets the friendly name of this attribute.void
Sets the name of this attribute.void
setNameFormat
(String nameFormat) Sets the name format of this attribute.Methods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject
getUnknownAttributes
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Local name of the Attribute element.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
NAME_ATTTRIB_NAME
Name of the Name attribute.- See Also:
-
NAME_FORMAT_ATTRIB_NAME
Name for the NameFormat attribute.- See Also:
-
FRIENDLY_NAME_ATTRIB_NAME
Name of the FriendlyName attribute.- See Also:
-
UNSPECIFIED
Unspecified attribute format ID.- See Also:
-
URI_REFERENCE
URI reference attribute format ID.- See Also:
-
BASIC
Basic attribute format ID.- See Also:
-
-
Method Details
-
getName
String getName()Get the name of this attribute.- Returns:
- the name of this attribute
-
setName
Sets the name of this attribute.- Parameters:
name
- the name of this attribute
-
getNameFormat
String getNameFormat()Get the name format of this attribute.- Returns:
- the name format of this attribute
-
setNameFormat
Sets the name format of this attribute.- Parameters:
nameFormat
- the name format of this attribute
-
getFriendlyName
String getFriendlyName()Get the friendly name of this attribute.- Returns:
- the friendly name of this attribute
-
setFriendlyName
Sets the friendly name of this attribute.- Parameters:
friendlyName
- the friendly name of this attribute
-
getAttributeValues
Gets the list of attribute values for this attribute.- Returns:
- the list of attribute values for this attribute
-