org.opensaml.saml2.core
Interface Attribute

All Superinterfaces:
org.opensaml.xml.AttributeExtensibleXMLObject, SAMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject
All Known Subinterfaces:
RequestedAttribute
All Known Implementing Classes:
AttributeImpl, RequestedAttributeImpl

public interface Attribute
extends SAMLObject, org.opensaml.xml.AttributeExtensibleXMLObject

SAML 2.0 Core Attribute.


Field Summary
static java.lang.String BASIC
          Basic attribute format ID.
static java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
          Local name of the Attribute element.
static javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
          Default element name.
static java.lang.String FRIENDLY_NAME_ATTRIB_NAME
          Name of the FriendlyName attribute.
static java.lang.String NAME_ATTTRIB_NAME
          Name of the Name attribute.
static java.lang.String NAME_FORMAT_ATTRIB_NAME
          Name for the NameFormat attribute.
static java.lang.String TYPE_LOCAL_NAME
          Local name of the XSI type.
static javax.xml.namespace.QName TYPE_NAME
          QName of the XSI type.
static java.lang.String UNSPECIFIED
          Unspecified attribute format ID.
static java.lang.String URI_REFERENCE
          URI reference attribute format ID.
 
Method Summary
 java.util.List<org.opensaml.xml.XMLObject> getAttributeValues()
          Gets the list of attribute values for this attribute.
 java.lang.String getFriendlyName()
          Get the friendly name of this attribute.
 java.lang.String getName()
          Get the name of this attribute.
 java.lang.String getNameFormat()
          Get the name format of this attribute.
 void setFriendlyName(java.lang.String friendlyName)
          Sets the friendly name of this attribute.
 void setName(java.lang.String name)
          Sets the name of this attribute.
 void setNameFormat(java.lang.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, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 
Methods inherited from interface org.opensaml.xml.AttributeExtensibleXMLObject
getUnknownAttributes
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
Local name of the Attribute element.

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
Default element name.


TYPE_LOCAL_NAME

static final java.lang.String TYPE_LOCAL_NAME
Local name of the XSI type.

See Also:
Constant Field Values

TYPE_NAME

static final javax.xml.namespace.QName TYPE_NAME
QName of the XSI type.


NAME_ATTTRIB_NAME

static final java.lang.String NAME_ATTTRIB_NAME
Name of the Name attribute.

See Also:
Constant Field Values

NAME_FORMAT_ATTRIB_NAME

static final java.lang.String NAME_FORMAT_ATTRIB_NAME
Name for the NameFormat attribute.

See Also:
Constant Field Values

FRIENDLY_NAME_ATTRIB_NAME

static final java.lang.String FRIENDLY_NAME_ATTRIB_NAME
Name of the FriendlyName attribute.

See Also:
Constant Field Values

UNSPECIFIED

static final java.lang.String UNSPECIFIED
Unspecified attribute format ID.

See Also:
Constant Field Values

URI_REFERENCE

static final java.lang.String URI_REFERENCE
URI reference attribute format ID.

See Also:
Constant Field Values

BASIC

static final java.lang.String BASIC
Basic attribute format ID.

See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Get the name of this attribute.

Returns:
the name of this attribute

setName

void setName(java.lang.String name)
Sets the name of this attribute.

Parameters:
name - the name of this attribute

getNameFormat

java.lang.String getNameFormat()
Get the name format of this attribute.

Returns:
the name format of this attribute

setNameFormat

void setNameFormat(java.lang.String nameFormat)
Sets the name format of this attribute.

Parameters:
nameFormat - the name format of this attribute

getFriendlyName

java.lang.String getFriendlyName()
Get the friendly name of this attribute.

Returns:
the friendly name of this attribute

setFriendlyName

void setFriendlyName(java.lang.String friendlyName)
Sets the friendly name of this attribute.

Parameters:
friendlyName - the friendly name of this attribute

getAttributeValues

java.util.List<org.opensaml.xml.XMLObject> getAttributeValues()
Gets the list of attribute values for this attribute.

Returns:
the list of attribute values for this attribute


Copyright © 2006-2012 Internet2. All Rights Reserved.