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
Implementing
TargetType
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ActionsType
The actions in the policy.private EnvironmentsType
The environments in the policy.private ResourcesType
The resourcese in the policy.private SubjectsType
The 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
ConstructorsModifierConstructorDescriptionprotected
TargetTypeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the actions of this target.Gets the environments of this target.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the resources of this target.Gets the subjects of this target.void
setActions
(ActionsType newActions) Sets the actions in the target.void
setEnvironments
(EnvironmentsType newEnvironments) Sets the environments in the target.void
setResources
(ResourcesType newResources) Sets the resources in the target.void
setSubjects
(SubjectsType newSubjects) Sets the subjects in the target.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 Details
-
actions
The actions in the policy. -
environments
The environments in the policy. -
subjects
The subjects in the policy. -
resources
The resourcese in the policy.
-
-
Constructor Details
-
TargetTypeImpl
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 Details
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-
getSubjects
Gets the subjects of this target.- Specified by:
getSubjects
in interfaceTargetType
- Returns:
- subjects of this target
-
getResources
Gets the resources of this target.- Specified by:
getResources
in interfaceTargetType
- Returns:
- resources of this target
-
getActions
Gets the actions of this target.- Specified by:
getActions
in interfaceTargetType
- Returns:
- actions of this target
-
getEnvironments
Gets the environments of this target.- Specified by:
getEnvironments
in interfaceTargetType
- Returns:
- environments of this target
-
setActions
Sets the actions in the target.- Specified by:
setActions
in interfaceTargetType
- Parameters:
newActions
- the subject in the target
-
setEnvironments
Sets the environments in the target.- Specified by:
setEnvironments
in interfaceTargetType
- Parameters:
newEnvironments
- the subject in the target
-
setResources
Sets the resources in the target.- Specified by:
setResources
in interfaceTargetType
- Parameters:
newResources
- the subject in the target
-
setSubjects
Sets the subjects in the target.- Specified by:
setSubjects
in interfaceTargetType
- Parameters:
newSubjects
- the subject in the target
-