/** * Convenience method; equivalent to *<code>descendantCursor(SMFilterFactory.getElementOnlyFilter());</code> */ public final SMInputCursor descendantElementCursor() throws XMLStreamException { return descendantCursor(SMFilterFactory.getElementOnlyFilter()); }
/** * Convenience method; equivalent to *<code>childCursor(SMFilterFactory.getMixedFilter());</code> */ public final SMInputCursor childMixedCursor() throws XMLStreamException { return childCursor(SMFilterFactory.getMixedFilter()); }
? SMFilterFactory.getTextOnlyFilter() : SMFilterFactory.getNonIgnorableTextFilter(); SMInputCursor childIt = descendantCursor(f);
? SMFilterFactory.getTextOnlyFilter() : SMFilterFactory.getNonIgnorableTextFilter(); SMInputCursor childIt = descendantCursor(f);
/** * Convenience method; equivalent to *<code>descendantCursor(SMFilterFactory.getElementOnlyFilter(elemName));</code> * Will only return START_ELEMENT and END_ELEMENT events, whose element * name matches given qname. */ public final SMInputCursor descendantElementCursor(QName elemName) throws XMLStreamException { return descendantCursor(SMFilterFactory.getElementOnlyFilter(elemName)); }
? SMFilterFactory.getTextOnlyFilter() : SMFilterFactory.getNonIgnorableTextFilter(); SMInputCursor childIt = descendantCursor(f);
/** * Convenience method; equivalent to *<code>childCursor(SMFilterFactory.getMixedFilter());</code> */ public final SMInputCursor childMixedCursor() throws XMLStreamException { return childCursor(SMFilterFactory.getMixedFilter()); }
/** * Convenience method; equivalent to *<code>childCursor(SMFilterFactory.getElementOnlyFilter(elemName));</code> * 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. */ public final SMInputCursor childElementCursor(String elemLocalName) throws XMLStreamException { return childCursor(SMFilterFactory.getElementOnlyFilter(elemLocalName)); }
? SMFilterFactory.getTextOnlyFilter() : SMFilterFactory.getNonIgnorableTextFilter(); SMInputCursor childIt = descendantCursor(f);
/** * Convenience method; equivalent to *<code>descendantCursor(SMFilterFactory.getMixedFilter());</code> */ public final SMInputCursor descendantMixedCursor() throws XMLStreamException { return descendantCursor(SMFilterFactory.getMixedFilter()); }
/** * Convenience method; equivalent to *<code>descendantCursor(SMFilterFactory.getElementOnlyFilter(elemLocalName));</code>. * Will only return START_ELEMENT and END_ELEMENT events, whose element * local name matches given local name, and that do not belong to a * namespace */ public final SMInputCursor descendantElementCursor(String elemLocalName) throws XMLStreamException { return descendantCursor(SMFilterFactory.getElementOnlyFilter(elemLocalName)); }
/** * Convenience method; equivalent to *<code>descendantCursor(SMFilterFactory.getMixedFilter());</code> */ public final SMInputCursor descendantMixedCursor() throws XMLStreamException { return descendantCursor(SMFilterFactory.getMixedFilter()); }
/** * Convenience method that will construct and return * a nested cursor that will only ever iterate to one node, that * is, the root element of the document reader is reading. *<p> * Method uses standard "element-only" filter from * {@link org.codehaus.staxmate.in.SMFilterFactory}. */ public static SMHierarchicCursor rootElementCursor(XMLStreamReader sr) { return hierarchicCursor(sr, SMFilterFactory.getElementOnlyFilter()); }
/** * Convenience method; equivalent to *<code>childCursor(SMFilterFactory.getElementOnlyFilter());</code> */ public final SMInputCursor childElementCursor() throws XMLStreamException { return childCursor(SMFilterFactory.getElementOnlyFilter()); }
/** * Convenience method; equivalent to *<code>childCursor(SMFilterFactory.getElementOnlyFilter(elemName));</code> * Will only return START_ELEMENT and END_ELEMENT events, whose element * name matches given qname. */ public final SMInputCursor childElementCursor(QName elemName) throws XMLStreamException { return childCursor(SMFilterFactory.getElementOnlyFilter(elemName)); }
/** * Convenience method; equivalent to *<code>childCursor(SMFilterFactory.getElementOnlyFilter(elemName));</code> * 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. */ public final SMInputCursor childElementCursor(String elemLocalName) throws XMLStreamException { return childCursor(SMFilterFactory.getElementOnlyFilter(elemLocalName)); }
/** * Convenience method; equivalent to *<code>descendantCursor(SMFilterFactory.getElementOnlyFilter(elemName));</code> * Will only return START_ELEMENT and END_ELEMENT events, whose element * name matches given qname. */ public final SMInputCursor descendantElementCursor(QName elemName) throws XMLStreamException { return descendantCursor(SMFilterFactory.getElementOnlyFilter(elemName)); }
/** * Convenience method; equivalent to *<code>childCursor(SMFilterFactory.getElementOnlyFilter());</code> */ public final SMInputCursor childElementCursor() throws XMLStreamException { return childCursor(SMFilterFactory.getElementOnlyFilter()); }
/** * Convenience method; equivalent to *<code>descendantCursor(SMFilterFactory.getElementOnlyFilter(elemLocalName));</code>. * Will only return START_ELEMENT and END_ELEMENT events, whose element * local name matches given local name, and that do not belong to a * namespace */ public final SMInputCursor descendantElementCursor(String elemLocalName) throws XMLStreamException { return descendantCursor(SMFilterFactory.getElementOnlyFilter(elemLocalName)); }
/** * Convenience method that will construct and return * a nested cursor that will only ever iterate to one node, that * is, the root element of the document reader is reading. *<p> * Method uses standard "element-only" filter from * {@link org.codehaus.staxmate.in.SMFilterFactory}. */ public static SMHierarchicCursor rootElementCursor(XMLStreamReader sr) { return hierarchicCursor(sr, SMFilterFactory.getElementOnlyFilter()); }