Class SubjectStatementImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml1.core.impl.SubjectStatementImpl
All Implemented Interfaces:
XMLObject, SAMLObject, Statement, SubjectStatement
Direct Known Subclasses:
AttributeStatementImpl, AuthenticationStatementImpl, AuthorizationDecisionStatementImpl

public abstract class SubjectStatementImpl extends AbstractXMLObject implements SubjectStatement
Abstract type to implement SubjectStatementType.
  • Field Details

    • subject

      private Subject subject
      Contains the Subject subelement.
  • Constructor Details

    • SubjectStatementImpl

      protected SubjectStatementImpl(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

    • getSubject

      public Subject getSubject()
      Get the Subject of the statement.
      Specified by:
      getSubject in interface SubjectStatement
      Returns:
      the Subject
    • setSubject

      public void setSubject(Subject sub)
      Set the Subject of the statement.
      Specified by:
      setSubject in interface SubjectStatement
      Parameters:
      sub - the Subject
    • 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