| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected int[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Enumeration | getAllPrefixes()
Overrides org. Implements org. |
| public String | getPrefix(String
The namespace URI to look up. uri)Overrides org. Implements org. |
| public String | |
| public String | |
| public int | |
| public String | getURI(String
The prefix to look up. prefix)Overrides org. Implements org. |
| public String | |
| public String | |
| public void | |
| public void | |
| public void | reset()
Overrides org. Implements org. |
| fCurrentScope | back to summary |
|---|---|
| protected int fCurrentScope | |
| fScope | back to summary |
|---|---|
| protected int[] fScope | |
| MultipleScopeNamespaceSupport | back to summary |
|---|---|
| public MultipleScopeNamespaceSupport() | |
| MultipleScopeNamespaceSupport | back to summary |
|---|---|
| public MultipleScopeNamespaceSupport(NamespaceContext context) | |
| getAllPrefixes | back to summary |
|---|---|
| public Enumeration Overrides org. Implements org. Doc from org. Return an enumeration of all prefixes whose declarations are active in the current context. This includes declarations from parent contexts that have not been overridden.
| |
| getPrefix | back to summary |
|---|---|
| public String getPrefix(String uri) Overrides org. Implements org. Doc from org. Look up a namespace URI and get one of the mapped prefix. This method looks up the namespace URI in the current context. If more than one prefix is currently mapped to the same URI, this method will make an arbitrary selection If no mapping is found, this methods will continue lookup in the parent context(s). | |
| getPrefix | back to summary |
|---|---|
| public String getPrefix(String uri, int context) | |
| getPrefix | back to summary |
|---|---|
| public String getPrefix(String uri, int start, int end) | |
| getScopeForContext | back to summary |
|---|---|
| public int getScopeForContext(int context) | |
| getURI | back to summary |
|---|---|
| public String getURI(String prefix) Overrides org. Implements org. Doc from org. Look up a prefix and get the currently-mapped Namespace URI. This method looks up the prefix in the current context. If no mapping is found, this methods will continue lookup in the parent context(s). Use the empty string ("") for the default Namespace. | |
| getURI | back to summary |
|---|---|
| public String getURI(String prefix, int context) | |
| getURI | back to summary |
|---|---|
| public String getURI(String prefix, int start, int end) | |
| popScope | back to summary |
|---|---|
| public void popScope() Pops the current scope. The namespace bindings from the new current scope are then used for searching for namespaces and prefixes. | |
| pushScope | back to summary |
|---|---|
| public void pushScope() Begins a new scope. None of the previous namespace bindings will be used, until the new scope is popped with popScope() | |
| reset | back to summary |
|---|---|
| public void reset() Overrides org. Implements org. Only resets the current scope -- all namespaces defined in lower scopes remain valid after a call to reset. | |