Package org.smooks.api.resource.reader
Interface SmooksXMLReader
-
- All Superinterfaces:
ContentHandler,XMLReader
- All Known Subinterfaces:
JavaXMLReader
- All Known Implementing Classes:
DelegateReader,DOMReader,NullSourceXMLReader,XStreamXMLReader
public interface SmooksXMLReader extends XMLReader, ContentHandler
SmooksXMLReader.SmooksXMLReaderallows you to target a specific SAX Parser at a specific message type. This lets you parse a stream of any type, convert it to a stream of SAX event and so treat the stream as an XML data stream, even when the stream is non-XML. The parser resource configuration "selector" needs to have a value of "org.xml.sax.driver" i.e. selector="org.xml.sax.driver".- Author:
- tfennelly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetExecutionContext(ExecutionContext executionContext)Set the SmooksExecutionContexton the implementing class.-
Methods inherited from interface org.xml.sax.XMLReader
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty
-
-
-
-
Method Detail
-
setExecutionContext
void setExecutionContext(ExecutionContext executionContext)
Set the SmooksExecutionContexton the implementing class.- Parameters:
executionContext- The SmooksExecutionContext.
-
-