Package org.opensaml.xacml.policy.impl
Class AttributeSelectorTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.impl.AbstractXACMLObject
org.opensaml.xacml.policy.impl.AttributeSelectorTypeImpl
- All Implemented Interfaces:
XMLObject,AttributeSelectorType,ExpressionType,XACMLObject
Implementation
AttributeSelectorType.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringDatatype.private XSBooleanValueMust be present.private StringIssuer.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_NAMEFields inherited from interface org.opensaml.xacml.policy.ExpressionType
DEFAULT_ELEMENT_NAME_XACML20 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttributeSelectorTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the data type of the attribute to be selected.Gets whether the attribute to be selected must be present.Gets whether the attribute to be selected must be present.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the request context path of the attribute to be selected.voidsetDataType(String type) Sets the data type of the attribute to be selected.voidsetMustBePresent(Boolean present) Sets whether the attribute to be selected must be present.voidsetMustBePresentXSBoolean(XSBooleanValue present) Sets whether the attribute to be selected must be present.voidsetRequestContextPath(String path) Sets the request context path of the attribute to be selected.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
-
dataType
Datatype. -
requestContextPath
Issuer. -
mustBePresentXS
Must be present. Default = false.
-
-
Constructor Details
-
AttributeSelectorTypeImpl
protected AttributeSelectorTypeImpl(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 Details
-
getDataType
Gets the data type of the attribute to be selected.- Specified by:
getDataTypein interfaceAttributeSelectorType- Returns:
- data type of the attribute to be selected
-
getMustBePresent
Gets whether the attribute to be selected must be present.- Specified by:
getMustBePresentin interfaceAttributeSelectorType- Returns:
- whether the attribute to be selected must be present
-
getMustBePresentXSBoolean
Gets whether the attribute to be selected must be present.- Specified by:
getMustBePresentXSBooleanin interfaceAttributeSelectorType- Returns:
- whether the attribute to be selected must be present
-
getRequestContextPath
Gets the request context path of the attribute to be selected.- Specified by:
getRequestContextPathin interfaceAttributeSelectorType- Returns:
- request context path of the attribute to be selected
-
setDataType
Sets the data type of the attribute to be selected.- Specified by:
setDataTypein interfaceAttributeSelectorType- Parameters:
type- data type of the attribute to be selected
-
setMustBePresentXSBoolean
Sets whether the attribute to be selected must be present.- Specified by:
setMustBePresentXSBooleanin interfaceAttributeSelectorType- Parameters:
present- whether the attribute to be selected must be present
-
setMustBePresent
Sets whether the attribute to be selected must be present.- Specified by:
setMustBePresentin interfaceAttributeSelectorType- Parameters:
present- whether the attribute to be selected must be present
-
setRequestContextPath
Sets the request context path of the attribute to be selected.- Specified by:
setRequestContextPathin interfaceAttributeSelectorType- Parameters:
path- request context path of the attribute to be selected
-
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
-