Class StatusCodeImpl

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

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

    • value

      private String value
      Value attribute URI.
    • childStatusCode

      private StatusCode childStatusCode
      Nested secondary StatusCode child element.
  • Constructor Details

    • StatusCodeImpl

      protected StatusCodeImpl​(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

    • getStatusCode

      public StatusCode getStatusCode()
      Gets the Status Code of this Status Code.
      Specified by:
      getStatusCode in interface StatusCode
      Returns:
      StatusCode StatusCode
    • setStatusCode

      public void setStatusCode​(StatusCode newStatusCode)
      Sets the Status Code of this Status Code.
      Specified by:
      setStatusCode in interface StatusCode
      Parameters:
      newStatusCode - the Status Code of this Status Code.
    • getValue

      public String getValue()
      Gets the Value of this Status Code.
      Specified by:
      getValue in interface StatusCode
      Returns:
      StatusCode Value
    • setValue

      public void setValue​(String newValue)
      Sets the Value of this Status Code.
      Specified by:
      setValue in interface StatusCode
      Parameters:
      newValue - the Value of this Status Code
    • 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