Package com.sun.identity.saml.assertion
Class AttributeDesignator
java.lang.Object
com.sun.identity.saml.assertion.AttributeDesignator
- Direct Known Subclasses:
Attribute
The
AttributeDesignator element identifies an attribute
name within an attribute namespace. The element is used in an attribute query
to request that attribute values within a specific namespace be returned.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructorAttributeDesignator(String name, String nameSpace) Constructs an instance ofAttributeDesignator.AttributeDesignator(Element element) Constructs an attribute designator element from an existing XML block. -
Method Summary
Modifier and TypeMethodDescriptionReturns attribute name from theAttributeDesignator.Returns attribute name space from theAttributeDesignator.toString()Returns a String representation of the<saml:AttributeDesignator>element.toString(boolean includeNS, boolean declareNS) Returns a String representation of the<saml:AttributeDesignator>element.
-
Field Details
-
_attributeName
-
_attributeNameSpace
-
-
Constructor Details
-
AttributeDesignator
protected AttributeDesignator()Default constructor -
AttributeDesignator
Constructs an attribute designator element from an existing XML block.- Parameters:
element- representing a DOM tree element.- Throws:
SAMLException- if that there is an error in the sender or in the element definition.
-
AttributeDesignator
Constructs an instance ofAttributeDesignator.- Parameters:
name- the name of the attribute.nameSpace- the namespace in whichAttributeNameelements are interpreted.- Throws:
SAMLException- if there is an error in the sender or in the element definition.
-
-
Method Details
-
getAttributeName
Returns attribute name from theAttributeDesignator.- Returns:
- A String representing the attribute name.
-
getAttributeNamespace
Returns attribute name space from theAttributeDesignator.- Returns:
- A String representing the attribute name space.
-
toString
Returns a String representation of the<saml:AttributeDesignator>element. -
toString
Returns a String representation of the<saml:AttributeDesignator>element.- Parameters:
includeNS- Determines whether or not the namespace qualifier is to the Element when converteddeclareNS- Determines whether or not the namespace is declared within the Element.- Returns:
- A string containing the valid XML for this element.
-