Class RequestTypeImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.xacml.ctx.RequestType, org.opensaml.xacml.XACMLObject

    public class RequestTypeImpl
    extends AbstractXACMLObject
    implements org.opensaml.xacml.ctx.RequestType
    Concrete implementation of RequestType.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.xacml.ctx.ActionType action
      The action of the request.
      private org.opensaml.xacml.ctx.EnvironmentType environment
      The environment of the request.
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.xacml.ctx.ResourceType> resources
      The resources of the request.
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.xacml.ctx.SubjectType> subjects
      The subjects of the request.
      • Fields inherited from interface org.opensaml.xacml.ctx.RequestType

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opensaml.xacml.ctx.ActionType getAction()
      org.opensaml.xacml.ctx.EnvironmentType getEnvironment()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      List<org.opensaml.xacml.ctx.ResourceType> getResources()
      List<org.opensaml.xacml.ctx.SubjectType> getSubjects()
      void setAction​(org.opensaml.xacml.ctx.ActionType act)
      void setEnvironment​(org.opensaml.xacml.ctx.EnvironmentType env)
      • 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.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

      • subjects

        private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.xacml.ctx.SubjectType> subjects
        The subjects of the request.
      • resources

        private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.xacml.ctx.ResourceType> resources
        The resources of the request.
      • environment

        private org.opensaml.xacml.ctx.EnvironmentType environment
        The environment of the request.
      • action

        private org.opensaml.xacml.ctx.ActionType action
        The action of the request.
    • Constructor Detail

      • RequestTypeImpl

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

      • getSubjects

        public List<org.opensaml.xacml.ctx.SubjectType> getSubjects()
        Specified by:
        getSubjects in interface org.opensaml.xacml.ctx.RequestType
      • getResources

        public List<org.opensaml.xacml.ctx.ResourceType> getResources()
        Specified by:
        getResources in interface org.opensaml.xacml.ctx.RequestType
      • getEnvironment

        public org.opensaml.xacml.ctx.EnvironmentType getEnvironment()
        Specified by:
        getEnvironment in interface org.opensaml.xacml.ctx.RequestType
      • setEnvironment

        public void setEnvironment​(org.opensaml.xacml.ctx.EnvironmentType env)
        Specified by:
        setEnvironment in interface org.opensaml.xacml.ctx.RequestType
      • getAction

        public org.opensaml.xacml.ctx.ActionType getAction()
        Specified by:
        getAction in interface org.opensaml.xacml.ctx.RequestType
      • setAction

        public void setAction​(org.opensaml.xacml.ctx.ActionType act)
        Specified by:
        setAction in interface org.opensaml.xacml.ctx.RequestType
      • getOrderedChildren

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