Purpose: Provides an implementation of NamespaceResolver that wraps a NamespacePrefixMapper. This NamespaceResolver initializes itself from the prefixmapper and the descriptor's namespace resolver. It's set on a marshal record, when the XMLMarshaller is using a custom namespace mapper.
| Modifier and Type | Field and Description |
|---|---|
| private NamespaceResolver | |
| private NamespacePrefixMapper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public NamespacePrefixMapper | |
| public void | put(String
The prefix for a namespace prefix, String The namespace URI associated with the specified prefix uri)Overrides org. |
| public String | resolveNamespaceURI(String
A namespace URI. uri)Overrides org. |
| contextualNamespaces | back to summary |
|---|---|
| private NamespaceResolver contextualNamespaces | |
| prefixMapper | back to summary |
|---|---|
| private NamespacePrefixMapper prefixMapper | |
| PrefixMapperNamespaceResolver | back to summary |
|---|---|
| public PrefixMapperNamespaceResolver(NamespacePrefixMapper mapper, NamespaceResolver nestedResolver) | |
| getPrefixMapper | back to summary |
|---|---|
| public NamespacePrefixMapper getPrefixMapper() | |
| put | back to summary |
|---|---|
| public void put(String prefix, String uri) Overrides org. Doc from org. Adds a namespace to the collection of namespaces on the NamespaceResolver | |
| resolveNamespaceURI | back to summary |
|---|---|
| public String resolveNamespaceURI(String uri) Overrides org. Doc from org. Return the namespace prefix associated with a namespace URI. | |