|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.identity.saml.assertion.AttributeDesignator
com.sun.identity.saml.assertion.Attribute
public class 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.
| フィールドの概要 | |
|---|---|
protected List |
_attributeValue
|
| クラス com.sun.identity.saml.assertion.AttributeDesignator から継承されたフィールド |
|---|
_attributeName, _attributeNameSpace |
| コンストラクタの概要 | |
|---|---|
Attribute(Element element)
Constructs an attribute element from an existing XML block. |
|
Attribute(String name,
String nameSpace,
List values)
Constructs an instance of Attribute. |
|
Attribute(String name,
String nameSpace,
String attributeValue)
Constructs an instance of Attribute. |
|
| メソッドの概要 | |
|---|---|
void |
addAttributeValue(Element element)
Adds AttributeValue to the Attribute. |
void |
addAttributeValue(String value)
Adds AttributeValue to the Attribute. |
List |
getAttributeValue()
Returns AttributeValue from the Attribute. |
String |
toString()
Returns a String representation of the <saml:Attribute> element, |
String |
toString(boolean includeNS,
boolean declareNS)
Returns a String representation of the <saml:Attribute> element. |
| クラス com.sun.identity.saml.assertion.AttributeDesignator から継承されたメソッド |
|---|
getAttributeName, getAttributeNamespace |
| フィールドの詳細 |
|---|
protected List _attributeValue
| コンストラクタの詳細 |
|---|
public Attribute(Element element)
throws SAMLException
element - representing a DOM tree element.
SAMLException - if there is an error in the sender or in the
element definition.
public Attribute(String name,
String nameSpace,
List values)
throws SAMLException
Attribute.
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.
SAMLException - if there is an error in the sender or in the
element definition.
public Attribute(String name,
String nameSpace,
String attributeValue)
throws SAMLException
Attribute.
name - The name of the attribute.nameSpace - The namespace in which AttributeName
elements are interpreted.attributeValue - an AttributeValue object.
SAMLException - if there is an error in the sender or in
the element definition.| メソッドの詳細 |
|---|
public List getAttributeValue()
throws SAMLException
AttributeValue from the Attribute.
AttributeValue block.
SAMLException
public void addAttributeValue(String value)
throws SAMLException
AttributeValue to the Attribute.
value - A String representing AttributeValue.
SAMLException
public void addAttributeValue(Element element)
throws SAMLException
AttributeValue to the Attribute.
element - An Element object representing
AttributeValue.
SAMLExceptionpublic String toString()
<saml:Attribute> element,
AttributeDesignator 内の toString
public String toString(boolean includeNS,
boolean declareNS)
<saml:Attribute> element.
AttributeDesignator 内の toStringincludeNS - Determines whether or not the namespace qualifier
is prepended to the Element when converteddeclareNS - Determines whether or not the namespace is declared
within the Element.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||