/** * Get the Saxon configuration * * @return the Saxon configuration */ public Configuration getConfiguration() { return pipe.getConfiguration(); }
/** * Get the configuration used for this document * @return the configuration */ public Configuration getConfiguration() { return pipelineConfig.getConfiguration(); }
/** * Set the pipelineConfiguration */ public void setPipelineConfiguration(/*@NotNull*/ PipelineConfiguration pipe) { this.pipe = pipe; config = pipe.getConfiguration(); }
/** * Get the Configuration object * * @return the Saxon configuration */ public Configuration getConfiguration() { return pipe.getConfiguration(); }
/** * Get the Saxon Configuration * * @return the Configuration */ public final Configuration getConfiguration() { return pipelineConfiguration.getConfiguration(); }
/** * Get the name pool * * @return the name pool */ public NamePool getNamePool() { return pipe.getConfiguration().getNamePool(); }
/** * Get the namepool for this configuration */ public NamePool getNamePool() { return pipelineConfiguration.getConfiguration().getNamePool(); }
/** * Helper method to get the current namePool * * @return the NamePool */ public final NamePool getNamePool() { return getPipelineConfiguration().getConfiguration().getNamePool(); }
public Builder(PipelineConfiguration pipe) { this.pipe = pipe; config = pipe.getConfiguration(); lineNumbering = config.isLineNumbering(); namePool = config.getNamePool(); }
public void setPipelineConfiguration(/*@NotNull*/ PipelineConfiguration pipe) { this.pipe = pipe; config = pipe.getConfiguration(); lineNumbering = lineNumbering || config.isLineNumbering(); namePool = config.getNamePool(); }
/** * Set the pipeline configuration * @param pipe the pipeline configuration */ public void setPipelineConfiguration(PipelineConfiguration pipe) { super.setPipelineConfiguration(pipe); bufferedAttributes = new AttributeCollectionImpl(pipe.getConfiguration()); }
/** * Set the pipeline configuration * * @param pipe the pipeline configuration */ public void setPipelineConfiguration(/*@NotNull*/ PipelineConfiguration pipe) { super.setPipelineConfiguration(pipe); bufferedAttributes = new AttributeCollectionImpl(pipe.getConfiguration()); }
public void setPipelineConfiguration(PipelineConfiguration pipe) { //System.err.println("Builder#setPipelineConfiguration pipe = " + pipe); // if (pipe == null) { // new NullPointerException("pipe not initialized").printStackTrace(); // } this.pipe = pipe; config = pipe.getConfiguration(); namePool = config.getNamePool(); lineNumbering = (lineNumbering || config.isLineNumbering()); }
/** * Set configuration information. This must only be called before any events * have been read. */ public void setPipelineConfiguration(PipelineConfiguration pipe) { this.pipe = new PipelineConfiguration(pipe); this.namePool = pipe.getConfiguration().getNamePool(); ignoreIgnorable = pipe.getConfiguration().getParseOptions().getSpaceStrippingRule() != NoElementsSpaceStrippingRule.getInstance(); }
private SlotManager allocateSlots(String expression, Expression expr) { SlotManager stackFrameMap = getPipelineConfiguration().getConfiguration().makeSlotManager(); if (expression.indexOf('$') >= 0) { ExpressionTool.allocateSlots(expr, stackFrameMap.getNumberOfVariables(), stackFrameMap); } return stackFrameMap; }
/** * Set configuration information. This must only be called before any events * have been read. * @param pipe the pipeline configuration */ public void setPipelineConfiguration(PipelineConfiguration pipe) { this.pipe = new PipelineConfiguration(pipe); this.pipe.setLocationProvider(this); config = pipe.getConfiguration(); ignoreIgnorable = config.getStripsWhiteSpace() != Whitespace.NONE; }
public Builder makeBuilder(PipelineConfiguration pipe) { TinyBuilderCondensed tbc = new TinyBuilderCondensed(pipe); tbc.setStatistics(pipe.getConfiguration().getTreeStatistics().SOURCE_DOCUMENT_STATISTICS); return tbc; }
public Builder makeBuilder(PipelineConfiguration pipe) { TinyBuilder builder = new TinyBuilder(pipe); builder.setStatistics(pipe.getConfiguration().getTreeStatistics().SOURCE_DOCUMENT_STATISTICS); return builder; }
/** * Start of a document node. */ public void startDocument(int properties) throws XPathException { nextReceiver.startDocument(properties); pool = getPipelineConfiguration().getConfiguration().getNamePool(); }
private static Receiver makeValidator(Receiver receiver, String systemId, ParseOptions options) throws XPathException { PipelineConfiguration pipe = receiver.getPipelineConfiguration(); Configuration config = pipe.getConfiguration(); int sv = options.getSchemaValidationMode(); if (sv != Validation.PRESERVE && sv != Validation.DEFAULT) { Controller controller = pipe.getController(); if (controller != null && !controller.getExecutable().isSchemaAware() && sv != Validation.STRIP) { throw new XPathException("Cannot use schema-validated input documents when the query/stylesheet is not schema-aware"); } } return receiver; }