com.jclark.xsl.sax2
public class XMLProcessorImpl extends Object implements XMLProcessorEx
Constructor Summary | |
---|---|
XMLProcessorImpl() | |
XMLProcessorImpl(XMLReader reader)
construct with a SAX2 XML Reader we may wish to re-use for
resolving e.g xsl:include |
Method Summary | |
---|---|
static SAXTwoOMBuilder | createBuilder(String systemId, int documentIndex, LoadContext context, NameTable nameTable) |
Result | createResult(Node baseNode, int documentIndex, LoadContext loadContext, Node[] rootNode) |
SAXTwoOMBuilder | getConfiguredOMBuilder(String systemId, int documentIndex, LoadContext context, NameTable nameTable) |
Node | load(InputSource source, int documentIndex, LoadContext context, NameTable nameTable)
parse the xml stream at source building an
object model of all its nodes
|
Node | load(URL url, int documentIndex, LoadContext context, NameTable nameTable) |
void | setErrorHandler(ErrorHandler errorHandler) |
void | setXMLReader(XMLReader reader) |
source
building an
object model of all its nodes
Returns: the document root
Returns: the document root