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 SMFlatteningCursorSMInputFactory.constructFlattening(org.codehaus.stax2.XMLStreamReader2 sr, SMFilter f) protected static final SMHierarchicCursorSMInputFactory.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 SMFlatteningCursorSMInputFactory.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 SMHierarchicCursorSMInputFactory.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 TypeClassDescriptionclassThis is a simple element-only filter, that accepts those element nodes that match the given element name.classSimple bit-set based filter that can be configured by specifying allowed event types.Fields in org.codehaus.staxmate.in declared as SMFilterModifier and TypeFieldDescriptionprotected SMFilterSMInputCursor.mFilterOptional 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 SMFilterSMFilterFactory.getElementOnlyFilter()static final SMFilterSMFilterFactory.getElementOnlyFilter(String elemLocalName) static final SMFilterSMFilterFactory.getElementOnlyFilter(QName elemName) static final SMFilterSMFilterFactory.getMixedFilter()static final SMFilterSMFilterFactory.getNonIgnorableTextFilter()static final SMFilterSMFilterFactory.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 SMInputCursorSMInputCursor.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 SMInputCursorSMInputCursor.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 voidMethod 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)