Class SessionIndexImpl

  • All Implemented Interfaces:
    SessionIndex

    public class SessionIndexImpl
    extends Object
    implements SessionIndex
    This class defines methods for adding SessionIndex element.
    • Constructor Detail

      • SessionIndexImpl

        public SessionIndexImpl​(String value)
        Constructs the SessionIndex Object.
        Parameters:
        value - A String SessionIndex value
    • Method Detail

      • getValue

        public String getValue()
        Returns the SessionIndex value.
        Specified by:
        getValue in interface SessionIndex
        Returns:
        A String value of the SessionIndex
      • toXMLString

        public String toXMLString()
                           throws SAML2Exception
        Returns the SessionIndex in an XML document String format based on the SessionIndex schema described above.
        Specified by:
        toXMLString in interface SessionIndex
        Returns:
        An XML String representing the SessionIndex.
        Throws:
        SAML2Exception - if some error occurs during conversion to String.
      • toXMLString

        public String toXMLString​(boolean includeNSPrefix,
                                  boolean declareNS)
                           throws SAML2Exception
        Returns the SessionIndex in an XML document String format based on the SessionIndex schema described above.
        Specified by:
        toXMLString in interface SessionIndex
        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.