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.
|
Modifier and Type | Method and 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(File input,
SMFilter f) |
SMFlatteningCursor |
SMInputFactory.flatteningCursor(InputStream input,
SMFilter f) |
SMFlatteningCursor |
SMInputFactory.flatteningCursor(Reader r,
SMFilter f) |
SMFlatteningCursor |
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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Field and Description |
---|---|
protected SMFilter |
SMInputCursor.mFilter
Optional filter object that can be used to filter out events of
types caller is not interested in.
|
Modifier and Type | Method and Description |
---|---|
static SMFilter |
SMFilterFactory.getElementOnlyFilter() |
static SMFilter |
SMFilterFactory.getElementOnlyFilter(QName elemName) |
static SMFilter |
SMFilterFactory.getElementOnlyFilter(String elemLocalName) |
static SMFilter |
SMFilterFactory.getMixedFilter() |
static SMFilter |
SMFilterFactory.getNonIgnorableTextFilter() |
static SMFilter |
SMFilterFactory.getTextOnlyFilter() |
Modifier and Type | Method and 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.
|
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.constructChildCursor(SMFilter f) |
SMInputCursor |
SMHierarchicCursor.constructChildCursor(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 |
SMFlatteningCursor.constructDescendantCursor(SMFilter f) |
SMInputCursor |
SMHierarchicCursor.constructDescendantCursor(SMFilter f) |
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 when
SMInputCursor.getNext()
is called. |
Constructor and Description |
---|
SMFlatteningCursor(SMInputContext ctxt,
SMInputCursor parent,
SMFilter f) |
SMHierarchicCursor(SMInputContext ctxt,
SMInputCursor parent,
SMFilter f) |
SMInputCursor(SMInputContext ctxt,
SMInputCursor parent,
SMFilter filter) |
Copyright © 2019 FasterXML. All rights reserved.