# Deprecated API

## Contents

- Methods
- Constructors

- Methods
  Method | Description
  --- | ---
  net.sf.saxon.Configuration.isVersionWarning() | since 10.0; the method has had no effect since Saxon 9.8
  net.sf.saxon.Configuration.setOutputURIResolver​(OutputURIResolver) | since 9.9. Use `AbstractXsltTransformer.setResultDocumentHandler(java.util.function.Function)` or `XsltController.setResultDocumentResolver(ResultDocumentResolver)` instead.
  net.sf.saxon.Configuration.setVersionWarning​(boolean) | since 10.0; the method has had no effect since Saxon 9.8
  net.sf.saxon.dom.DocumentBuilderImpl.getStripSpace() | since 10.0: use `ParseOptions.getSpaceStrippingRule()`
  net.sf.saxon.dom.DocumentBuilderImpl.setStripSpace​(int) | since 10.0: use `ParseOptions.setSpaceStrippingRule(SpaceStrippingRule)`
  net.sf.saxon.lib.SerializerFactory.getReceiver​(Result, PipelineConfiguration, Properties) | since Saxon 9.9: use one of the other `getReceiver` methods
  net.sf.saxon.query.DynamicQueryContext.getErrorListener() | since 10.0. Use `DynamicQueryContext.setErrorReporter(net.sf.saxon.lib.ErrorReporter)`
  net.sf.saxon.query.DynamicQueryContext.setErrorListener​(ErrorListener) | since 10.0. Use `DynamicQueryContext.setErrorReporter(net.sf.saxon.lib.ErrorReporter)`
  net.sf.saxon.query.StaticQueryContext.getErrorListener() | since 10.0: use `StaticQueryContext.getErrorReporter()`
  net.sf.saxon.query.StaticQueryContext.setErrorListener​(ErrorListener) | since 10.0: use `StaticQueryContext.setErrorReporter(ErrorReporter)`
  net.sf.saxon.query.StaticQueryContext.setLanguageVersion​(int) | since 10.0
  net.sf.saxon.s9api.Processor.getConfigurationProperty​(String) | since 9.9 - use `Processor.getConfigurationProperty(Feature)`
  net.sf.saxon.s9api.Processor.setConfigurationProperty​(String, Object) | since 9.9 - use `Processor.setConfigurationProperty(Feature, Object)`
  net.sf.saxon.s9api.SchemaManager.getErrorListener() | since 10.0. Use `SchemaManager.getErrorReporter()`
  net.sf.saxon.s9api.SchemaManager.setErrorListener​(ErrorListener) | since 10.0. Use `SchemaManager.setErrorReporter(ErrorReporter)`.
  net.sf.saxon.s9api.SchemaValidator.getErrorListener() | since 10.0. Use `SchemaValidator.getInvalidityHandler()`
  net.sf.saxon.s9api.SchemaValidator.setErrorListener​(ErrorListener) | since 10.0. Use `SchemaValidator.setInvalidityHandler(InvalidityHandler)`
  net.sf.saxon.s9api.XsltCompiler.getErrorListener() | since 10.0. Use `XsltCompiler.getErrorReporter()`
  net.sf.saxon.s9api.XsltCompiler.setErrorListener​(ErrorListener) | since 10.0. Use `XsltCompiler.setErrorReporter(ErrorReporter)`
  net.sf.saxon.s9api.XsltCompiler.setXsltLanguageVersion​(String) | Has no effect from Saxon 9.8.
  net.sf.saxon.s9api.XsltPackage.save​(File, String) | since 9.9.1.3. Use XsltCompiler.setTargetEdition() to define the target environment.
  net.sf.saxon.trans.CompilerInfo.getErrorListener() | since 10.0 - use `CompilerInfo.getErrorReporter()`
  net.sf.saxon.trans.CompilerInfo.getXsltVersion() | since 9.8 (always returns 30)
  net.sf.saxon.trans.CompilerInfo.setErrorListener​(ErrorListener) | since 10.0 - use `CompilerInfo.setErrorReporter(ErrorReporter)`
  net.sf.saxon.trans.CompilerInfo.setXsltVersion​(int) | since Saxon 9.8 (has no effect).
  net.sf.saxon.trans.XsltController.getMessageEmitter() | since 9.9.0.2; always returns null.
  net.sf.saxon.value.SequenceExtent.fromIterator​(SequenceIterator) | since 9.9: use `SequenceIterator.materialize()`
  net.sf.saxon.value.SequenceExtent.makeSequenceExtent​(SequenceIterator) | since 9.9: use `SequenceIterator.materialize()`

- Constructors
  Constructor | Description
  --- | ---
  net.sf.saxon.value.TimeValue​(byte, byte, byte, int, int) | since 10.0: use the constructor `TimeValue(byte, byte, byte, int, int, String)` that accepts nanosecond precision