Class SubjectQueryImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml1.core.impl.SubjectQueryImpl
All Implemented Interfaces:
XMLObject, SAMLObject, Query, SubjectQuery
Direct Known Subclasses:
AttributeQueryImpl, AuthenticationQueryImpl, AuthorizationDecisionQueryImpl

public abstract class SubjectQueryImpl extends AbstractXMLObject implements SubjectQuery
Concrete (but abstract) implementation of SubjectQuery abstract type.
  • Field Details

    • subject

      private Subject subject
      Contains the Subject subelement.
  • Constructor Details

    • SubjectQueryImpl

      protected SubjectQueryImpl(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.
      Specified by:
      getSubject in interface SubjectQuery
      Returns:
      the subject
    • setSubject

      public void setSubject(Subject sub)
      Set the subject.
      Specified by:
      setSubject in interface SubjectQuery
      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