| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.dom4j.tree.AbstractNodeorg.dom4j.tree.AbstractBranchorg.dom4j.tree.AbstractElementorg.dom4j.tree.DefaultElementorg.dom4j.datatype.DatatypeElementpublic class DatatypeElementextends org.dom4j.tree.DefaultElementimplements SerializationContext, ValidationContextDatatypeElement represents an Element which supports the XML Schema Data Types
specification.
Field Summary |
Fields inherited from class org.dom4j.tree.AbstractElement | |
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING | |
Fields inherited from class org.dom4j.tree.AbstractBranch | |
DEFAULT_CONTENT_LIST_SIZE | |
Fields inherited from class org.dom4j.tree.AbstractNode | |
NODE_TYPE_NAMES | |
Fields inherited from interface org.dom4j.Node | |
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE | |
Constructor Summary | |
| |
| |
Method Summary | |
Element |
|
protected void |
|
protected void |
|
String | |
Object |
|
String |
|
XSDatatype |
|
boolean |
|
boolean |
|
String |
|
void |
|
void |
|
String |
|
protected void |
|
Methods inherited from class org.dom4j.tree.DefaultElement | |
add, addNewNode, additionalNamespaces, additionalNamespaces, attribute, attribute, attribute, attribute, attributeCount, attributeIterator, attributeList, attributeList, attributes, clearContent, clone, contentList, declaredNamespaces, element, element, element, getDocument, getDocumentFactory, getNamespaceForPrefix, getNamespaceForURI, getParent, getQName, getStringValue, getText, indexOf, node, nodeCount, nodeIterator, processingInstruction, processingInstructions, processingInstructions, remove, removeNode, removeProcessingInstruction, setAttributeList, setAttributes, setContent, setDocument, setParent, setQName, supportsParent | |
Methods inherited from class org.dom4j.tree.AbstractBranch | |
add, add, add, add, addElement, addElement, addElement, addElement, addNode, addNode, appendContent, childAdded, childRemoved, content, contentList, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getText, getTextTrim, hasContent, indexOf, invalidNodeTypeAddException, isReadOnly, node, nodeCount, nodeIterator, remove, remove, remove, remove, removeNode, setProcessingInstructions | |
Methods inherited from class org.dom4j.tree.AbstractNode | |
asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getName, getNodeType, getNodeTypeName, getParent, getPath, getStringValue, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write | |
public Element addText(String text)
- Overrides:
- addText in interface org.dom4j.tree.AbstractElement
protected void childAdded(Node node)
Override to force lazy recreation of data object
- Overrides:
- childAdded in interface org.dom4j.tree.AbstractElement
- Parameters:
node- DOCUMENT ME!
protected void childRemoved(Node node)
Override to force lazy recreation of data object
- Overrides:
- childRemoved in interface org.dom4j.tree.AbstractElement
- Parameters:
node- DOCUMENT ME!
public String getBaseUri()
public String getNamespacePrefix(String uri)
public XSDatatype getXSDatatype()
Returns the MSV XSDatatype for this node
- Returns:
- DOCUMENT ME!
public boolean isNotation(String notationName)
public boolean isUnparsedEntity(String entityName)
public String resolveNamespacePrefix(String prefix)
public void setData(Object data)
- Overrides:
- setData in interface org.dom4j.tree.AbstractElement
public void setText(String text)
Sets the text data of this node or this method will throw anUnsupportedOperationExceptionif it is read-only.
- Overrides:
- setText in interface org.dom4j.tree.AbstractElement
- Parameters:
text- is the new textual value of this node
protected void validate(String text)
throws IllegalArgumentException