Save This Page
Home » dom4j-1.6.1 » org.dom4j.tree » [javadoc | source]
org.dom4j.tree
public class: NamespaceCache [javadoc | source]
java.lang.Object
   org.dom4j.tree.NamespaceCache

NamespaceCache caches instances of DefaultNamespace for reuse both across documents and within documents.

Field Summary
protected static  Map cache    Cache of Map instances indexed by URI which contain caches of Namespace for each prefix 
protected static  Map noPrefixCache    Cache of Namespace instances indexed by URI for default namespaces with no prefixes 
Method from org.dom4j.tree.NamespaceCache Summary:
createNamespace,   get,   get,   getURICache
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.tree.NamespaceCache Detail:
 protected Namespace createNamespace(String prefix,
    String uri) 
    A factory method to create Namespace instance
 public Namespace get(String uri) 
    DOCUMENT ME!
 public Namespace get(String prefix,
    String uri) 
    DOCUMENT ME!
 protected Map getURICache(String uri) 
    DOCUMENT ME!