Package org.codehaus.staxmate.in
Package contains functionality for input-side processing.
In addition to the cursor classes, additional entities
related to filtering (choosing which events to expose) and
tracking (holding references to information iterated over,
such as parent or sibling element names) are included.
-
Interface Summary Interface Description ElementInfoFactory Simple factory class that can be used to customize instances ofSMElementInfo
that iterators construct and store when element tracking is enabled. -
Class Summary Class Description CursorBase Abstract base class that contains non-public methods to be used by public sub-classes (SMInputCursor
and its sub-classes).DefaultElementInfo The default implementation ofSMElementInfo
; fully implements all accessors by storing information necessary.ElementFilter This is a simple element-only filter, that accepts those element nodes that match the given element name.SimpleFilter Simple bit-set based filter that can be configured by specifying allowed event types.SMElementInfo This is the abstract base class that defines standard set of element information stored when element tracking is enabled for aSMInputCursor
.SMFilter Simple class that defines for objects used to configure iterators so that they will filter out "uninteresting" events.SMFilterFactory Simple factory that can be used to get instances of simple default filters.SMFlatteningCursor Default implementation of generic flat (non-scoped) cursor; cursor that traverse all descendants (children and grandchildren) of a start element.SMHierarchicCursor Default implementation of generic nested (scoped) cursor; cursor that only traverses direct children of a single start element.SMInputContext Class that encapsulates details about context in which StaxMate input is done.SMInputCursor Base class for reader-side cursors that form the main input side abstraction offered by StaxMate. -
Enum Summary Enum Description CursorBase.State State constants are used for keeping track of state of individual cursors.SMEvent SMInputCursor.Tracking Different tracking behaviors available for cursors.