Package org.opensaml.xacml.ctx.impl
Class RequestTypeImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xacml.impl.AbstractXACMLObject
-
- org.opensaml.xacml.ctx.impl.RequestTypeImpl
-
- All Implemented Interfaces:
XMLObject,RequestType,XACMLObject
public class RequestTypeImpl extends AbstractXACMLObject implements RequestType
Concrete implementation ofRequestType.
-
-
Field Summary
Fields Modifier and Type Field Description private ActionTypeactionThe action of the request.private EnvironmentTypeenvironmentThe environment of the request.private XMLObjectChildrenList<ResourceType>resourcesThe resources of the request.private XMLObjectChildrenList<SubjectType>subjectsThe 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 protectedRequestTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionTypegetAction()EnvironmentTypegetEnvironment()List<XMLObject>getOrderedChildren()List<ResourceType>getResources()List<SubjectType>getSubjects()voidsetAction(ActionType act)voidsetEnvironment(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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 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 inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getSubjects
public List<SubjectType> getSubjects()
- Specified by:
getSubjectsin interfaceRequestType
-
getResources
public List<ResourceType> getResources()
- Specified by:
getResourcesin interfaceRequestType
-
getEnvironment
public EnvironmentType getEnvironment()
- Specified by:
getEnvironmentin interfaceRequestType
-
setEnvironment
public void setEnvironment(EnvironmentType env)
- Specified by:
setEnvironmentin interfaceRequestType
-
getAction
public ActionType getAction()
- Specified by:
getActionin interfaceRequestType
-
setAction
public void setAction(ActionType act)
- Specified by:
setActionin interfaceRequestType
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-