|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.OzoneObject
org.ozoneDB.xml.dom4j.o3impl.AbstractNode
org.ozoneDB.xml.dom4j.o3impl.AbstractCharacterData
org.ozoneDB.xml.dom4j.o3impl.AbstractText
org.ozoneDB.xml.dom4j.o3impl.FlyweightText
FlyweightText
is a Flyweight pattern implementation
of a singly linked, read-only XML Text.
This node could be shared across documents and elements though it does not support the parent relationship.
Field Summary | |
protected java.lang.String |
text
Text of the Text node |
Fields inherited from class org.ozoneDB.xml.dom4j.o3impl.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 | |
FlyweightText(java.lang.String text)
|
Method Summary | |
protected Node |
createXPathResult(Element parent)
|
java.lang.String |
getText()
Returns the text of this node. |
Methods inherited from class org.ozoneDB.xml.dom4j.o3impl.AbstractText |
accept, asXML, getNodeType, toString, write |
Methods inherited from class org.ozoneDB.xml.dom4j.o3impl.AbstractCharacterData |
appendText, getPath, getUniquePath |
Methods inherited from class org.ozoneDB.xml.dom4j.o3impl.AbstractNode |
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeFactory, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, getXPathFactory, hasContent, isReadOnly, matches, numberValueOf, onCreate, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setDocumentFactory, setName, setNodeFactory, setParent, setText, setXPathFactory, supportsParent, valueOf |
Methods inherited from class org.ozoneDB.OzoneObject |
container, database, deleteRecursive, equals, getHandle, getObjectID, handle, hashCode, onActivate, onDelete, onPassivate, requireWriteLocking, self, setContainer, toXML |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.dom4j.CharacterData |
appendText |
Methods inherited from interface org.dom4j.Node |
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write |
Field Detail |
protected java.lang.String text
Text
node
Constructor Detail |
public FlyweightText(java.lang.String text)
text
- is the Text textMethod Detail |
public java.lang.String getText()
Node
Returns the text of this node.
getText
in interface Node
getText
in class AbstractNode
protected Node createXPathResult(Element parent)
createXPathResult
in class AbstractNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |