Class StatusImpl

All Implemented Interfaces:
XMLObject, Status, WSTrustObject

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

    • code

      @Nullable private Code code
      The Code child element.
    • reason

      @Nullable private Reason reason
      The Reason child element.
  • Constructor Details

    • StatusImpl

      public StatusImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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

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

      @Nullable 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(@Nullable 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(@Nullable Reason newReason)
      Sets the wst:Reason child element.
      Specified by:
      setReason in interface Status
      Parameters:
      newReason - the Reason child element to set.
    • getOrderedChildren

      @Nullable 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