org.opensaml.xacml.policy.impl
Class AttributeSelectorTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xacml.policy.impl.AttributeSelectorTypeImpl
All Implemented Interfaces:
AttributeSelectorType, ExpressionType, XACMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class AttributeSelectorTypeImpl
extends org.opensaml.xml.validation.AbstractValidatingXMLObject
implements AttributeSelectorType

Implementation AttributeSelectorType.


Field Summary
 
Fields inherited from interface org.opensaml.xacml.policy.AttributeSelectorType
DATA_TYPE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, MUST_BE_PRESENT_ATTRIB_NAME, REQUEST_CONTEXT_PATH_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME
 
Fields inherited from interface org.opensaml.xacml.policy.ExpressionType
DEFAULT_ELEMENT_NAME_XACML20
 
Constructor Summary
protected AttributeSelectorTypeImpl(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
          Constructor.
 
Method Summary
 java.lang.String getDataType()
          Gets the data type of the attribute to be selected.
 java.lang.Boolean getMustBePresent()
          Gets whether the attribute to be selected must be present.
 org.opensaml.xml.schema.XSBooleanValue getMustBePresentXSBoolean()
          Gets whether the attribute to be selected must be present.
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 java.lang.String getRequestContextPath()
          Gets the request context path of the attribute to be selected.
 void setDataType(java.lang.String type)
          Sets the data type of the attribute to be selected.
 void setMustBePresent(java.lang.Boolean present)
          Sets whether the attribute to be selected must be present.
 void setMustBePresentXSBoolean(org.opensaml.xml.schema.XSBooleanValue present)
          Sets whether the attribute to be selected must be present.
 void setRequestContextPath(java.lang.String path)
          Sets the request context path of the attribute to be selected.
 
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, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, 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, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

AttributeSelectorTypeImpl

protected AttributeSelectorTypeImpl(java.lang.String namespaceURI,
                                    java.lang.String elementLocalName,
                                    java.lang.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

getDataType

public java.lang.String getDataType()
Gets the data type of the attribute to be selected.

Specified by:
getDataType in interface AttributeSelectorType
Returns:
data type of the attribute to be selected

getMustBePresent

public java.lang.Boolean getMustBePresent()
Gets whether the attribute to be selected must be present.

Specified by:
getMustBePresent in interface AttributeSelectorType
Returns:
whether the attribute to be selected must be present

getMustBePresentXSBoolean

public org.opensaml.xml.schema.XSBooleanValue getMustBePresentXSBoolean()
Gets whether the attribute to be selected must be present.

Specified by:
getMustBePresentXSBoolean in interface AttributeSelectorType
Returns:
whether the attribute to be selected must be present

getRequestContextPath

public java.lang.String getRequestContextPath()
Gets the request context path of the attribute to be selected.

Specified by:
getRequestContextPath in interface AttributeSelectorType
Returns:
request context path of the attribute to be selected

setDataType

public void setDataType(java.lang.String type)
Sets the data type of the attribute to be selected.

Specified by:
setDataType in interface AttributeSelectorType
Parameters:
type - data type of the attribute to be selected

setMustBePresentXSBoolean

public void setMustBePresentXSBoolean(org.opensaml.xml.schema.XSBooleanValue present)
Sets whether the attribute to be selected must be present.

Specified by:
setMustBePresentXSBoolean in interface AttributeSelectorType
Parameters:
present - whether the attribute to be selected must be present

setMustBePresent

public void setMustBePresent(java.lang.Boolean present)
Sets whether the attribute to be selected must be present.

Specified by:
setMustBePresent in interface AttributeSelectorType
Parameters:
present - whether the attribute to be selected must be present

setRequestContextPath

public void setRequestContextPath(java.lang.String path)
Sets the request context path of the attribute to be selected.

Specified by:
setRequestContextPath in interface AttributeSelectorType
Parameters:
path - request context path of the attribute to be selected

getOrderedChildren

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

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


Copyright © 2006-2012 Internet2. All Rights Reserved.