Class AssertionIDRefImpl

  • All Implemented Interfaces:
    AssertionIDRef

    public class AssertionIDRefImpl
    extends Object
    implements AssertionIDRef
    This class represents the AssertionIDRef element.

    The following schema fragment specifies the expected content contained within this java content object.

     <element name="AssertionIDRef" type="NCName"/>
     
    • Constructor Detail

      • AssertionIDRefImpl

        public AssertionIDRefImpl()
        Class constructor. Caller may need to call setters to populate the object.
      • AssertionIDRefImpl

        public AssertionIDRefImpl​(Element element)
                           throws SAML2Exception
        Class constructor with AssertionIDRef in Element format.
        Parameters:
        element - A Element representing DOM tree for AssertionIDRef object
        Throws:
        SAML2Exception - if it could not process the Element
      • AssertionIDRefImpl

        public AssertionIDRefImpl​(String xmlString)
                           throws SAML2Exception
        Class constructor with AssertionIDRef in xml string format.
        Parameters:
        xmlString - A String representing a AssertionIDRef object
        Throws:
        SAML2Exception - if it could not process the XML string
    • Method Detail

      • isMutable

        public boolean isMutable()
        Returns the mutability of the object.
        Specified by:
        isMutable in interface AssertionIDRef
        Returns:
        true if the object is mutable; false otherwise.
      • toXMLString

        public String toXMLString()
                           throws SAML2Exception
        Returns a String representation of the element.
        Specified by:
        toXMLString in interface AssertionIDRef
        Returns:
        A string containing the valid XML for this element. By default name space name is prepended to the element name.
        Throws:
        SAML2Exception - if the object does not conform to the schema.
      • toXMLString

        public String toXMLString​(boolean includeNS,
                                  boolean declareNS)
                           throws SAML2Exception
        Returns a String representation of the element.
        Specified by:
        toXMLString in interface AssertionIDRef
        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 containing the valid XML for this element
        Throws:
        SAML2Exception - if the object does not conform to the schema.