NamespaceContext implementation used when constructing
event and namespace information explicitly via
javax.xml.stream.XMLEventFactory ,
not by a stream reader.Todo
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final List | mNamespaces
List of |
| pack-priv Map | |
| pack-priv Map | |
| pack-priv final NamespaceContext |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private Map | |
| private Map | |
| public static BaseNsContext | |
| public String | doGetNamespaceURI(String prefix)
Implements abstract com.
|
| public String | |
| public Iterator | |
| public Iterator | getNamespaces()
Implements abstract com. Method that returns information about namespace definition declared in this scope; not including ones declared in outer scopes. |
| 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 | outputNamespaceDeclarations(XMLStreamWriter w)
Implements abstract com. Method called by the matching start element class to output all namespace declarations active in current namespace scope, if any. |
| mNamespaces | back to summary |
|---|---|
| pack-priv final List<Namespace> mNamespaces List of | |
| mNsByPrefix | back to summary |
|---|---|
| pack-priv Map<String, Namespace> mNsByPrefix | |
| mNsByURI | back to summary |
|---|---|
| pack-priv Map<String, Namespace> mNsByURI | |
| mParentCtxt | back to summary |
|---|---|
| pack-priv final NamespaceContext mParentCtxt | |
| MergedNsContext | back to summary |
|---|---|
| protected MergedNsContext(NamespaceContext parentCtxt, List<Namespace> localNs) | |
| buildByNsURIMap | back to summary |
|---|---|
| private Map | |
| buildByPrefixMap | back to summary |
|---|---|
| private Map | |
| construct | back to summary |
|---|---|
| public static BaseNsContext construct(NamespaceContext parentCtxt, List<Namespace> localNs) | |
| 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.
| |
| getNamespaces | back to summary |
|---|---|
| public Iterator Implements abstract com. Method that returns information about namespace definition declared in this scope; not including ones declared in outer scopes.
| |
| outputNamespaceDeclarations | back to summary |
|---|---|
| public void outputNamespaceDeclarations(Writer w) throws IOException Implements abstract com. Doc from 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) throws XMLStreamException Implements abstract com. Method called by the matching start element class to output all namespace declarations active in current namespace scope, if any.
| |