com.sun.identity.saml.assertion
Class AssertionIDReference

java.lang.Object
  extended bycom.sun.identity.saml.assertion.AssertionIDReference

public class AssertionIDReference
extends java.lang.Object

AssertionIDReference element makes reference to a SAML assertion.


Constructor Summary
AssertionIDReference()
          Default constructor of
AssertionIDReference(org.w3c.dom.Element element)
          Constructs an AssertionIDReference element from an existing XML block.
AssertionIDReference(java.lang.String id)
          This is a constructor of .
 
Method Summary
 java.lang.String getAssertionIDReference()
          This method is to return a String representing the Assertion id.
 java.lang.String toString()
          Translates the AssertionID to an XML String,
 java.lang.String toString(boolean includeNS, boolean declareNS)
          Returns a String representation of the element.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssertionIDReference

public AssertionIDReference(org.w3c.dom.Element element)
                     throws SAMLException
Constructs an AssertionIDReference 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 of


AssertionIDReference

public AssertionIDReference(java.lang.String id)
This is a constructor of .

Parameters:
id - A String representing an existing assertion id.
Method Detail

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()
Translates the AssertionID to an XML String,

Returns:
A String representing the AssertionID

toString

public java.lang.String toString(boolean includeNS,
                                 boolean declareNS)
Returns a String representation of the element.

Parameters:
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.
Returns:
A string representation of the <saml:AssertionIDReference> element.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.