Package com.sun.identity.saml.assertion
Class AssertionIDReference
- java.lang.Object
-
- com.sun.identity.saml.assertion.AssertionIDReference
-
@SupportedAll public class AssertionIDReference extends Object
AssertionIDReference
element makes reference to a SAML assertion.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
assertionID
-
Constructor Summary
Constructors Constructor Description AssertionIDReference()
Default constructorAssertionIDReference(String id)
Constructs ofAssertionIDReference
.AssertionIDReference(Element element)
Constructs anAssertionIDReference
element from an existing XML block.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAssertionIDReference()
Returns a String representing the Assertion id.String
toString()
Translates theAssertionID
to an XML String,String
toString(boolean includeNS, boolean declareNS)
Returns a String representation of theAssertionIDReference
element.
-
-
-
Field Detail
-
assertionID
protected String assertionID
-
-
Constructor Detail
-
AssertionIDReference
public AssertionIDReference(Element element) throws SAMLException
Constructs anAssertionIDReference
element from an existing XML block.- Parameters:
element
- representing a DOM tree element.- Throws:
SAMLException
- if there is an error in the sender or in the element definition.
-
AssertionIDReference
public AssertionIDReference()
Default constructor
-
AssertionIDReference
public AssertionIDReference(String id)
Constructs ofAssertionIDReference
.- Parameters:
id
- A String representing an existing assertion id.
-
-
Method Detail
-
getAssertionIDReference
public String getAssertionIDReference()
Returns a String representing the Assertion id.- Returns:
- A string representation of the assertion id.
-
toString
public String toString()
Translates theAssertionID
to an XML String,
-
toString
public String toString(boolean includeNS, boolean declareNS)
Returns a String representation of theAssertionIDReference
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
<saml:AssertionIDReference>
element.
-
-