org.opensaml.saml2.core
Interface Attribute

All Superinterfaces:
AttributeExtensibleXMLObject, SAMLObject, ValidatingXMLObject, XMLObject
All Known Subinterfaces:
RequestedAttribute
All Known Implementing Classes:
AttributeImpl, RequestedAttributeImpl

public interface Attribute
extends SAMLObject, AttributeExtensibleXMLObject

SAML 2.0 Core Attribute.


Field Summary
static String BASIC
          Basic attribute format ID.
static String DEFAULT_ELEMENT_LOCAL_NAME
          Local name of the Attribute element.
static QName DEFAULT_ELEMENT_NAME
          Default element name.
static String FRIENDLY_NAME_ATTRIB_NAME
          Name of the FriendlyName attribute.
static String NAME_ATTTRIB_NAME
          Name of the Name attribute.
static String NAME_FORMAT_ATTRIB_NAME
          Name for the NameFormat attribute.
static String TYPE_LOCAL_NAME
          Local name of the XSI type.
static QName TYPE_NAME
          QName of the XSI type.
static String UNSPECIFIED
          Unspecified attribute format ID.
static String URI_REFERENCE
          URI reference attribute format ID.
 
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.
 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 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, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 
Methods inherited from interface org.opensaml.xml.AttributeExtensibleXMLObject
getUnknownAttributes
 

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

getAttributeValues

List<XMLObject> getAttributeValues()
Gets the list of attribute values for this attribute.

Returns:
the list of attribute values for this attribute


Copyright © 1999-2013. All Rights Reserved.