com.sun.identity.saml2.protocol
Interface SessionIndex


public interface SessionIndex

This class represents the SessionIndex element in SAML protocol schema. The SessionIndex element specifies a session index value of a authenticated principal.

 <element name="SessionIndex" type="{http://www.w3.org/2001/XMLSchema}string"/>
 


Method Summary
 java.lang.String getValue()
          Returns the SessionIndex value.
 java.lang.String toXMLString()
          Returns the SessionIndex in an XML document String format based on the SessionIndex schema described above.
 java.lang.String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns the SessionIndex in an XML document String format based on the SessionIndex schema described above.
 

Method Detail

getValue

public java.lang.String getValue()
Returns the SessionIndex value.

Returns:
A String value of the SessionIndex

toXMLString

public java.lang.String toXMLString()
                             throws SAML2Exception
Returns the SessionIndex in an XML document String format based on the SessionIndex schema described above.

Returns:
An XML String representing the SessionIndex.
Throws:
SAML2Exception - if some error occurs during conversion to String.

toXMLString

public java.lang.String toXMLString(boolean includeNSPrefix,
                                    boolean declareNS)
                             throws SAML2Exception
Returns the SessionIndex in an XML document String format based on the SessionIndex schema described above.

Parameters:
includeNSPrefix - 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 XML String representing the SessionIndex.
Throws:
SAML2Exception - if some error occurs during conversion to String.


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