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 ActionsTypeThe actions in the policy.private EnvironmentsTypeThe environments in the policy.private ResourcesTypeThe resourcese in the policy.private SubjectsTypeThe 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
ConstructorsModifierConstructorDescriptionprotectedTargetTypeImpl(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.voidsetActions(ActionsType newActions) Sets the actions in the target.voidsetEnvironments(EnvironmentsType newEnvironments) Sets the environments in the target.voidsetResources(ResourcesType newResources) Sets the resources in the target.voidsetSubjects(SubjectsType newSubjects) Sets the subjects in the target.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-
getSubjects
Gets the subjects of this target.- Specified by:
getSubjectsin interfaceTargetType- Returns:
- subjects of this target
-
getResources
Gets the resources of this target.- Specified by:
getResourcesin interfaceTargetType- Returns:
- resources of this target
-
getActions
Gets the actions of this target.- Specified by:
getActionsin interfaceTargetType- Returns:
- actions of this target
-
getEnvironments
Gets the environments of this target.- Specified by:
getEnvironmentsin interfaceTargetType- Returns:
- environments of this target
-
setActions
Sets the actions in the target.- Specified by:
setActionsin interfaceTargetType- Parameters:
newActions- the subject in the target
-
setEnvironments
Sets the environments in the target.- Specified by:
setEnvironmentsin interfaceTargetType- Parameters:
newEnvironments- the subject in the target
-
setResources
Sets the resources in the target.- Specified by:
setResourcesin interfaceTargetType- Parameters:
newResources- the subject in the target
-
setSubjects
Sets the subjects in the target.- Specified by:
setSubjectsin interfaceTargetType- Parameters:
newSubjects- the subject in the target
-