Uses of Class
org.codehaus.staxmate.in.SMInputCursor
Packages that use SMInputCursor
Package
Description
Package contains functionality for input-side processing.
-
Uses of SMInputCursor in org.codehaus.staxmate.in
Subclasses of SMInputCursor in org.codehaus.staxmate.inModifier and TypeClassDescriptionclass
Default implementation of generic flat (non-scoped) cursor; cursor that traverse all descendants (children and grandchildren) of a start element.class
Default implementation of generic nested (scoped) cursor; cursor that only traverses direct children of a single start element.Fields in org.codehaus.staxmate.in declared as SMInputCursorModifier and TypeFieldDescriptionprotected SMInputCursor
CursorBase._childCursor
Cursor that has been opened for iterating child nodes of the start element node this cursor points to.Methods in org.codehaus.staxmate.in that return SMInputCursorModifier and TypeMethodDescriptionfinal SMInputCursor
SMInputCursor.advance()
Method that does whatgetNext()
does, but instead of returning resulting event type, returns this cursor.final SMInputCursor
SMInputCursor.childCursor()
Method that will create a new nested cursor for iterating over all (immediate) child nodes of the start element this cursor currently points to.SMInputCursor.childCursor
(SMFilter f) Method that will create a new nested cursor for iterating over all (immediate) child nodes of the start element this cursor currently points to that are passed by the specified filter.final SMInputCursor
SMInputCursor.childElementCursor()
Convenience method; equivalent tochildCursor(SMFilterFactory.getElementOnlyFilter());
final SMInputCursor
SMInputCursor.childElementCursor
(String elemLocalName) Convenience method; equivalent tochildCursor(SMFilterFactory.getElementOnlyFilter(elemName));
Will only return START_ELEMENT and END_ELEMENT events, whose element's local name matches given local name, and that does not belong to a namespace.final SMInputCursor
SMInputCursor.childElementCursor
(QName elemName) Convenience method; equivalent tochildCursor(SMFilterFactory.getElementOnlyFilter(elemName));
Will only return START_ELEMENT and END_ELEMENT events, whose element name matches given qname.final SMInputCursor
SMInputCursor.childMixedCursor()
Convenience method; equivalent tochildCursor(SMFilterFactory.getMixedFilter());
SMFlatteningCursor.constructChildCursor
(SMFilter f) SMHierarchicCursor.constructChildCursor
(SMFilter f) protected abstract SMInputCursor
SMInputCursor.constructChildCursor
(SMFilter f) Abstract method that concrete sub-classes implement, and is used for all instantiation of child cursors by this cursor instance.SMFlatteningCursor.constructDescendantCursor
(SMFilter f) SMHierarchicCursor.constructDescendantCursor
(SMFilter f) protected abstract SMInputCursor
SMInputCursor.constructDescendantCursor
(SMFilter f) Abstract method that concrete sub-classes implement, and is used for all instantiation of descendant cursors by this cursor instance.final SMInputCursor
SMInputCursor.descendantCursor()
Method that will create a new nested cursor for iterating over all the descendant (children and grandchildren) nodes of the start element this cursor currently points to.SMInputCursor.descendantCursor
(SMFilter f) Method that will create a new nested cursor for iterating over all the descendant (children and grandchildren) nodes of the start element this cursor currently points to that are accepted by the specified filter.final SMInputCursor
SMInputCursor.descendantElementCursor()
Convenience method; equivalent todescendantCursor(SMFilterFactory.getElementOnlyFilter());
final SMInputCursor
SMInputCursor.descendantElementCursor
(String elemLocalName) Convenience method; equivalent todescendantCursor(SMFilterFactory.getElementOnlyFilter(elemLocalName));
.final SMInputCursor
SMInputCursor.descendantElementCursor
(QName elemName) Convenience method; equivalent todescendantCursor(SMFilterFactory.getElementOnlyFilter(elemName));
Will only return START_ELEMENT and END_ELEMENT events, whose element name matches given qname.final SMInputCursor
SMInputCursor.descendantMixedCursor()
Convenience method; equivalent todescendantCursor(SMFilterFactory.getMixedFilter());
Methods in org.codehaus.staxmate.in with parameters of type SMInputCursorModifier and TypeMethodDescriptionboolean
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.ElementInfoFactory.constructElementInfo
(SMInputCursor it, SMElementInfo parent, SMElementInfo prevSibling) Constructors in org.codehaus.staxmate.in with parameters of type SMInputCursorModifierConstructorDescriptionSMFlatteningCursor
(SMInputContext ctxt, SMInputCursor parent, SMFilter f) SMHierarchicCursor
(SMInputContext ctxt, SMInputCursor parent, SMFilter f) SMInputCursor
(SMInputContext ctxt, SMInputCursor parent, SMFilter filter)