Class Attribute
- java.lang.Object
-
- com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeDesignatorType
-
- com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeType
-
- com.sun.xml.wss.saml.assertion.saml11.jaxb20.Attribute
-
- All Implemented Interfaces:
Attribute
public class Attribute extends AttributeType implements Attribute
TheAttributeelement specifies an attribute of the assertion subject. TheAttributeelement is an extension of theAttributeDesignatorelement that allows the attribute value to be specified.
-
-
Field Summary
Fields Modifier and Type Field Description protected static Loggerlog-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeTypefromElement(Element element)Constructs an attribute element from an existing XML block.List<Object>getAttributes()Gets the value of the attributeValue property.StringgetFriendlyName()Gets the value of the friendlyName property.StringgetName()Gets the value of the name property.StringgetNameFormat()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
-
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
Attribute
public Attribute(String name, String nameSpace, List values)
Constructs an instance ofAttribute.- Parameters:
name- A String representingAttributeName(the name of the attribute).nameSpace- A String representing the namespace in whichAttributeNameelements are interpreted.values- A List of DOM element representing theAttributeValueobject.
-
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:AttributeGets the value of the friendlyName property.- Specified by:
getFriendlyNamein interfaceAttribute- Returns:
- object is
String
-
getName
public String getName()
Description copied from interface:AttributeGets the value of the name property.
-
getNameFormat
public String getNameFormat()
Description copied from interface:AttributeGets the value of the nameFormat property.- Specified by:
getNameFormatin interfaceAttribute- Returns:
- object is
String
-
-