Uses of Class
org.codehaus.staxmate.in.SMFilter
Packages that use SMFilter
Package
Description
Package contains factories for constructing input and output
processing components (such as input cursors).
Package contains functionality for input-side processing.
-
Uses of SMFilter in org.codehaus.staxmate
Methods in org.codehaus.staxmate with parameters of type SMFilterModifier and TypeMethodDescriptionprotected static final SMFlatteningCursor
SMInputFactory.constructFlattening
(org.codehaus.stax2.XMLStreamReader2 sr, SMFilter f) protected static final SMHierarchicCursor
SMInputFactory.constructHierarchic
(org.codehaus.stax2.XMLStreamReader2 sr, SMFilter f) SMInputFactory.flatteningCursor
(File input, SMFilter f) SMInputFactory.flatteningCursor
(InputStream input, SMFilter f) SMInputFactory.flatteningCursor
(Reader r, SMFilter f) SMInputFactory.flatteningCursor
(URL input, SMFilter f) static SMFlatteningCursor
SMInputFactory.flatteningCursor
(XMLStreamReader sr, SMFilter f) Static factory method used to construct root-level flattening (descendant) cursor, when starting to process an xml document or fragment.static SMHierarchicCursor
SMInputFactory.hierarchicCursor
(XMLStreamReader sr, SMFilter f) Static factory method used to construct root-level hierarchic (child) cursor, when starting to process an xml document or fragment. -
Uses of SMFilter in org.codehaus.staxmate.in
Subclasses of SMFilter in org.codehaus.staxmate.inModifier and TypeClassDescriptionclass
This is a simple element-only filter, that accepts those element nodes that match the given element name.class
Simple bit-set based filter that can be configured by specifying allowed event types.Fields in org.codehaus.staxmate.in declared as SMFilterModifier and TypeFieldDescriptionprotected SMFilter
SMInputCursor.mFilter
Optional filter object that can be used to filter out events of types caller is not interested in.Methods in org.codehaus.staxmate.in that return SMFilterModifier and TypeMethodDescriptionstatic final SMFilter
SMFilterFactory.getElementOnlyFilter()
static final SMFilter
SMFilterFactory.getElementOnlyFilter
(String elemLocalName) static final SMFilter
SMFilterFactory.getElementOnlyFilter
(QName elemName) static final SMFilter
SMFilterFactory.getMixedFilter()
static final SMFilter
SMFilterFactory.getNonIgnorableTextFilter()
static final SMFilter
SMFilterFactory.getTextOnlyFilter()
Methods in org.codehaus.staxmate.in with parameters of type SMFilterModifier and TypeMethodDescriptionSMInputCursor.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.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.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 void
Method for setting filter used for selecting which events are to be returned to the caller whenSMInputCursor.getNext()
is called.Constructors in org.codehaus.staxmate.in with parameters of type SMFilterModifierConstructorDescriptionSMFlatteningCursor
(SMInputContext ctxt, SMInputCursor parent, SMFilter f) SMHierarchicCursor
(SMInputContext ctxt, SMInputCursor parent, SMFilter f) SMInputCursor
(SMInputContext ctxt, SMInputCursor parent, SMFilter filter)