Package org.opensaml.xacml.policy.impl
Class AttributeDesignatorTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.impl.AbstractXACMLObject
org.opensaml.xacml.policy.impl.AttributeDesignatorTypeImpl
- All Implemented Interfaces:
XMLObject,AttributeDesignatorType,ExpressionType,XACMLObject
- Direct Known Subclasses:
SubjectAttributeDesignatorTypeImpl
public class AttributeDesignatorTypeImpl
extends AbstractXACMLObject
implements AttributeDesignatorType
Implementation of
AttributeDesignatorType.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringAttribute Id.private StringDatatype.private StringIssuer.private XSBooleanValueMust be present.Fields inherited from interface org.opensaml.xacml.policy.AttributeDesignatorType
ACTION_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME, ACTION_ATTRIBUTE_DESIGNATOR_ELEMENT_NAME, ATTRIBUTE_ID_ATTRIB_NAME, DATA_TYPE_ATTRIB_NAME, ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME, ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_NAME, ISSUER_ATTRIB_NAME, MUST_BE_PRESENT_ATTRIB_NAME, RESOURCE_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME, RESOURCE_ATTRIBUTE_DESIGNATOR_ELEMENT_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME, SUBJECT_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME, SUBJECT_ATTRIBUTE_DESIGNATOR_ELEMENT_NAMEFields inherited from interface org.opensaml.xacml.policy.ExpressionType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME_XACML20 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttributeDesignatorTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the ID of the designated attribute.Gets the data type of the designated attribute.Gets the issuer of the designated attribute.Gets whether the designated attribute must be present.Gets whether the designated attribute must be present.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.voidsetAttributeId(String id) Sets the ID of the designated attribute.voidsetDataType(String type) Sets the data type of the designated attribute.voidSets the issuer of the designated attribute.voidsetMustBePresent(Boolean present) Sets whether the designated attribute must be present.voidsetMustBePresentXSBoolean(XSBooleanValue present) Sets whether the designated attribute must be present.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
-
attributeId
Attribute Id. -
dataType
Datatype. -
issuer
Issuer. -
mustBePresentXS
Must be present.
-
-
Constructor Details
-
AttributeDesignatorTypeImpl
protected AttributeDesignatorTypeImpl(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
-
getAttributeId
Gets the ID of the designated attribute.- Specified by:
getAttributeIdin interfaceAttributeDesignatorType- Returns:
- ID of the designated attribute
-
getDataType
Gets the data type of the designated attribute.- Specified by:
getDataTypein interfaceAttributeDesignatorType- Returns:
- data type of the designated attribute
-
getIssuer
Gets the issuer of the designated attribute.- Specified by:
getIssuerin interfaceAttributeDesignatorType- Returns:
- issuer of the designated attribute
-
getMustBePresentXSBoolean
Gets whether the designated attribute must be present.- Specified by:
getMustBePresentXSBooleanin interfaceAttributeDesignatorType- Returns:
- whether the designated attribute must be present
-
getMustBePresent
Gets whether the designated attribute must be present.- Specified by:
getMustBePresentin interfaceAttributeDesignatorType- Returns:
- whether the designated attribute must be present
-
setAttributeId
Sets the ID of the designated attribute.- Specified by:
setAttributeIdin interfaceAttributeDesignatorType- Parameters:
id- ID of the designated attribute
-
setDataType
Sets the data type of the designated attribute.- Specified by:
setDataTypein interfaceAttributeDesignatorType- Parameters:
type- data type of the designated attribute
-
setIssuer
Sets the issuer of the designated attribute.- Specified by:
setIssuerin interfaceAttributeDesignatorType- Parameters:
newIssuer- issuer of the designated attribute
-
setMustBePresentXSBoolean
Sets whether the designated attribute must be present.- Specified by:
setMustBePresentXSBooleanin interfaceAttributeDesignatorType- Parameters:
present- whether the designated attribute must be present
-
setMustBePresent
Sets whether the designated attribute must be present.- Specified by:
setMustBePresentin interfaceAttributeDesignatorType- Parameters:
present- whether the designated attribute must be present
-
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
-