com.sun.identity.saml.assertion
クラス AttributeDesignator

java.lang.Object
  上位を拡張 com.sun.identity.saml.assertion.AttributeDesignator
直系の既知のサブクラス:
Attribute

public class AttributeDesignator
extends Object

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.


フィールドの概要
protected  String _attributeName
           
protected  String _attributeNameSpace
           
 
コンストラクタの概要
protected AttributeDesignator()
          Default constructor
  AttributeDesignator(Element element)
          Constructs an attribute designator element from an existing XML block.
  AttributeDesignator(String name, String nameSpace)
          Constructs an instance of AttributeDesignator.
 
メソッドの概要
 String getAttributeName()
          Returns attribute name from the AttributeDesignator.
 String getAttributeNamespace()
          Returns attribute name space from the AttributeDesignator.
 String toString()
          Returns a String representation of the <saml:AttributeDesignator> element.
 String toString(boolean includeNS, boolean declareNS)
          Returns a String representation of the <saml:AttributeDesignator> element.
 

フィールドの詳細

_attributeName

protected String _attributeName

_attributeNameSpace

protected String _attributeNameSpace
コンストラクタの詳細

AttributeDesignator

protected AttributeDesignator()
Default constructor


AttributeDesignator

public AttributeDesignator(Element element)
                    throws SAMLException
Constructs an attribute designator element from an existing XML block.

パラメータ:
element - representing a DOM tree element.
例外:
SAMLException - if that there is an error in the sender or in the element definition.

AttributeDesignator

public AttributeDesignator(String name,
                           String nameSpace)
                    throws SAMLException
Constructs an instance of AttributeDesignator.

パラメータ:
name - the name of the attribute.
nameSpace - the namespace in which AttributeName elements are interpreted.
例外:
SAMLException - if there is an error in the sender or in the element definition.
メソッドの詳細

getAttributeName

public String getAttributeName()
Returns attribute name from the AttributeDesignator.

戻り値:
A String representing the attribute name.

getAttributeNamespace

public String getAttributeNamespace()
Returns attribute name space from the AttributeDesignator.

戻り値:
A String representing the attribute name space.

toString

public String toString()
Returns a String representation of the <saml:AttributeDesignator> element.

オーバーライド:
クラス Object 内の toString
戻り値:
A string containing the valid XML for this element.

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Returns a String representation of the <saml:AttributeDesignator> element.

パラメータ:
includeNS - Determines whether or not the namespace qualifier is to the Element when converted
declareNS - Determines whether or not the namespace is declared within the Element.
戻り値:
A string containing the valid XML for this element.