Package org.opensaml.xacml.ctx.impl
Class AttributeTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.impl.AbstractXACMLObject
org.opensaml.xacml.ctx.impl.AttributeTypeImpl
- All Implemented Interfaces:
XMLObject,AttributeType,XACMLObject
Concrete implementation of
AttributeType.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringAttributeID of the attribute.private final XMLObjectChildrenList<AttributeValueType>List of values for this attribute.private StringDatatype of the attribute.private StringIssuer of the attribute.Fields inherited from interface org.opensaml.xacml.ctx.AttributeType
ATTRIBUTEID_ATTTRIB_NAME, DATATYPE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ISSUER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttributeTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongets the AttributeId.Gets the list of attribute values for this attribute.Get the datatype of the attribute.Gets the issuer of the attribute.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.voidsetAttributeID(String attributeId) Sets the AttributeId.voidsetDataType(String type) Sets the datatype of the attribute.voidSets the issuer of the attribute.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
-
issuer
Issuer of the attribute. -
attributeID
AttributeID of the attribute. -
datatype
Datatype of the attribute. -
attributeValues
List of values for this attribute.
-
-
Constructor Details
-
AttributeTypeImpl
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 AttributeId.- Specified by:
getAttributeIdin interfaceAttributeType- Returns:
- the AttributeId
-
getDataType
Get the datatype of the attribute.- Specified by:
getDataTypein interfaceAttributeType- Returns:
- the datatype
-
getIssuer
Gets the issuer of the attribute.- Specified by:
getIssuerin interfaceAttributeType- Returns:
- the value of Issuer
-
setAttributeID
Sets the AttributeId.- Specified by:
setAttributeIDin interfaceAttributeType- Parameters:
attributeId- is the wanted AttributeId
-
setDataType
Sets the datatype of the attribute.- Specified by:
setDataTypein interfaceAttributeType- Parameters:
type- is the wanted datatype
-
setIssuer
Sets the issuer of the attribute.- Specified by:
setIssuerin interfaceAttributeType- Parameters:
iss- is the issuer of the attribute
-
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
-
getAttributeValues
Gets the list of attribute values for this attribute.- Specified by:
getAttributeValuesin interfaceAttributeType- Returns:
- the list of values for this attribute
-