QNameCache caches instances of QName for reuse
both across documents and within documents.
| Modifier and Type | Field and Description |
|---|---|
| private DocumentFactory | documentFactory
The document factory associated with new QNames instances in this cache or null if no instances should be associated by default |
| protected Map | namespaceCache
Cache of |
| protected Map | noNamespaceCache
Cache of |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Map | |
| protected QName | Returns: DOCUMENT ME!DOCUMENT ME! name)Factory method to create a new QName object which can be overloaded to create derived QName instances |
| protected QName | Returns: DOCUMENT ME!DOCUMENT ME! name, Namespace DOCUMENT ME! namespace)Factory method to create a new QName object which can be overloaded to create derived QName instances |
| protected QName | Returns: DOCUMENT ME!DOCUMENT ME! name, Namespace DOCUMENT ME! namespace, String DOCUMENT ME! qualifiedName)Factory method to create a new QName object which can be overloaded to create derived QName instances |
| public QName | |
| public QName | |
| public QName | |
| public QName | |
| protected Map | Returns: the cache for the given namespace. If one does not currently exist it is created.DOCUMENT ME! namespace)DOCUMENT ME! |
| public List | |
| public QName |
| documentFactory | back to summary |
|---|---|
| private DocumentFactory documentFactory The document factory associated with new QNames instances in this cache or null if no instances should be associated by default | |
| namespaceCache | back to summary |
|---|---|
| protected Map<Namespace, Map<String, QName>> namespaceCache Cache of | |
| noNamespaceCache | back to summary |
|---|---|
| protected Map<String, QName> noNamespaceCache Cache of | |
| QNameCache | back to summary |
|---|---|
| public QNameCache() | |
| QNameCache | back to summary |
|---|---|
| public QNameCache(DocumentFactory documentFactory) | |
| createMap | back to summary |
|---|---|
| protected Map A factory method | |
| createQName | back to summary |
|---|---|
| protected QName createQName(String name) Factory method to create a new QName object which can be overloaded to create derived QName instances | |
| createQName | back to summary |
|---|---|
| protected QName createQName(String name, Namespace namespace) Factory method to create a new QName object which can be overloaded to create derived QName instances | |
| createQName | back to summary |
|---|---|
| protected QName createQName(String name, Namespace namespace, String qualifiedName) Factory method to create a new QName object which can be overloaded to create derived QName instances | |
| get | back to summary |
|---|---|
| public QName get(String name) DOCUMENT ME! | |
| get | back to summary |
|---|---|
| public QName get(String name, Namespace namespace) DOCUMENT ME! | |
| get | back to summary |
|---|---|
| public QName get(String localName, Namespace namespace, String qName) DOCUMENT ME! | |
| get | back to summary |
|---|---|
| public QName get(String qualifiedName, String uri) | |
| getNamespaceCache | back to summary |
|---|---|
| protected Map DOCUMENT ME! | |
| getQNames | back to summary |
|---|---|
| public List Returns a list of all the QName instances currently used | |
| intern | back to summary |
|---|---|
| public QName intern(QName qname) DOCUMENT ME! | |