com.sun.identity.saml.assertion
Class AssertionIDReference
java.lang.Object
|
+--com.sun.identity.saml.assertion.AssertionIDReference
- public class AssertionIDReference
- extends java.lang.Object
AssertionIDReference element makes reference to a SAML assertion.
Method Summary |
java.lang.String |
getAssertionIDReference()
This method is to return a String representing the Assertion id. |
java.lang.String |
toString()
This method translates the AssertionID to an XML String |
java.lang.String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the
element. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AssertionIDReference
public AssertionIDReference(org.w3c.dom.Element element)
throws SAMLException
- This constructor builds an AssertionIDReference 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.
AssertionIDReference
public AssertionIDReference()
- Default constructor of
AssertionIDReference
public AssertionIDReference(java.lang.String id)
- This is a constructor of .
- Parameters:
id:
- A String representing an existing assertion id.
getAssertionIDReference
public java.lang.String getAssertionIDReference()
- This method is to return a String representing the Assertion id.
- Returns:
- A string representation of the assertion id.
toString
public java.lang.String toString()
- This method translates the AssertionID to an XML String
- Overrides:
toString
in class java.lang.Object
- Returns:
- A String representing the AssertionID
toString
public java.lang.String toString(boolean includeNS,
boolean declareNS)
- Creates 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 representation of the
element