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

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

public abstract class AdviceBase
extends Object

The Advice element contains additional information that the issuer wish to provide. This information MAY be ignored by applications without affecting either the semantics or validity. Advice elements MAY be specified in an extension schema. This class is an abstract base class for all Advice implementations and encapsulates common functionality.


フィールドの概要
protected  List _assertion
           
protected  List _assertionIDRef
           
protected  List _otherElements
           
 
コンストラクタの概要
AdviceBase(Element element)
          Constructs an Advice element from an existing XML block.
AdviceBase(List assertionidreference, List assertion, List otherelement)
          Constructor
 
メソッドの概要
protected abstract  AssertionBase createAssertion(Element assertionElement)
          Creates appropriate Assertion Instance
protected abstract  AssertionIDReference createAssertionIDReference(Element assertionIDRefElement)
          Creates appropriate AssertionIDReference Instance
 List getAssertion()
          Gets access to the Assertion in this Advice element
 List getAssertionIDReference()
          Returns access to the AssertionIDReference in this Advice element.
 List getOtherElement()
          Gets other element contained within the Advice element
 String toString()
          Creates a String representation of the Advice element
 String toString(boolean includeNS, boolean declareNS)
          Returns a String representation of the <saml:Advice> element.
 

フィールドの詳細

_assertionIDRef

protected List _assertionIDRef

_assertion

protected List _assertion

_otherElements

protected List _otherElements
コンストラクタの詳細

AdviceBase

public AdviceBase(Element element)
           throws SAMLException
Constructs an Advice element from an existing XML block.

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

AdviceBase

public AdviceBase(List assertionidreference,
                  List assertion,
                  List otherelement)
Constructor

パラメータ:
assertionidreference - A List of AssertionIDReference.
assertion - A List of Assertion
otherelement - A List of any element defined as any namespace="##other" processContents="lax";
メソッドの詳細

createAssertion

protected abstract AssertionBase createAssertion(Element assertionElement)
                                          throws SAMLException
Creates appropriate Assertion Instance

パラメータ:
assertionElement - the assertion Element
戻り値:
the assertion instance
例外:
SAMLException

createAssertionIDReference

protected abstract AssertionIDReference createAssertionIDReference(Element assertionIDRefElement)
                                                            throws SAMLException
Creates appropriate AssertionIDReference Instance

パラメータ:
assertionIDRefElement - the assertion ID reference Element
戻り値:
the assertion ID reference instance
例外:
SAMLException

getAssertionIDReference

public List getAssertionIDReference()
Returns access to the AssertionIDReference in this Advice element.

戻り値:
A list of AssertionIDReference in this Advice element.

getAssertion

public List getAssertion()
Gets access to the Assertion in this Advice element

戻り値:
A list of Assertion in this Advice element

getOtherElement

public List getOtherElement()
Gets other element contained within the Advice element

戻り値:
A list of other elements.

toString

public String toString()
Creates a String representation of the Advice element

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

toString

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

パラメータ:
includeNS - Determines whether or not the namespace qualifier is prepended 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