/** * Get the internal Saxon Controller instance that implements this transformation. * Note that the Controller interface will not necessarily remain stable in future releases * @return the underlying Saxon Controller instance */ public XsltController getUnderlyingController() { return xsltTransformer.getUnderlyingController(); }
/** * Get the internal Saxon Controller instance that implements this transformation. * Note that the Controller interface will not necessarily remain stable in future releases * @return the underlying Saxon Controller instance */ public XsltController getUnderlyingController() { return xsltTransformer.getUnderlyingController(); }
@Override protected void setParameter(StructuredQName name, Item value) { transformer.getUnderlyingController().setParameter(name, value); }
/** * Override the behaviour of endDocument() in ReceivingContentHandler, so that it fires off * the transformation of the constructed document */ public void endDocument() throws SAXException { super.endDocument(); NodeInfo doc = builder.getCurrentRoot(); doc.getTreeInfo().setSpaceStrippingRule( transformer.getUnderlyingXsltTransformer().getUnderlyingController().getSpaceStrippingRule()); builder.reset(); if (doc == null) { throw new SAXException("No source document has been built"); } try { transformer.transform(doc, result); } catch (TransformerException err) { throw new SAXException(err); } }
/** * Override the behaviour of endDocument() in ReceivingContentHandler, so that it fires off * the transformation of the constructed document */ public void endDocument() throws SAXException { super.endDocument(); NodeInfo doc = builder.getCurrentRoot(); doc.getTreeInfo().setSpaceStrippingRule( transformer.getUnderlyingXsltTransformer().getUnderlyingController().getSpaceStrippingRule()); builder.reset(); if (doc == null) { throw new SAXException("No source document has been built"); } try { transformer.transform(doc, result); } catch (TransformerException err) { throw new SAXException(err); } }
Controller controller = transformer.getUnderlyingXsltTransformer().getUnderlyingController(); Configuration config = transformer.getConfiguration(); int validation = controller.getSchemaValidationMode();
schemaCompiler.setDestination(result); runtime.getConfigurer().getSaxonConfigurer().configSchematron(schemaCompiler.getUnderlyingController().getConfiguration());
schemaCompiler.setDestination(result); runtime.getConfigurer().getSaxonConfigurer().configSchematron(schemaCompiler.getUnderlyingController().getConfiguration());
Controller controller = transformer.getUnderlyingXsltTransformer().getUnderlyingController(); Configuration config = transformer.getConfiguration(); int validation = controller.getSchemaValidationMode();
transformer.getUnderlyingController().setUnparsedTextURIResolver(unparsedTextURIResolver); transformer.transform(); } finally {
transformer.getUnderlyingController().setUnparsedTextURIResolver(unparsedTextURIResolver); try { transformer.transform();