com.xmlcalabash.model
Class Parser
java.lang.Object
com.xmlcalabash.model.Parser
public class Parser
- extends java.lang.Object
- Author:
- ndw
Field Summary |
protected java.util.HashSet<java.lang.String> |
topLevelImports
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
topLevelImports
protected java.util.HashSet<java.lang.String> topLevelImports
Parser
public Parser(XProcRuntime runtime)
loadPipeline
public DeclareStep loadPipeline(java.lang.String uri)
throws net.sf.saxon.s9api.SaxonApiException
- Throws:
net.sf.saxon.s9api.SaxonApiException
usePipeline
public DeclareStep usePipeline(net.sf.saxon.s9api.XdmNode node)
loadStandardLibrary
public PipelineLibrary loadStandardLibrary()
throws java.io.FileNotFoundException,
java.net.URISyntaxException,
net.sf.saxon.s9api.SaxonApiException
- Throws:
java.io.FileNotFoundException
java.net.URISyntaxException
net.sf.saxon.s9api.SaxonApiException
loadLibrary
public PipelineLibrary loadLibrary(java.lang.String libraryURI)
throws net.sf.saxon.s9api.SaxonApiException
- Throws:
net.sf.saxon.s9api.SaxonApiException
useLibrary
public PipelineLibrary useLibrary(net.sf.saxon.s9api.XdmNode root)
throws net.sf.saxon.s9api.SaxonApiException
- Throws:
net.sf.saxon.s9api.SaxonApiException