NamespaceContext (and BaseNsContext)
implementation that is usually used in
non-namespace-aware mode.Note
differs from Stax2 reference implementation's version slightly, since it needs to support Woodstox specific extensions for efficient namespace declaration serialization.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final EmptyNamespaceContext |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | doGetNamespaceURI(String prefix)
Implements abstract com.
|
| public String | |
| public Iterator | |
| public static EmptyNamespaceContext | |
| public Iterator | |
| public void | outputNamespaceDeclarations(Writer w)
Implements abstract com. Method called by the matching start element class to output all namespace declarations active in current namespace scope, if any. |
| public void |
| sInstance | back to summary |
|---|---|
| pack-priv static final EmptyNamespaceContext sInstance | |
| EmptyNamespaceContext | back to summary |
|---|---|
| private EmptyNamespaceContext() | |
| doGetNamespaceURI | back to summary |
|---|---|
| public String doGetNamespaceURI(String prefix) Implements abstract com.
| |
| doGetPrefix | back to summary |
|---|---|
| public String doGetPrefix(String nsURI) Implements abstract com.
| |
| doGetPrefixes | back to summary |
|---|---|
| public Iterator Implements abstract com.
| |
| getInstance | back to summary |
|---|---|
| public static EmptyNamespaceContext getInstance() | |
| getNamespaces | back to summary |
|---|---|
| public Iterator Implements abstract com.
| |
| outputNamespaceDeclarations | back to summary |
|---|---|
| public void outputNamespaceDeclarations(Writer w) Implements abstract com. 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 void outputNamespaceDeclarations(XMLStreamWriter w) Implements abstract com.
| |