com.jclark.xsl.sax
Interface XMLProcessorEx
- All Superinterfaces:
- XMLProcessor
- All Known Implementing Classes:
- XMLProcessorImpl, XMLProcessorImpl
- public interface XMLProcessorEx
- extends XMLProcessor
extended public interface for an XMLProcessor, which loads an XML
source into our own DOM-like structure
load
public Node load(org.xml.sax.InputSource source,
int documentIndex,
LoadContext context,
NameTable nameTable)
throws java.io.IOException,
XSLException
- Parameters:
source
- the input to our parserdocumentIndex
- so we can distinguish between nodes in different docscontext
- ??nameTable
- we intern names to avoid wasting menmory
setErrorHandler
public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
- Parameters:
ErrorHandler
- a SAX errorHandler where we report parse errors