Class StatusImpl

All Implemented Interfaces:
XMLObject, Status, WSTrustObject

public class StatusImpl extends AbstractWSTrustObject implements Status
  • 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)
      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
      the Code child element or null
    • getReason

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

      public void setCode(Code newCode)
      Sets the wst:Code child element.
      Specified by:
      setCode in interface Status
      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
      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
      ordered list of child elements