public XLibrary getStandardLibrary() { if (xStandardLibrary == null) { xStandardLibrary = new XLibrary(this, standardLibrary); if (errorCode != null) { throw new XProcException(errorCode, errorMessage); } } return xStandardLibrary; }
public XPipeline getFirstPipeline() { QName name = library.firstStep(); return getPipeline(name); }
XLibrary library = innerRuntime.useLibrary(piperoot); if (stepName == null) { pipeline = library.getFirstPipeline(); } else { pipeline = library.getPipeline(stepName);
curStep.setName(xLibrary.getFirstPipelineType().getClarkName()); curStep.checkArgs(); steps.add(curStep);
XLibrary library = innerRuntime.useLibrary(piperoot); if (stepName == null) { pipeline = library.getFirstPipeline(); } else { pipeline = library.getPipeline(stepName);
curStep.setName(xLibrary.getFirstPipelineType().getClarkName()); curStep.checkArgs(); steps.add(curStep);
public XLibrary getStandardLibrary() { if (xStandardLibrary == null) { xStandardLibrary = new XLibrary(this, standardLibrary); if (errorCode != null) { throw new XProcException(errorCode, errorMessage); } } return xStandardLibrary; }
public XPipeline getFirstPipeline() { QName name = library.firstStep(); return getPipeline(name); }
private XLibrary _useLibrary(XdmNode library) throws SaxonApiException { PipelineLibrary plibrary = parser.useLibrary(library); if (errorCode != null) { throw new XProcException(errorCode, errorMessage); } XLibrary xlibrary = new XLibrary(this, plibrary); if (errorCode != null) { throw new XProcException(errorCode, errorMessage); } return xlibrary; }
private XLibrary _useLibrary(XdmNode library) throws SaxonApiException { PipelineLibrary plibrary = parser.useLibrary(library); if (errorCode != null) { throw new XProcException(errorCode, errorMessage); } XLibrary xlibrary = new XLibrary(this, plibrary); if (errorCode != null) { throw new XProcException(errorCode, errorMessage); } return xlibrary; }
private XLibrary _loadLibrary(Input library) throws SaxonApiException, IOException { PipelineLibrary plibrary; switch (library.getKind()) { case URI: plibrary = parser.loadLibrary(library.getUri()); break; case INPUT_STREAM: plibrary = parser.loadLibrary(library.getInputStream(), library.getInputStreamUri()); break; default: throw new UnsupportedOperationException(format("Unsupported library kind '%s'", library.getKind())); } if (errorCode != null) { throw new XProcException(errorCode, errorMessage); } XLibrary xlibrary = new XLibrary(this, plibrary); if (errorCode != null) { throw new XProcException(errorCode, errorMessage); } return xlibrary; }
private XLibrary _loadLibrary(Input library) throws SaxonApiException, IOException { PipelineLibrary plibrary; switch (library.getKind()) { case URI: plibrary = parser.loadLibrary(library.getUri()); break; case INPUT_STREAM: plibrary = parser.loadLibrary(library.getInputStream(), library.getInputStreamUri()); break; default: throw new UnsupportedOperationException(format("Unsupported library kind '%s'", library.getKind())); } if (errorCode != null) { throw new XProcException(errorCode, errorMessage); } XLibrary xlibrary = new XLibrary(this, plibrary); if (errorCode != null) { throw new XProcException(errorCode, errorMessage); } return xlibrary; }