Class StatusCodeImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml1.core.impl.StatusCodeImpl
All Implemented Interfaces:
XMLObject, SAMLObject, StatusCode

public class StatusCodeImpl extends AbstractXMLObject implements StatusCode
Concrete implementation of StatusCode.
  • Field Details

    • value

      @Nullable private QName value
      Contents of the Value attribute.
    • childStatusCode

      @Nullable private StatusCode childStatusCode
      The child StatusCode sub element.
  • Constructor Details

    • StatusCodeImpl

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

    • getValue

      @Nullable public QName getValue()
      Gets the value of the status code.
      Specified by:
      getValue in interface StatusCode
      Returns:
      value of the status code
    • setValue

      public void setValue(@Nullable QName newValue)
      Sets the value of the status code.
      Specified by:
      setValue in interface StatusCode
      Parameters:
      newValue - value of the status code
    • getStatusCode

      @Nullable public StatusCode getStatusCode()
      Gets the second level status code.
      Specified by:
      getStatusCode in interface StatusCode
      Returns:
      second level status code
    • setStatusCode

      public void setStatusCode(@Nullable StatusCode statusCode)
      Sets the second level status code.
      Specified by:
      setStatusCode in interface StatusCode
      Parameters:
      statusCode - second level status code
    • getOrderedChildren

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