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:
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 ofRequestType.
-
-
Field Summary
Fields Modifier and Type Field Description private org.opensaml.xacml.ctx.ActionTypeactionThe action of the request.private org.opensaml.xacml.ctx.EnvironmentTypeenvironmentThe environment of the request.private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.xacml.ctx.ResourceType>resourcesThe resources of the request.private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.xacml.ctx.SubjectType>subjectsThe subjects of the request.
-
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 org.opensaml.xacml.ctx.ActionTypegetAction()org.opensaml.xacml.ctx.EnvironmentTypegetEnvironment()List<org.opensaml.core.xml.XMLObject>getOrderedChildren()List<org.opensaml.xacml.ctx.ResourceType>getResources()List<org.opensaml.xacml.ctx.SubjectType>getSubjects()voidsetAction(org.opensaml.xacml.ctx.ActionType act)voidsetEnvironment(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 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 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 inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getSubjects
public List<org.opensaml.xacml.ctx.SubjectType> getSubjects()
- Specified by:
getSubjectsin interfaceorg.opensaml.xacml.ctx.RequestType
-
getResources
public List<org.opensaml.xacml.ctx.ResourceType> getResources()
- Specified by:
getResourcesin interfaceorg.opensaml.xacml.ctx.RequestType
-
getEnvironment
public org.opensaml.xacml.ctx.EnvironmentType getEnvironment()
- Specified by:
getEnvironmentin interfaceorg.opensaml.xacml.ctx.RequestType
-
setEnvironment
public void setEnvironment(org.opensaml.xacml.ctx.EnvironmentType env)
- Specified by:
setEnvironmentin interfaceorg.opensaml.xacml.ctx.RequestType
-
getAction
public org.opensaml.xacml.ctx.ActionType getAction()
- Specified by:
getActionin interfaceorg.opensaml.xacml.ctx.RequestType
-
setAction
public void setAction(org.opensaml.xacml.ctx.ActionType act)
- Specified by:
setActionin interfaceorg.opensaml.xacml.ctx.RequestType
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
-