Class ResponseImpl

All Implemented Interfaces:
XMLObject, SAMLObject, SignableSAMLObject, Response, ResponseAbstractType, SignableXMLObject

public class ResponseImpl extends ResponseAbstractTypeImpl implements Response
Implementation of the Response Object.
  • Field Details

  • Constructor Details

    • ResponseImpl

      protected ResponseImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getAssertions

      public List<Assertion> getAssertions()
      Return the objects representing the Assertion (element).
      Specified by:
      getAssertions in interface Response
      Returns:
      the Assertion objects
    • getStatus

      public Status getStatus()
      Return the object representing the Status (element).
      Specified by:
      getStatus in interface Response
      Returns:
      the Status
    • setStatus

      public void setStatus(Status s)
      Set the object representing the Status (element).
      Specified by:
      setStatus in interface Response
      Parameters:
      s - what to set
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Overrides:
      getOrderedChildren in class ResponseAbstractTypeImpl
      Returns:
      ordered list of child elements