Uses of Enum
org.codehaus.staxmate.in.SMEvent
Packages that use SMEvent
Package
Description
Package contains functionality for input-side processing.
-
Uses of SMEvent in org.codehaus.staxmate.in
Fields in org.codehaus.staxmate.in declared as SMEventModifier and TypeFieldDescriptionprotected SMEvent
CursorBase._currEvent
Event that this cursor currently points to, if valid, or it last pointed to if not (including null if cursor has not yet been advanced).private static final SMEvent[]
CursorBase.EVENTS_BY_IDS
This is the mapping array, indexed by Stax 1.0 event type integer code, value being matchingSMEvent
enumeration value.Methods in org.codehaus.staxmate.in that return SMEventModifier and TypeMethodDescription(package private) static SMEvent[]
SMEvent.constructIdToEventMapping()
Method that will construct the mapping from event id int codes (used byXMLStreamReader
to actualSMEvent
enum values.protected static final SMEvent
CursorBase.eventObjectByEventId
(int type) Note: no checks are done regarding validity of passed-in type.SMInputCursor.getCurrEvent()
Returns the type of event this cursor either currently points to (if in valid state), or pointed to (if ever iterated forward), or null if just created.SMFlatteningCursor.getNext()
SMHierarchicCursor.getNext()
abstract SMEvent
SMInputCursor.getNext()
Main iterating method.static SMEvent
Returns the enum constant of this type with the specified name.static SMEvent[]
SMEvent.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.codehaus.staxmate.in with parameters of type SMEventModifier and TypeMethodDescriptionprotected XMLStreamException
CursorBase._wrongState
(String method, SMEvent expState) boolean
ElementFilter.accept
(SMEvent evt, SMInputCursor caller) boolean
SimpleFilter.accept
(SMEvent evt, SMInputCursor caller) abstract boolean
SMFilter.accept
(SMEvent evt, SMInputCursor caller) Methods iterators call to check whether specified event should be return, or filtered out.Constructors in org.codehaus.staxmate.in with parameters of type SMEvent