| Modifier and Type | Field and Description |
|---|---|
| protected static final String | UNDECLARED_NS_URI
This is the URI returned for default namespace, when it hasn't been explicitly declared; could be either "" or null. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract String | |
| public abstract String | |
| public abstract Iterator | |
| public abstract Iterator | |
| public final String | getNamespaceURI(String
prefix to look up prefix)Implements javax. Get Namespace URI bound to a prefix in the current scope. |
| public final String | getPrefix(String
URI of Namespace to lookup nsURI)Implements javax. Get prefix bound to Namespace URI in the current scope. |
| public final Iterator | getPrefixes(String
URI of Namespace to lookup nsURI)Implements javax. Get all prefixes bound to a Namespace URI in the current scope. |
| public abstract void | outputNamespaceDeclarations(Writer w)
Method called by the matching start element class to output all namespace declarations active in current namespace scope, if any. |
| public abstract void |
| UNDECLARED_NS_URI | back to summary |
|---|---|
| protected static final String UNDECLARED_NS_URI This is the URI returned for default namespace, when it hasn't been explicitly declared; could be either "" or null. | |
| BaseNsContext | back to summary |
|---|---|
| public BaseNsContext() | |
| doGetNamespaceURI | back to summary |
|---|---|
| public abstract String doGetNamespaceURI(String prefix) | |
| doGetPrefix | back to summary |
|---|---|
| public abstract String doGetPrefix(String nsURI) | |
| doGetPrefixes | back to summary |
|---|---|
| public abstract Iterator | |
| getNamespaces | back to summary |
|---|---|
| public abstract Iterator | |
| getNamespaceURI | back to summary | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public final String getNamespaceURI(String prefix) Implements javax. Doc from javax. Get Namespace URI bound to a prefix in the current scope. When requesting a Namespace URI by prefix, the following table describes the returned Namespace URI value for all possible prefix values:
| |||||||||||||||
| getPrefix | back to summary | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public final String getPrefix(String nsURI) Implements javax. Doc from javax. Get prefix bound to Namespace URI in the current scope. To get all prefixes bound to a Namespace URI in the current
scope, use When requesting a prefix by Namespace URI, the following table describes the returned prefix value for all Namespace URI values:
| |||||||||||||||
| getPrefixes | back to summary | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public final Iterator Implements javax. Doc from javax. Get all prefixes bound to a Namespace URI in the current scope. An Iterator over String elements is returned in an arbitrary, implementation dependent, order. The When requesting prefixes by Namespace URI, the following table describes the returned prefixes value for all Namespace URI values:
| |||||||||||||
| outputNamespaceDeclarations | back to summary |
|---|---|
| public abstract void outputNamespaceDeclarations(Writer w) throws IOException Method called by the matching start element class to output all namespace declarations active in current namespace scope, if any. | |
| outputNamespaceDeclarations | back to summary |
|---|---|
| public abstract void outputNamespaceDeclarations(XMLStreamWriter w) throws XMLStreamException | |