Class Element

java.lang.Object
com.ctc.wstx.sr.Element

final class Element extends 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 Details

    • mLocalName

      protected String mLocalName
    • mPrefix

      protected String mPrefix
      Prefix this element has, if any; null if none
    • mNamespaceURI

      protected String mNamespaceURI
      Namespace this element is in
    • mDefaultNsURI

      protected String mDefaultNsURI
      Default namespace for this element.
    • mNsOffset

      protected int mNsOffset
      Offset within namespace array, maintained by InputElementStack that owns this element.
    • mParent

      protected Element mParent
      Parent element, if any; null for root
    • mChildCount

      protected int mChildCount
      Count of child elements
  • Constructor Details

  • Method Details

    • reset

      public void reset(Element parent, int nsOffset, String prefix, String ln)
    • relink

      public void relink(Element next)
      Method called to temporarily "store" this Element for later reuse.