java.lang.Object
org.jvnet.staxex.util.DOMStreamReader.Scope
- Enclosing class:
DOMStreamReader
Namespace declarations on one element.
Instances are reused.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final FinalArrayList
<String> Additional namespace declarations obtained as a result of "fixing" DOM tree, which were not part of the original DOM tree.(package private) final FinalArrayList
<Attr> List of namespace declarations extracted from_namedNodeMap
(package private) final DOMStreamReader.Scope
Scope for the parent element. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
(package private) String
getNamespacePrefix
(int index) (package private) String
getNamespaceURI
(int index) (package private) String
getNamespaceURI
(String prefix) Returns the namespace URI bound by the given prefix.(package private) String
Returns the prefix bound to the given URI, or null.(package private) void
reset()
-
Field Details
-
parent
Scope for the parent element. -
currentNamespaces
List of namespace declarations extracted from_namedNodeMap
-
additionalNamespaces
Additional namespace declarations obtained as a result of "fixing" DOM tree, which were not part of the original DOM tree. One entry occupies two spaces (prefix followed by URI.)
-
-
Constructor Details
-
Scope
Scope(DOMStreamReader.Scope parent)
-
-
Method Details
-
reset
void reset() -
getNamespaceCount
int getNamespaceCount() -
getNamespacePrefix
-
getNamespaceURI
-
getPrefix
Returns the prefix bound to the given URI, or null. This method recurses to the parent. -
getNamespaceURI
Returns the namespace URI bound by the given prefix.- Parameters:
prefix
- Prefix to look up.
-