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.
Constructor Summary |
Advice(org.w3c.dom.Element element)
This constructor builds an Advice element from an existing XML block. |
Advice(java.util.List assertionidreference,
java.util.List assertion,
java.util.List otherelement)
Constructor |
Method Summary |
java.util.List |
getAssertion()
Get access to the Assertion in this Advice element |
java.util.List |
getAssertionIDReference()
Get access to the AssertionIDReference in this Advice element |
java.util.List |
getOtherElement()
Get other element contained within the Advice element |
java.lang.String |
toString()
Create a String representation of the element |
java.lang.String |
toString(boolean includeNS,
boolean declareNS)
Create a String representation of the element |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Advice
public Advice(org.w3c.dom.Element element)
throws SAMLException
- This constructor builds an Advice element from an existing XML block.
- Parameters:
element
- : representing a DOM tree element- Throws:
SAMLException:
- An SAMLException implies that there is an error
in the sender or in the element definition.
Advice
public Advice(java.util.List assertionidreference,
java.util.List assertion,
java.util.List otherelement)
- Constructor
- Parameters:
assertionidreference:
- A List of AssertionIDReferenceassertion:
- A List of Assertionotherelement:
- A List of any element defined as
<any namespace="##other" processContents="lax">
getAssertionIDReference
public java.util.List getAssertionIDReference()
- Get access to the AssertionIDReference in this Advice element
- Returns:
- A list of AssertionIDReference in this Advice element
getAssertion
public java.util.List getAssertion()
- Get access to the Assertion in this Advice element
- Returns:
- A list of Assertion in this Advice element
getOtherElement
public java.util.List getOtherElement()
- Get other element contained within the Advice element
- Returns:
- A list of other elements.
toString
public java.lang.String toString()
- Create a String representation of the element
- Overrides:
toString
in class java.lang.Object
- Returns:
- A String representing the valid XML for this element
toString
public java.lang.String toString(boolean includeNS,
boolean declareNS)
- Create a String representation of the element
- Parameters:
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.- Returns:
- A string containing the valid XML for this element