Deprecated Methods |
net.sf.saxon.sxpath.XPathEvaluator.build(Source)
since 8.9. The preferred way to build a source document is to use
Configuration.buildDocument(javax.xml.transform.Source) |
net.sf.saxon.event.Builder.build(Source, Stripper, Configuration)
since Saxon 9.2: use Configuration.buildDocument(javax.xml.transform.Source) . The method
was also changed in 9.2 to ignore the stripper parameter. |
net.sf.saxon.event.Builder.build(Source, Stripper, PipelineConfiguration)
since Saxon 9.2: use Configuration.buildDocument(javax.xml.transform.Source) . The method
was also changed in 9.2 to ignore the stripper parameter. |
net.sf.saxon.query.StaticQueryContext.buildDocument(Source)
since 9.2: use Configuration.buildDocument(javax.xml.transform.Source) |
net.sf.saxon.query.StaticQueryContext.clearPassiveNamespaces()
since 9.0 - use StaticQueryContext.clearNamespaces() |
net.sf.saxon.ant.AntTransform.configureLiaison(File)
since Ant 1.7 |
net.sf.saxon.xpath.XPathEvaluator.createExpression(String)
since Saxon 8.9 - use XPathEvaluator.compile(String) |
net.sf.saxon.query.StaticQueryContext.declarePassiveNamespace(String, String, boolean)
since 9.0. Use StaticQueryContext.declareNamespace(java.lang.String, java.lang.String) |
net.sf.saxon.xpath.XPathExpressionImpl.evaluate()
since 9.0. This method is not present in the JAXP interface. Either use
the JAXP methods such as XPathExpressionImpl.evaluate(Object, QName) , or use the Saxon XPath
API instead of JAXP. |
net.sf.saxon.xpath.XPathEvaluator.evaluate(String)
since Saxon 8.9 - use the various method defined in the JAXP interface definition |
net.sf.saxon.xpath.XPathExpressionImpl.evaluateSingle()
since 9.0. This method is not present in the JAXP interface. Either use
the JAXP methods such as XPathExpressionImpl.evaluate(Object, QName) , or use the Saxon XPath
API instead of JAXP. |
net.sf.saxon.xpath.XPathEvaluator.evaluateSingle(String)
since Saxon 8.9 - use the methods defined in the JAXP interface |
com.saxonica.schema.UserDefinedType.getLocalName()
since 9.0: use the equivalent method UserDefinedType.getName() |
com.saxonica.schema.AttributeDecl.getNamespace()
since 9.0: use the renamed method getTargetNamespace() |
com.saxonica.schema.ElementDecl.getNamespaceURI()
since 9.0: use the renamed method getTargetNamespace() |
net.sf.saxon.Controller.getTreeModel()
since 9.2: use Controller.getModel() |
net.sf.saxon.AugmentedSource.getTreeModel()
since 9.2: use AugmentedSource.getModel() |
com.saxonica.config.ProfessionalConfiguration.isSchemaAware(int)
since 9.2: use isLicensedFeature() instead |
net.sf.saxon.Configuration.isSchemaAware(int)
since 9.2: use isLicensedFeature() instead |
net.sf.saxon.Configuration.makeConfiguration(ClassLoader, String)
since 9.2: use newConfiguration() instead |
net.sf.saxon.Configuration.makeSchemaAwareConfiguration(ClassLoader, String)
since 9.2. Use Configuration.makeLicensedConfiguration(java.lang.ClassLoader, java.lang.String) instead. |
net.sf.saxon.s9api.XdmItem.newAtomicValue(String, ItemType)
since 9.1. This factory method duplicates the constructor
XdmAtomicValue.XdmAtomicValue(String, ItemType) which should be used in preference |
net.sf.saxon.value.DurationValue.normalizeDuration()
since 9.0 - the method does nothing |
net.sf.saxon.sxpath.XPathExpression.rawIterator(Source)
since 8.9 - use XPathExpression.iterate(net.sf.saxon.sxpath.XPathDynamicContext) |
net.sf.saxon.query.QueryResult.serialize(NodeInfo, Result, Properties, Configuration)
since 8.9; use QueryResult.serialize(NodeInfo, Result, Properties) instead. |
net.sf.saxon.query.DynamicQueryContext.setContextNode(NodeInfo)
From Saxon 8.7, the method DynamicQueryContext.setContextItem(Item) is preferred |
net.sf.saxon.xpath.XPathExpressionImpl.setContextNode(NodeInfo)
since 9.0. Using this method is not thread-safe. Use a method instead
such as XPathExpressionImpl.evaluate(Object, QName) that allows the context node to be specified
as a parameter to the call. |
net.sf.saxon.xpath.XPathEvaluator.setContextNode(NodeInfo)
since Saxon 8.9 - use the various method defined in the JAXP interface definition,
which allow a NodeInfo object to be supplied as the value of the Source argument |
net.sf.saxon.Configuration.setRetainDTDAttributeTypes(boolean)
since 9.2 This feature was dropped from the final XDM specification and will be dropped in a future
Saxon release. Use an XSD schema to define the attribute types instead. |
net.sf.saxon.xpath.XPathExpressionImpl.setSortKey(XPathExpressionImpl)
since 9.0. This method is not present in the JAXP interface. The recommended
way to get a sorted result is to use XQuery instead of XPath. |
net.sf.saxon.sxpath.XPathEvaluator.setStripSpace(boolean)
since 8.9. The preferred way to build a source document is to use
Configuration.buildDocument(javax.xml.transform.Source) |
net.sf.saxon.xpath.XPathEvaluator.setStripSpace(boolean)
since 8.9. The preferred way to define options for the way in which source
documents are built is to use the class AugmentedSource for any
of the methods expecting a Source object. |
net.sf.saxon.Controller.setTreeModel(int)
since 9.2: use Controller.setModel(net.sf.saxon.om.TreeModel) |
net.sf.saxon.AugmentedSource.setTreeModel(int)
since 9.2: use AugmentedSource.setModel(net.sf.saxon.om.TreeModel) |