Class StatusImpl

All Implemented Interfaces:
XMLObject, Status, WSTrustObject

public class StatusImpl
extends AbstractWSTrustObject
implements Status
StatusImpl.
  • Field Details

    • code

      private Code code
      The Code child element.
    • reason

      private Reason reason
      The Reason child element.
  • Constructor Details

    • StatusImpl

      public StatusImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - The namespace of the element
      elementLocalName - The local name of the element
      namespacePrefix - The namespace prefix of the element
  • Method Details

    • getCode

      public Code getCode()
      Returns the wst:Code child element.
      Specified by:
      getCode in interface Status
      Returns:
      the Code child element or null
    • getReason

      public Reason getReason()
      Returns the wst:Reason child element.
      Specified by:
      getReason in interface Status
      Returns:
      the Reason child element or null.
    • setCode

      public void setCode​(Code newCode)
      Sets the wst:Code child element.
      Specified by:
      setCode in interface Status
      Parameters:
      newCode - the Code child element to set.
    • setReason

      public void setReason​(Reason newReason)
      Sets the wst:Reason child element.
      Specified by:
      setReason in interface Status
      Parameters:
      newReason - the Reason child element 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
      Returns:
      ordered list of child elements