Package org.opensaml.xacml.policy.impl
Class TargetTypeImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xacml.impl.AbstractXACMLObject
-
- org.opensaml.xacml.policy.impl.TargetTypeImpl
-
- All Implemented Interfaces:
XMLObject,TargetType,XACMLObject
public class TargetTypeImpl extends AbstractXACMLObject implements TargetType
ImplementingTargetType.
-
-
Field Summary
Fields Modifier and Type Field Description private ActionsTypeactionsThe actions in the policy.private EnvironmentsTypeenvironmentsThe environments in the policy.private ResourcesTyperesourcesThe resourcese in the policy.private SubjectsTypesubjectsThe subjects in the policy.-
Fields inherited from interface org.opensaml.xacml.policy.TargetType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTargetTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionsTypegetActions()EnvironmentsTypegetEnvironments()List<XMLObject>getOrderedChildren()ResourcesTypegetResources()SubjectsTypegetSubjects()voidsetActions(ActionsType newActions)voidsetEnvironments(EnvironmentsType newEnvironments)voidsetResources(ResourcesType newResources)voidsetSubjects(SubjectsType newSubjects)-
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
-
actions
private ActionsType actions
The actions in the policy.
-
environments
private EnvironmentsType environments
The environments in the policy.
-
subjects
private SubjectsType subjects
The subjects in the policy.
-
resources
private ResourcesType resources
The resourcese in the policy.
-
-
Constructor Detail
-
TargetTypeImpl
protected TargetTypeImpl(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
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
getSubjects
public SubjectsType getSubjects()
- Specified by:
getSubjectsin interfaceTargetType
-
getResources
public ResourcesType getResources()
- Specified by:
getResourcesin interfaceTargetType
-
getActions
public ActionsType getActions()
- Specified by:
getActionsin interfaceTargetType
-
getEnvironments
public EnvironmentsType getEnvironments()
- Specified by:
getEnvironmentsin interfaceTargetType
-
setActions
public void setActions(ActionsType newActions)
- Specified by:
setActionsin interfaceTargetType
-
setEnvironments
public void setEnvironments(EnvironmentsType newEnvironments)
- Specified by:
setEnvironmentsin interfaceTargetType
-
setResources
public void setResources(ResourcesType newResources)
- Specified by:
setResourcesin interfaceTargetType
-
setSubjects
public void setSubjects(SubjectsType newSubjects)
- Specified by:
setSubjectsin interfaceTargetType
-
-