org.opensaml.saml2.core.impl
Class AttributeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml2.core.impl.AttributeImpl
All Implemented Interfaces:
SAMLObject, Attribute, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject
Direct Known Subclasses:
RequestedAttributeImpl

public class AttributeImpl
extends AbstractSAMLObject
implements Attribute

Concrete implementation of Attribute.


Field Summary
 
Fields inherited from interface org.opensaml.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
protected AttributeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<org.opensaml.xml.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.
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
          
 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 class org.opensaml.common.impl.AbstractSAMLObject
equals, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

AttributeImpl

protected AttributeImpl(String namespaceURI,
                        String elementLocalName,
                        String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getName

public String getName()
Get the name of this attribute.

Specified by:
getName in interface Attribute
Returns:
the name of this attribute

setName

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

Specified by:
setName in interface Attribute
Parameters:
name - the name of this attribute

getNameFormat

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

Specified by:
getNameFormat in interface Attribute
Returns:
the name format of this attribute

setNameFormat

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

Specified by:
setNameFormat in interface Attribute
Parameters:
nameFormat - the name format of this attribute

getFriendlyName

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

Specified by:
getFriendlyName in interface Attribute
Returns:
the friendly name of this attribute

setFriendlyName

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

Specified by:
setFriendlyName in interface Attribute
Parameters:
friendlyName - the friendly name of this attribute

getUnknownAttributes

public org.opensaml.xml.util.AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject

getAttributeValues

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

Specified by:
getAttributeValues in interface Attribute
Returns:
the list of attribute values for this attribute

getOrderedChildren

public List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2013 Internet2. All Rights Reserved.