org.ozoneDB.xml.dom4j.o3impl
Class OzoneCDATAImpl

java.lang.Object
  extended byorg.ozoneDB.OzoneObject
      extended byorg.ozoneDB.xml.dom4j.o3impl.AbstractNode
          extended byorg.ozoneDB.xml.dom4j.o3impl.AbstractCharacterData
              extended byorg.ozoneDB.xml.dom4j.o3impl.AbstractCDATA
                  extended byorg.ozoneDB.xml.dom4j.o3impl.FlyweightCDATA
                      extended byorg.ozoneDB.xml.dom4j.o3impl.DefaultCDATA
                          extended byorg.ozoneDB.xml.dom4j.o3impl.OzoneCDATAImpl
All Implemented Interfaces:
CDATA, CharacterData, java.lang.Cloneable, Node, OzoneCDATA, org.ozoneDB.OzoneCompatible, org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote, java.io.Serializable

public class OzoneCDATAImpl
extends DefaultCDATA
implements OzoneCDATA, org.ozoneDB.OzoneCompatible

Author:
Per Nyfelt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ozoneDB.xml.dom4j.o3impl.FlyweightCDATA
text
 
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
OzoneCDATAImpl(Element parent, java.lang.String text)
           
OzoneCDATAImpl(java.lang.String text)
           
 
Method Summary
 java.lang.Object clone()
          clone will return a deep clone or if this node is read-only then clone will return the same instance.
 org.ozoneDB.core.ObjectContainer container()
           
static OzoneCDATA create(org.ozoneDB.OzoneInterface db, Element parent, java.lang.String text)
           
static OzoneCDATA create(org.ozoneDB.OzoneInterface db, java.lang.String text)
           
 org.ozoneDB.OzoneInterface database()
           
 DocumentFactory getDocumentFactory()
           
protected  NodeFactory getNodeFactory()
           
 org.ozoneDB.core.ObjectID getObjectID()
           
protected  XPathFactory getXPathFactory()
           
 void onActivate()
           
 void onCreate()
           
 void onDelete()
           
 void onPassivate()
           
 org.ozoneDB.OzoneProxy self()
           
 void setContainer(org.ozoneDB.core.ObjectContainer _container)
           
 boolean toXML(org.xml.sax.ContentHandler ch)
           
 
Methods inherited from class org.ozoneDB.xml.dom4j.o3impl.DefaultCDATA
getParent, isReadOnly, setParent, setText, supportsParent
 
Methods inherited from class org.ozoneDB.xml.dom4j.o3impl.FlyweightCDATA
createXPathResult, getText
 
Methods inherited from class org.ozoneDB.xml.dom4j.o3impl.AbstractCDATA
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, createPattern, createXPath, createXPathFilter, detach, getDocument, getName, getNodeTypeName, getPath, getStringValue, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setDocumentFactory, setName, setNodeFactory, setXPathFactory, valueOf
 
Methods inherited from class org.ozoneDB.OzoneObject
deleteRecursive, equals, getHandle, handle, hashCode, requireWriteLocking
 
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, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
 

Constructor Detail

OzoneCDATAImpl

public OzoneCDATAImpl(java.lang.String text)
Parameters:
text - is the CDATA text

OzoneCDATAImpl

public OzoneCDATAImpl(Element parent,
                      java.lang.String text)
Method Detail

create

public static OzoneCDATA create(org.ozoneDB.OzoneInterface db,
                                java.lang.String text)

create

public static OzoneCDATA create(org.ozoneDB.OzoneInterface db,
                                Element parent,
                                java.lang.String text)

getDocumentFactory

public DocumentFactory getDocumentFactory()
Overrides:
getDocumentFactory in class AbstractNode

getNodeFactory

protected NodeFactory getNodeFactory()
Overrides:
getNodeFactory in class AbstractNode

getXPathFactory

protected XPathFactory getXPathFactory()
Overrides:
getXPathFactory in class AbstractNode

clone

public java.lang.Object clone()
Description copied from interface: Node

clone will return a deep clone or if this node is read-only then clone will return the same instance.

Specified by:
clone in interface Node
Overrides:
clone in class AbstractNode

getObjectID

public org.ozoneDB.core.ObjectID getObjectID()
Specified by:
getObjectID in interface org.ozoneDB.OzoneCompatibleOrProxy

setContainer

public void setContainer(org.ozoneDB.core.ObjectContainer _container)
Specified by:
setContainer in interface org.ozoneDB.OzoneCompatible

container

public org.ozoneDB.core.ObjectContainer container()
Specified by:
container in interface org.ozoneDB.OzoneCompatible

self

public org.ozoneDB.OzoneProxy self()
Specified by:
self in interface org.ozoneDB.OzoneCompatible

database

public org.ozoneDB.OzoneInterface database()
Specified by:
database in interface org.ozoneDB.OzoneCompatible

toXML

public boolean toXML(org.xml.sax.ContentHandler ch)
              throws org.xml.sax.SAXException
Specified by:
toXML in interface org.ozoneDB.OzoneCompatible
Throws:
org.xml.sax.SAXException

onCreate

public void onCreate()
Specified by:
onCreate in interface org.ozoneDB.OzoneCompatible
Overrides:
onCreate in class AbstractNode

onActivate

public void onActivate()
Specified by:
onActivate in interface org.ozoneDB.OzoneCompatible

onPassivate

public void onPassivate()
Specified by:
onPassivate in interface org.ozoneDB.OzoneCompatible

onDelete

public void onDelete()
Specified by:
onDelete in interface org.ozoneDB.OzoneCompatible


Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.