Package org.opensaml.xacml.policy.impl
Class AttributeValueTypeImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xacml.impl.AbstractXACMLObject
-
- org.opensaml.xacml.policy.impl.AttributeValueTypeImpl
-
- All Implemented Interfaces:
AttributeExtensibleXMLObject,ElementExtensibleXMLObject,XMLObject,AttributeValueType,ExpressionType,XACMLObject
- Direct Known Subclasses:
AttributeAssignmentTypeImpl
public class AttributeValueTypeImpl extends AbstractXACMLObject implements AttributeValueType
Implementation ofAttributeValueType.
-
-
Field Summary
Fields Modifier and Type Field Description private StringdataTypeData type.private StringtextContentText content of value element.private AttributeMapunknownAttributes"any" attributes.private IndexedXMLObjectChildrenList<XMLObject>unknownElements"any" elements.-
Fields inherited from interface org.opensaml.xacml.policy.AttributeValueType
DATA_TYPE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME
-
Fields inherited from interface org.opensaml.xacml.policy.ExpressionType
DEFAULT_ELEMENT_NAME_XACML20
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttributeValueTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDataType()List<XMLObject>getOrderedChildren()AttributeMapgetUnknownAttributes()List<XMLObject>getUnknownXMLObjects()List<XMLObject>getUnknownXMLObjects(QName typeOrName)StringgetValue()voidsetDataType(String type)voidsetValue(String value)-
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 Detail
-
dataType
private String dataType
Data type.
-
textContent
private String textContent
Text content of value element.
-
unknownElements
private IndexedXMLObjectChildrenList<XMLObject> unknownElements
"any" elements.
-
unknownAttributes
private AttributeMap unknownAttributes
"any" attributes.
-
-
Constructor Detail
-
AttributeValueTypeImpl
protected AttributeValueTypeImpl(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 Detail
-
getDataType
public String getDataType()
- Specified by:
getDataTypein interfaceAttributeValueType
-
setDataType
public void setDataType(String type)
- Specified by:
setDataTypein interfaceAttributeValueType
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
getUnknownAttributes
public AttributeMap getUnknownAttributes()
- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject
-
getUnknownXMLObjects
public List<XMLObject> getUnknownXMLObjects()
- Specified by:
getUnknownXMLObjectsin interfaceElementExtensibleXMLObject
-
getUnknownXMLObjects
public List<XMLObject> getUnknownXMLObjects(QName typeOrName)
- Specified by:
getUnknownXMLObjectsin interfaceElementExtensibleXMLObject
-
getValue
public String getValue()
- Specified by:
getValuein interfaceAttributeValueType
-
setValue
public void setValue(String value)
- Specified by:
setValuein interfaceAttributeValueType
-
-