uri = pipeline.getInputStreamUri(); break;
uri = pipeline.getInputStreamUri(); break;
libraryURI = library.getInputStreamUri(); break;
libraryURI = library.getInputStreamUri(); break;
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; }
pipeline = parser.loadPipeline(pipelineInput.getInputStream(), pipelineInput.getInputStreamUri()); break;
pipeline = parser.loadPipeline(pipelineInput.getInputStream(), pipelineInput.getInputStreamUri()); break;