Package com.ctc.wstx.sr
Class Element
- java.lang.Object
-
- com.ctc.wstx.sr.Element
-
final class Element extends java.lang.Object
Container for information collected regarding a single (start) element instance.This class is not exposed outside of the package and is considered part of internal implementation.
- Since:
- 4.1
-
-
Field Summary
Fields Modifier and Type Field Description protected int
mChildCount
Count of child elementsprotected java.lang.String
mDefaultNsURI
Default namespace for this element.protected java.lang.String
mLocalName
protected java.lang.String
mNamespaceURI
Namespace this element is inprotected int
mNsOffset
Offset within namespace array, maintained byInputElementStack
that owns this element.protected Element
mParent
Parent element, if any; null for rootprotected java.lang.String
mPrefix
Prefix this element has, if any; null if none
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
relink(Element next)
Method called to temporarily "store" this Element for later reuse.void
reset(Element parent, int nsOffset, java.lang.String prefix, java.lang.String ln)
-
-
-
Field Detail
-
mLocalName
protected java.lang.String mLocalName
-
mPrefix
protected java.lang.String mPrefix
Prefix this element has, if any; null if none
-
mNamespaceURI
protected java.lang.String mNamespaceURI
Namespace this element is in
-
mDefaultNsURI
protected java.lang.String mDefaultNsURI
Default namespace for this element.
-
mNsOffset
protected int mNsOffset
Offset within namespace array, maintained byInputElementStack
that owns this element.
-
mParent
protected Element mParent
Parent element, if any; null for root
-
mChildCount
protected int mChildCount
Count of child elements
-
-
Constructor Detail
-
Element
public Element(Element parent, int nsOffset, java.lang.String prefix, java.lang.String ln)
-
-