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 String
AttributeID of the attribute.private final XMLObjectChildrenList<AttributeValueType>
List of values for this attribute.private String
Datatype of the attribute.private String
Issuer 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
ConstructorsModifierConstructorDescriptionprotected
AttributeTypeImpl
(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.void
setAttributeID
(String attributeId) Sets the AttributeId.void
setDataType
(String type) Sets the datatype of the attribute.void
Sets the issuer of the attribute.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, 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, 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.core.xml.XMLObject
detach, 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:
getAttributeId
in interfaceAttributeType
- Returns:
- the AttributeId
-
getDataType
Get the datatype of the attribute.- Specified by:
getDataType
in interfaceAttributeType
- Returns:
- the datatype
-
getIssuer
Gets the issuer of the attribute.- Specified by:
getIssuer
in interfaceAttributeType
- Returns:
- the value of Issuer
-
setAttributeID
Sets the AttributeId.- Specified by:
setAttributeID
in interfaceAttributeType
- Parameters:
attributeId
- is the wanted AttributeId
-
setDataType
Sets the datatype of the attribute.- Specified by:
setDataType
in interfaceAttributeType
- Parameters:
type
- is the wanted datatype
-
setIssuer
Sets the issuer of the attribute.- Specified by:
setIssuer
in 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:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-
getAttributeValues
Gets the list of attribute values for this attribute.- Specified by:
getAttributeValues
in interfaceAttributeType
- Returns:
- the list of values for this attribute
-