NamespaceCache caches instances of
DefaultNamespace for reuse both across documents and within
documents.
| Modifier and Type | Field and Description |
|---|---|
| protected static Map | |
| protected static Map | noPrefixCache
Cache of |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Namespace | Returns: a newly createdNamespaceinstance.DOCUMENT ME! prefix, String DOCUMENT ME! uri)A factory method to create |
| public Namespace | |
| public Namespace | |
| protected Map | Returns: the cache for the given namespace URI. If one does not currently exist it is created.DOCUMENT ME! uri)DOCUMENT ME! |
| cache | back to summary |
|---|---|
| protected static Map<String, Map<String, WeakReference<Namespace>>> cache Cache of | |
| noPrefixCache | back to summary |
|---|---|
| protected static Map<String, WeakReference<Namespace>> noPrefixCache Cache of | |
| NamespaceCache | back to summary |
|---|---|
| public NamespaceCache() | |
| createNamespace | back to summary |
|---|---|
| protected Namespace createNamespace(String prefix, String uri) A factory method to create | |
| get | back to summary |
|---|---|
| public Namespace get(String prefix, String uri) DOCUMENT ME! | |
| get | back to summary |
|---|---|
| public Namespace get(String uri) DOCUMENT ME! | |
| getURICache | back to summary |
|---|---|
| protected Map DOCUMENT ME!
| |