protected static final class DOMStreamReader.Scope
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) FinalArrayList<java.lang.String> |
additionalNamespaces
Additional namespace declarations obtained as a result of "fixing" DOM tree,
which were not part of the original DOM tree.
|
(package private) FinalArrayList<org.w3c.dom.Attr> |
currentNamespaces
List of namespace declarations extracted from
_namedNodeMap |
(package private) DOMStreamReader.Scope |
parent
Scope for the parent element.
|
Constructor and Description |
---|
Scope(DOMStreamReader.Scope parent) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getNamespaceCount() |
(package private) java.lang.String |
getNamespacePrefix(int index) |
(package private) java.lang.String |
getNamespaceURI(int index) |
(package private) java.lang.String |
getNamespaceURI(java.lang.String prefix)
Returns the namespace URI bound by the given prefix.
|
(package private) java.lang.String |
getPrefix(java.lang.String nsUri)
Returns the prefix bound to the given URI, or null.
|
(package private) void |
reset() |
final DOMStreamReader.Scope parent
final FinalArrayList<org.w3c.dom.Attr> currentNamespaces
_namedNodeMap
final FinalArrayList<java.lang.String> additionalNamespaces
Scope(DOMStreamReader.Scope parent)
void reset()
int getNamespaceCount()
java.lang.String getNamespacePrefix(int index)
java.lang.String getNamespaceURI(int index)
java.lang.String getPrefix(java.lang.String nsUri)
java.lang.String getNamespaceURI(java.lang.String prefix)
prefix
- Prefix to look up.