/** * Create an IndependentContext along with a new (non-schema-aware) Saxon Configuration */ public IndependentContext() { this(new Configuration()); }
/** * Default constructor. Creates an XPathEvaluator with a default configuration and name pool. * Note that any source documents used by an XPath expression under this XPathEvaluator must * be built using the {@link Configuration} that is implicitly created by this constructor, * which is accessible using the {@link #getConfiguration} method. */ public XPathEvaluator() { this(new Configuration()); }
/** * Create an IndependentContext along with a new (non-schema-aware) Saxon Configuration */ public IndependentContext() { this(new Configuration()); }
/** * Default constructor. Creates an XPathEvaluator with a default configuration and name pool. * Note that any source documents used by an XPath expression under this XPathEvaluator must * be built using the {@link Configuration} that is implicitly created by this constructor, * which is accessible using the {@link #getConfiguration} method. */ public XPathEvaluator() { this(new Configuration()); }
/** * Create an IndependentContext along with a new (non-schema-aware) Saxon Configuration */ public IndependentContext() { this(new Configuration()); }
/** * Default constructor. */ public TransformerFactoryImpl() { config = new Configuration(); }
/** * Default constructor. Creates an XPathEvaluator with a default configuration and name pool. * The default Configuration is not schema-aware. */ public XPathEvaluator() { this(new Configuration()); }
/** * Default constructor. Creates an XPathEvaluator with a default configuration and name pool. * Note that any source documents used by an XPath expression under this XPathEvaluator must * be built using the {@link Configuration} that is implicitly created by this constructor, * which is accessible using the {@link #getConfiguration} method. */ public XPathEvaluator() { this(new Configuration()); }
/** * Default constructor. Creates an XPathEvaluator with a default configuration and name pool. * Note that any source documents used by an XPath expression under this XPathEvaluator must * be built using the {@link Configuration} that is implicitly created by this constructor, * which is accessible using the {@link #getConfiguration} method. */ public XPathEvaluator() { this(new Configuration()); }
/** * Default constructor. */ public TransformerFactoryImpl() { config = new Configuration(); }
/** * Create an IndependentContext along with a new (non-schema-aware) Saxon Configuration */ public IndependentContext() { this(new Configuration()); }
/** * Creates a new {@link Processor} with a default {@link Configuration}. * @return the new instance */ public Processor createProcessor() { return new Processor(new Configuration()); } }
public static IntSet getBlock(String name) throws RESyntaxException { if (blocks == null) { readBlocks(new Configuration()); } IntSet cc = blocks.get(name); if (cc != null) { return cc; } cc = blocks.get(normalizeBlockName(name)); return cc; }
public static IntSet getBlock(String name) throws RESyntaxException { if (blocks == null) { readBlocks(new Configuration()); } IntSet cc = blocks.get(name); if (cc != null) { return cc; } cc = blocks.get(normalizeBlockName(name)); return cc; }
XmlObjectXQueryEvaluatorImpl(DefaultNamespaceContext namespaceContext) { this.configuration = new Configuration(); staticQueryContext = configuration.newStaticQueryContext(); for (Map.Entry<String, String> namespaceBinding : namespaceContext.getNamespaces().entrySet()) { staticQueryContext.declareNamespace(namespaceBinding.getKey(), namespaceBinding.getValue()); } }
public BasicTransformerFactory() { Configuration config = new Configuration(); config.setProcessor(this); setConfiguration(config); }
public BasicTransformerFactory() { Configuration config = new Configuration(); config.setProcessor(this); setConfiguration(config); }
public Document createInternalDOM(Source input) throws TransformerException { Configuration config = new Configuration(); PipelineConfiguration pipeConfig = new PipelineConfiguration(config); TinyBuilder builder = new TinyBuilder(pipeConfig); Transformer t = Xslt.createIdentityTransformer(XsltVersion.XSLT2); t.transform(input, builder); NodeInfo node = builder.getCurrentRoot(); return (Document)NodeOverNodeInfo.wrap(node); }
public XsltService() { this.configuration = new Configuration(); this.configuration.setLineNumbering( true ); this.configuration.setHostLanguage( Configuration.XSLT ); this.configuration.setVersionWarning( false ); this.configuration.setCompileWithTracing( true ); this.configuration.setValidationWarnings( true ); }
public void start() throws Exception { super.start(); Configuration config = getConfiguration(); if (config == null) { config = new Configuration(); } config.setHostLanguage(Configuration.XQUERY); setConfiguration(config); staticEnv = new StaticQueryContext(config); exp = compileQuery(); }