|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ozoneDB.OzoneObject | +--org.ozoneDB.xml.dom.NodeImpl | +--org.ozoneDB.xml.dom.DocumentFragmentImpl
Implements a lightweight or minimal Document
.
Primarily used to carry document parts from one document to another,
or to hold impartial documents without maintaining any Document
consistency rules on them.
Notes:
Node.DOCUMENT_FRAGMENT_NODE
Node.appendChild(org.w3c.dom.Node)
).
DocumentFragment
,
NodeImpl
,
Serialized FormField Summary |
Fields inherited from class org.ozoneDB.xml.dom.NodeImpl |
ATTLIST_DECL_NODE, ELEMENT_DECL_NODE, PARAM_ENTITY_NODE |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
DocumentFragmentImpl()
|
Method Summary | |
java.lang.Object |
clone()
|
org.w3c.dom.Node |
cloneNode(boolean deep)
|
short |
getNodeType()
Abstract method must be implemented by each node class. |
void |
init(DocumentProxy owner,
java.lang.String value)
|
void |
setNodeValue(java.lang.String value)
Changes the value of the node. |
protected boolean |
supportsChildern()
|
java.lang.String |
toString()
|
Methods inherited from class org.ozoneDB.xml.dom.NodeImpl |
appendChild, castNewChild, castOldChild, cloneInto, getAttributes, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, init, insertBefore, isReadOnly, isSupported, normalize, notifyIterators, readExternal, removeChild, replaceChild, setNextSibling, setNodeName, setOwnerDocument, setParentNode, setPrefix, setPreviousSibling, setReadOnly, supports, writeExternal |
Methods inherited from class org.ozoneDB.OzoneObject |
container, database, deleteRecursive, getObjectID, handle, hashCode, onCreate, onDelete, self, setContainer, toXML |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy |
getObjectID |
Methods inherited from interface org.w3c.dom.Node |
appendChild, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setPrefix |
Methods inherited from interface org.ozoneDB.xml.dom.NodeProxy |
cloneInto, getChild, getChildCount, getChildNodes, init, isReadOnly, setNextSibling, setNodeName, setOwnerDocument, setParentNode, setPreviousSibling, setReadOnly |
Constructor Detail |
public DocumentFragmentImpl()
Method Detail |
public short getNodeType()
NodeImpl
getNodeType
in interface org.w3c.dom.Node
getNodeType
in class NodeImpl
Node.getNodeType()
public final void setNodeValue(java.lang.String value)
NodeImpl
Element Not supported Attr Value supported Text Value supported CDATASection Value supported EntityReference Not supported Entity Not supported ProcessingInstruction Value supported Comment Value supported Document Not supported DocumentType Not supported DocumentFragment Not supported Notation Not supportedFor most node types, if the value is set to null,
NodeImpl.getNodeValue()
will return an empty string instead.
setNodeValue
in interface org.w3c.dom.Node
setNodeValue
in class NodeImpl
value
- New value of nodeprotected boolean supportsChildern()
supportsChildern
in class NodeImpl
public final java.lang.Object clone()
clone
in class java.lang.Object
public final org.w3c.dom.Node cloneNode(boolean deep)
cloneNode
in interface org.w3c.dom.Node
public java.lang.String toString()
toString
in class org.ozoneDB.OzoneObject
public final void init(DocumentProxy owner, java.lang.String value)
init
in interface DocumentFragmentProxy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |