Uses of Class
org.codehaus.staxmate.in.SMFilter
-
Packages that use SMFilter Package Description org.codehaus.staxmate Package contains factories for constructing input and output processing components (such as input cursors).org.codehaus.staxmate.in Package contains functionality for input-side processing. -
-
Uses of SMFilter in org.codehaus.staxmate
Methods in org.codehaus.staxmate with parameters of type SMFilter Modifier and Type Method Description protected static SMFlatteningCursor
SMInputFactory. constructFlattening(org.codehaus.stax2.XMLStreamReader2 sr, SMFilter f)
protected static SMHierarchicCursor
SMInputFactory. constructHierarchic(org.codehaus.stax2.XMLStreamReader2 sr, SMFilter f)
SMFlatteningCursor
SMInputFactory. flatteningCursor(java.io.File input, SMFilter f)
SMFlatteningCursor
SMInputFactory. flatteningCursor(java.io.InputStream input, SMFilter f)
SMFlatteningCursor
SMInputFactory. flatteningCursor(java.io.Reader r, SMFilter f)
SMFlatteningCursor
SMInputFactory. flatteningCursor(java.net.URL input, SMFilter f)
static SMFlatteningCursor
SMInputFactory. flatteningCursor(javax.xml.stream.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(javax.xml.stream.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.in Modifier and Type Class Description class
ElementFilter
This is a simple element-only filter, that accepts those element nodes that match the given element name.class
SimpleFilter
Simple bit-set based filter that can be configured by specifying allowed event types.Fields in org.codehaus.staxmate.in declared as SMFilter Modifier and Type Field Description protected 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 SMFilter Modifier and Type Method Description static SMFilter
SMFilterFactory. getElementOnlyFilter()
static SMFilter
SMFilterFactory. getElementOnlyFilter(java.lang.String elemLocalName)
static SMFilter
SMFilterFactory. getElementOnlyFilter(javax.xml.namespace.QName elemName)
static SMFilter
SMFilterFactory. getMixedFilter()
static SMFilter
SMFilterFactory. getNonIgnorableTextFilter()
static SMFilter
SMFilterFactory. getTextOnlyFilter()
Methods in org.codehaus.staxmate.in with parameters of type SMFilter Modifier and Type Method Description SMInputCursor
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.SMInputCursor
SMFlatteningCursor. constructChildCursor(SMFilter f)
SMInputCursor
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.SMInputCursor
SMFlatteningCursor. constructDescendantCursor(SMFilter f)
SMInputCursor
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
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.void
SMInputCursor. setFilter(SMFilter f)
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 SMFilter Constructor Description SMFlatteningCursor(SMInputContext ctxt, SMInputCursor parent, SMFilter f)
SMHierarchicCursor(SMInputContext ctxt, SMInputCursor parent, SMFilter f)
SMInputCursor(SMInputContext ctxt, SMInputCursor parent, SMFilter filter)
-