org.opensaml.xacml.ctx.impl
Class AttributeValueTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xacml.impl.AbstractXACMLObject
              extended by org.opensaml.xacml.ctx.impl.AttributeValueTypeImpl
All Implemented Interfaces:
AttributeValueType, XACMLObject, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.ElementExtensibleXMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class AttributeValueTypeImpl
extends AbstractXACMLObject
implements AttributeValueType

Concrete implementation of AttributeValueType.


Field Summary
 
Fields inherited from interface org.opensaml.xacml.ctx.AttributeValueType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected AttributeValueTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
          
 List<org.opensaml.xml.XMLObject> getUnknownXMLObjects()
          
 List<org.opensaml.xml.XMLObject> getUnknownXMLObjects(QName typeOrName)
          
 String getValue()
          Gets the text content of the element.
 void setValue(String value)
          Sets the text content of the element.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, 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.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

AttributeValueTypeImpl

protected AttributeValueTypeImpl(String namespaceURI,
                                 String elementLocalName,
                                 String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getOrderedChildren

public List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject

getUnknownXMLObjects

public List<org.opensaml.xml.XMLObject> getUnknownXMLObjects()

Specified by:
getUnknownXMLObjects in interface org.opensaml.xml.ElementExtensibleXMLObject

getUnknownXMLObjects

public List<org.opensaml.xml.XMLObject> getUnknownXMLObjects(QName typeOrName)

Specified by:
getUnknownXMLObjects in interface org.opensaml.xml.ElementExtensibleXMLObject

getUnknownAttributes

public org.opensaml.xml.util.AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject

getValue

public String getValue()
Gets the text content of the element.

Specified by:
getValue in interface AttributeValueType
Returns:
text content of the element

setValue

public void setValue(String value)
Sets the text content of the element. NOTE because the library does not support mixed content setting textual content will prohibit element content.

Specified by:
setValue in interface AttributeValueType
Parameters:
value - text content of the element


Copyright © 2006-2011 Internet2. All Rights Reserved.