Class SessionIndexImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.SessionIndexImpl
-
- All Implemented Interfaces:
SessionIndex
public class SessionIndexImpl extends Object implements SessionIndex
This class defines methods for addingSessionIndexelement.
-
-
Constructor Summary
Constructors Constructor Description SessionIndexImpl(String value)Constructs theSessionIndexObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()Returns theSessionIndexvalue.StringtoXMLString()Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.
-
-
-
Constructor Detail
-
SessionIndexImpl
public SessionIndexImpl(String value)
Constructs theSessionIndexObject.- Parameters:
value- A StringSessionIndexvalue
-
-
Method Detail
-
getValue
public String getValue()
Returns theSessionIndexvalue.- Specified by:
getValuein interfaceSessionIndex- Returns:
- A String value of the
SessionIndex
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.- Specified by:
toXMLStringin interfaceSessionIndex- Returns:
- An XML String representing the
SessionIndex. - Throws:
SAML2Exception- if some error occurs during conversion toString.
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns theSessionIndexin an XML document String format based on theSessionIndexschema described above.- Specified by:
toXMLStringin interfaceSessionIndex- Parameters:
includeNSPrefix- 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 XML String representing the
SessionIndex. - Throws:
SAML2Exception- if some error occurs during conversion toString.
-
-