com.jclark.xsl.sax2

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
SAXTwoOMBuildergetConfiguredOMBuilder(String systemID, int documentIndex, LoadContext context, NameTable nameTable)
Nodeload(InputSource source, int documentIndex, LoadContext context, NameTable nameTable)
voidsetErrorHandler(ErrorHandler errorHandler)

Method Detail

getConfiguredOMBuilder

public SAXTwoOMBuilder getConfiguredOMBuilder(String systemID, int documentIndex, LoadContext context, NameTable nameTable)

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