com.xmlcalabash.model
Class Parser

java.lang.Object
  extended by com.xmlcalabash.model.Parser

public class Parser
extends java.lang.Object

Author:
ndw

Field Summary
protected  java.util.HashSet<java.lang.String> topLevelImports
           
 
Constructor Summary
Parser(XProcRuntime runtime)
           
 
Method Summary
 PipelineLibrary loadLibrary(java.lang.String libraryURI)
           
 DeclareStep loadPipeline(java.lang.String uri)
           
 PipelineLibrary loadStandardLibrary()
           
 PipelineLibrary useLibrary(net.sf.saxon.s9api.XdmNode root)
           
 DeclareStep usePipeline(net.sf.saxon.s9api.XdmNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topLevelImports

protected java.util.HashSet<java.lang.String> topLevelImports
Constructor Detail

Parser

public Parser(XProcRuntime runtime)
Method Detail

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