com.jclark.xsl.sax

Interface XMLProcessorEx

public interface XMLProcessorEx extends XMLProcessor

extended public interface for an XMLProcessor, which loads an XML source into our own DOM-like structure
Method Summary
Nodeload(InputSource source, int documentIndex, LoadContext context, NameTable nameTable)
voidsetErrorHandler(ErrorHandler errorHandler)

Method Detail

load

public Node load(InputSource source, int documentIndex, LoadContext context, NameTable nameTable)

Parameters: source the input to our parser documentIndex so we can distinguish between nodes in different docs context ?? nameTable we intern names to avoid wasting menmory

setErrorHandler

public void setErrorHandler(ErrorHandler errorHandler)

Parameters: ErrorHandler a SAX errorHandler where we report parse errors