org.opensaml.xacml.ctx.impl
Class RequestTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xacml.impl.AbstractXACMLObject
              extended by org.opensaml.xacml.ctx.impl.RequestTypeImpl
All Implemented Interfaces:
RequestType, XACMLObject, ValidatingXMLObject, XMLObject

public class RequestTypeImpl
extends AbstractXACMLObject
implements RequestType

Concrete implementation of RequestType.


Field Summary
private  ActionType action
          The action of the request.
private  EnvironmentType environment
          The environment of the request.
private  XMLObjectChildrenList<ResourceType> resources
          The resources of the request.
private  XMLObjectChildrenList<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
protected RequestTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 ActionType getAction()
          Gets the action from the request.
 EnvironmentType getEnvironment()
          Gets the environment from the request.
 List<XMLObject> getOrderedChildren()
          
 List<ResourceType> getResources()
          Gets the resources from the request.
 List<SubjectType> getSubjects()
          Gets the subjects from the request.
 void setAction(ActionType action)
          Sets the action of the request.
 void setEnvironment(EnvironmentType environment)
          Sets the environment of the request.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

subjects

private XMLObjectChildrenList<SubjectType> subjects
The subjects of the request.


resources

private XMLObjectChildrenList<ResourceType> resources
The resources of the request.


environment

private EnvironmentType environment
The environment of the request.


action

private 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<SubjectType> getSubjects()
Gets the subjects from the request.

Specified by:
getSubjects in interface RequestType
Returns:
the subjects from the request

getResources

public List<ResourceType> getResources()
Gets the resources from the request.

Specified by:
getResources in interface RequestType
Returns:
the resources from the request

getEnvironment

public EnvironmentType getEnvironment()
Gets the environment from the request.

Specified by:
getEnvironment in interface RequestType
Returns:
the environment from the request

setEnvironment

public void setEnvironment(EnvironmentType environment)
Sets the environment of the request.

Specified by:
setEnvironment in interface RequestType
Parameters:
environment - environment of the request

getAction

public ActionType getAction()
Gets the action from the request.

Specified by:
getAction in interface RequestType
Returns:
the action from the request

setAction

public void setAction(ActionType action)
Sets the action of the request.

Specified by:
setAction in interface RequestType
Parameters:
action - action of the request

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.