com.sun.xml.wss.saml.assertion.saml11.jaxb20
Class Attribute

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeDesignatorType
      extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeType
          extended by com.sun.xml.wss.saml.assertion.saml11.jaxb20.Attribute
All Implemented Interfaces:
Attribute

public class Attribute
extends AttributeType
implements Attribute

The Attribute element specifies an attribute of the assertion subject. The Attribute element is an extension of the AttributeDesignator element that allows the attribute value to be specified.


Field Summary
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeType
attributeValue
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeDesignatorType
attributeName, attributeNamespace
 
Constructor Summary
Attribute(AttributeType attType)
           
Attribute(String name, String nameSpace, List values)
          Constructs an instance of Attribute.
 
Method Summary
static AttributeType fromElement(Element element)
          Constructs an attribute element from an existing XML block.
 List<Object> getAttributes()
          Gets the value of the attributeValue property.
 String getFriendlyName()
          Gets the value of the friendlyName property.
 String getName()
          Gets the value of the name property.
 String getNameFormat()
          Gets the value of the nameFormat property.
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeType
getAttributeValue
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeDesignatorType
getAttributeName, getAttributeNamespace, setAttributeName, setAttributeNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log
Constructor Detail

Attribute

public Attribute(String name,
                 String nameSpace,
                 List values)
Constructs an instance of Attribute.

Parameters:
name - A String representing AttributeName (the name of the attribute).
nameSpace - A String representing the namespace in which AttributeName elements are interpreted.
values - A List of DOM element representing the AttributeValue object.
Throws:
SAMLException - if there is an error in the sender or in the element definition.

Attribute

public Attribute(AttributeType attType)
Method Detail

fromElement

public static AttributeType fromElement(Element element)
                                 throws SAMLException
Constructs an attribute element from an existing XML block.

Parameters:
element - representing a DOM tree element.
Throws:
SAMLException - if there is an error in the sender or in the element definition.

getFriendlyName

public String getFriendlyName()
Description copied from interface: Attribute
Gets the value of the friendlyName property.

Specified by:
getFriendlyName in interface Attribute
Returns:
object is String

getName

public String getName()
Description copied from interface: Attribute
Gets the value of the name property.

Specified by:
getName in interface Attribute
Returns:
object is String

getNameFormat

public String getNameFormat()
Description copied from interface: Attribute
Gets the value of the nameFormat property.

Specified by:
getNameFormat in interface Attribute
Returns:
object is String

getAttributes

public List<Object> getAttributes()
Description copied from interface: Attribute
Gets the value of the attributeValue property.

Objects of the following type(s) are allowed in the list Object

Specified by:
getAttributes in interface Attribute


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.