org.milyn.xml
Interface SmooksXMLReader

All Superinterfaces:
ContentHandler, XMLReader
All Known Subinterfaces:
JavaXMLReader
All Known Implementing Classes:
NullSourceXMLReader, XStreamXMLReader

public interface SmooksXMLReader
extends XMLReader, ContentHandler

Smooks XMLReader.

DOMParser allows 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
 void setExecutionContext(ExecutionContext executionContext)
          Set the Smooks ExecutionContext on 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 Smooks ExecutionContext on the implementing class.

Parameters:
executionContext - The Smooks ExecutionContext.


Copyright © 2008. All Rights Reserved.