Class RequestTypeImpl

All Implemented Interfaces:
XMLObject, RequestType, XACMLObject

public class RequestTypeImpl extends AbstractXACMLObject implements RequestType
Concrete implementation of RequestType.
  • Field Details

  • Constructor Details

    • RequestTypeImpl

      protected RequestTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      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

    • getSubjects

      public List<SubjectType> getSubjects()
      Gets the subjects from the request.
      Specified by:
      getSubjects in interface RequestType
      the subjects from the request
    • getResources

      public List<ResourceType> getResources()
      Gets the resources from the request.
      Specified by:
      getResources in interface RequestType
      the resources from the request
    • getEnvironment

      public EnvironmentType getEnvironment()
      Gets the environment from the request.
      Specified by:
      getEnvironment in interface RequestType
      the environment from the request
    • setEnvironment

      public void setEnvironment(EnvironmentType env)
      Sets the environment of the request.
      Specified by:
      setEnvironment in interface RequestType
      env - environment of the request
    • getAction

      public ActionType getAction()
      Gets the action from the request.
      Specified by:
      getAction in interface RequestType
      the action from the request
    • setAction

      public void setAction(ActionType act)
      Sets the action of the request.
      Specified by:
      setAction in interface RequestType
      act - action of the request
    • 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
      ordered list of child elements