org.opensaml.xacml.policy.impl
Class TargetTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xacml.impl.AbstractXACMLObject
              extended by org.opensaml.xacml.policy.impl.TargetTypeImpl
All Implemented Interfaces:
TargetType, XACMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class TargetTypeImpl
extends AbstractXACMLObject
implements TargetType

Implementing TargetType.


Field Summary
 
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
protected TargetTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 ActionsType getActions()
          Gets the actions of this target.
 EnvironmentsType getEnvironments()
          Gets the environments of this target.
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 ResourcesType getResources()
          Gets the resources of this target.
 SubjectsType getSubjects()
          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.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, 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.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

TargetTypeImpl

protected TargetTypeImpl(String namespaceURI,
                         String elementLocalName,
                         String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getOrderedChildren

public List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject

getSubjects

public SubjectsType getSubjects()
Gets the subjects of this target.

Specified by:
getSubjects in interface TargetType
Returns:
subjects of this target

getResources

public ResourcesType getResources()
Gets the resources of this target.

Specified by:
getResources in interface TargetType
Returns:
resources of this target

getActions

public ActionsType getActions()
Gets the actions of this target.

Specified by:
getActions in interface TargetType
Returns:
actions of this target

getEnvironments

public EnvironmentsType getEnvironments()
Gets the environments of this target.

Specified by:
getEnvironments in interface TargetType
Returns:
environments of this target

setActions

public void setActions(ActionsType newActions)
Sets the actions in the target.

Specified by:
setActions in interface TargetType
Parameters:
newActions - the subject in the target

setEnvironments

public void setEnvironments(EnvironmentsType newEnvironments)
Sets the environments in the target.

Specified by:
setEnvironments in interface TargetType
Parameters:
newEnvironments - the subject in the target

setResources

public void setResources(ResourcesType newResources)
Sets the resources in the target.

Specified by:
setResources in interface TargetType
Parameters:
newResources - the subject in the target

setSubjects

public void setSubjects(SubjectsType newSubjects)
Sets the subjects in the target.

Specified by:
setSubjects in interface TargetType
Parameters:
newSubjects - the subject in the target


Copyright © 2006-2011 Internet2. All Rights Reserved.