Class AttributeQueryImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.saml1.core.AttributeQuery, org.opensaml.saml.saml1.core.Query, org.opensaml.saml.saml1.core.SubjectQuery

    public class AttributeQueryImpl
    extends SubjectQueryImpl
    implements org.opensaml.saml.saml1.core.AttributeQuery
    Concrete implementation of the AttributeQuery interface.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml1.core.AttributeDesignator> attributeDesignators
      Contains all the child AttributeDesignators.
      private String resource
      Contains the resource attribute.
      • Fields inherited from interface org.opensaml.saml.saml1.core.AttributeQuery

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, RESOURCE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
      • Fields inherited from interface org.opensaml.saml.saml1.core.SubjectQuery

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AttributeQueryImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.opensaml.saml.saml1.core.AttributeDesignator> getAttributeDesignators()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getResource()
      void setResource​(String res)
      • Methods inherited from class org.opensaml.core.xml.AbstractXMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
      • Methods inherited from interface org.opensaml.saml.saml1.core.SubjectQuery

        getSubject, setSubject
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • resource

        private String resource
        Contains the resource attribute.
      • attributeDesignators

        private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml1.core.AttributeDesignator> attributeDesignators
        Contains all the child AttributeDesignators.
    • Constructor Detail

      • AttributeQueryImpl

        protected AttributeQueryImpl​(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 Detail

      • getResource

        public String getResource()
        Specified by:
        getResource in interface org.opensaml.saml.saml1.core.AttributeQuery
      • setResource

        public void setResource​(String res)
        Specified by:
        setResource in interface org.opensaml.saml.saml1.core.AttributeQuery
      • getAttributeDesignators

        public List<org.opensaml.saml.saml1.core.AttributeDesignator> getAttributeDesignators()
        Specified by:
        getAttributeDesignators in interface org.opensaml.saml.saml1.core.AttributeQuery
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject
        Overrides:
        getOrderedChildren in class SubjectQueryImpl