org.ozoneDB.xml.dom4j.o3impl
Class O3NamespaceCache

java.lang.Object
  extended byorg.ozoneDB.OzoneObject
      extended byorg.ozoneDB.xml.dom4j.o3impl.NamespaceCacheImpl
          extended byorg.ozoneDB.xml.dom4j.o3impl.O3NamespaceCache
All Implemented Interfaces:
org.ozoneDB.OzoneCompatible, org.ozoneDB.OzoneCompatibleOrProxy, OzoneNamespaceCache, org.ozoneDB.OzoneRemote, java.io.Serializable

public class O3NamespaceCache
extends NamespaceCacheImpl
implements java.io.Serializable

Ozone wrapper for the DOM4J O3NamespaceCache

Author:
Per Nyfelt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ozoneDB.xml.dom4j.o3impl.NamespaceCacheImpl
cache, NO_NAMESPACE, noPrefixCache, XML_NAMESPACE
 
Constructor Summary
O3NamespaceCache(org.ozoneDB.OzoneInterface db)
           
 
Method Summary
protected  Namespace createNamespace(java.lang.String prefix, java.lang.String uri)
          A factory method to create AbstractNamespace instances
 void setDatabase(org.ozoneDB.OzoneInterface db)
           
 
Methods inherited from class org.ozoneDB.xml.dom4j.o3impl.NamespaceCacheImpl
createPrefixMap, createURIMap, get, get, getInstance, getNoNamespace, getURICache, getXmlNamespace, onCreate
 
Methods inherited from class org.ozoneDB.OzoneObject
container, database, deleteRecursive, equals, getHandle, getObjectID, handle, hashCode, onActivate, onDelete, onPassivate, requireWriteLocking, self, setContainer, toString, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 

Constructor Detail

O3NamespaceCache

public O3NamespaceCache(org.ozoneDB.OzoneInterface db)
Method Detail

setDatabase

public void setDatabase(org.ozoneDB.OzoneInterface db)

createNamespace

protected Namespace createNamespace(java.lang.String prefix,
                                    java.lang.String uri)
A factory method to create AbstractNamespace instances

Overrides:
createNamespace in class NamespaceCacheImpl
Returns:
a newly created AbstractNamespace instance.


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