Package org.opensaml.saml.saml2.core
Interface Attribute
-
- All Superinterfaces:
AttributeExtensibleXMLObject,SAMLObject,XMLObject
- All Known Subinterfaces:
RequestedAttribute
public interface Attribute extends SAMLObject, AttributeExtensibleXMLObject
SAML 2.0 Core Attribute.
-
-
Field Summary
Fields Modifier and Type Field Description static StringBASICBasic attribute format ID.static StringDEFAULT_ELEMENT_LOCAL_NAMELocal name of the Attribute element.static QNameDEFAULT_ELEMENT_NAMEDefault element name.static StringFRIENDLY_NAME_ATTRIB_NAMEName of the FriendlyName attribute.static StringNAME_ATTTRIB_NAMEName of the Name attribute.static StringNAME_FORMAT_ATTRIB_NAMEName for the NameFormat attribute.static StringTYPE_LOCAL_NAMELocal name of the XSI type.static QNameTYPE_NAMEQName of the XSI type.static StringUNSPECIFIEDUnspecified attribute format ID.static StringURI_REFERENCEURI reference attribute format ID.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<XMLObject>getAttributeValues()Gets the list of attribute values for this attribute.StringgetFriendlyName()Get the friendly name of this attribute.StringgetName()Get the name of this attribute.StringgetNameFormat()Get the name format of this attribute.voidsetFriendlyName(String friendlyName)Sets the friendly name of this attribute.voidsetName(String name)Sets the name of this attribute.voidsetNameFormat(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 Detail
-
DEFAULT_ELEMENT_LOCAL_NAME
static final String DEFAULT_ELEMENT_LOCAL_NAME
Local name of the Attribute element.- See Also:
- Constant Field Values
-
DEFAULT_ELEMENT_NAME
static final QName DEFAULT_ELEMENT_NAME
Default element name.
-
TYPE_LOCAL_NAME
static final String TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
- Constant Field Values
-
TYPE_NAME
static final QName TYPE_NAME
QName of the XSI type.
-
NAME_ATTTRIB_NAME
static final String NAME_ATTTRIB_NAME
Name of the Name attribute.- See Also:
- Constant Field Values
-
NAME_FORMAT_ATTRIB_NAME
static final String NAME_FORMAT_ATTRIB_NAME
Name for the NameFormat attribute.- See Also:
- Constant Field Values
-
FRIENDLY_NAME_ATTRIB_NAME
static final String FRIENDLY_NAME_ATTRIB_NAME
Name of the FriendlyName attribute.- See Also:
- Constant Field Values
-
UNSPECIFIED
static final String UNSPECIFIED
Unspecified attribute format ID.- See Also:
- Constant Field Values
-
URI_REFERENCE
static final String URI_REFERENCE
URI reference attribute format ID.- See Also:
- Constant Field Values
-
BASIC
static final String BASIC
Basic attribute format ID.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
String getName()
Get the name of this attribute.- Returns:
- the name of this attribute
-
setName
void setName(String name)
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
void setNameFormat(String nameFormat)
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
void setFriendlyName(String friendlyName)
Sets the friendly name of this attribute.- Parameters:
friendlyName- the friendly name of this attribute
-
-