|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml.assertion.AdviceBase
public abstract class AdviceBase
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.
Field Summary | |
---|---|
protected List |
_assertion
|
protected List |
_assertionIDRef
|
protected List |
_otherElements
|
Constructor Summary | |
---|---|
AdviceBase(Element element)
Constructs an Advice element from an existing XML block. |
|
AdviceBase(List assertionidreference,
List assertion,
List otherelement)
Constructor |
Method Summary | |
---|---|
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. |
Field Detail |
---|
protected List _assertionIDRef
protected List _assertion
protected List _otherElements
Constructor Detail |
---|
public AdviceBase(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 AdviceBase(List assertionidreference, List assertion, List otherelement)
assertionidreference
- A List of AssertionIDReference
.assertion
- A List of Assertionotherelement
- A List of any element defined as
any namespace="##other" processContents="lax"
;Method Detail |
---|
protected abstract AssertionBase createAssertion(Element assertionElement) throws SAMLException
assertionElement
- the assertion Element
SAMLException
protected abstract AssertionIDReference createAssertionIDReference(Element assertionIDRefElement) throws SAMLException
assertionIDRefElement
- the assertion ID reference Element
SAMLException
public List getAssertionIDReference()
AssertionIDReference
in this
Advice element.
AssertionIDReference
in this Advice
element.public List getAssertion()
public List getOtherElement()
public String toString()
Advice
element
toString
in class Object
public String toString(boolean includeNS, boolean declareNS)
<saml:Advice>
element.
includeNS
- 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |