Deprecated API
Contents
-
Deprecated Exception ClassesException ClassDescriptionsince 9.0 - use the superclass XPathException insteadsince 9.0: use the superclass,
XPathException
-
Deprecated MethodsMethodDescriptionsince Ant 1.7since 9.1 (setting an EntityResolver has never had any effect)since 9.1 (this method has never had any effect, other than allowing the EntityResolver to be retrieved using the
getEntityResolver()
method)From Saxon 8.7, replaced byController.setInitialContextItem(Item)
since 9.0: useConfiguration.unravel(javax.xml.transform.Source)
since 9.0 - use the explain methodsince Saxon 8.5: useWhitespace.isWhite(java.lang.CharSequence)
From Saxon 8.7, the methodDynamicQueryContext.setContextItem(Item)
is preferredsince 8.9; useQueryResult.serialize(NodeInfo, Result, Properties)
instead.since 9.0 - useStaticQueryContext.clearNamespaces()
since 8.5.1 - use newController()since 9.1. This factory method duplicates the constructorXdmAtomicValue(String, ItemType)
which should be used in preferencesince 8.9. The preferred way to build a source document is to useConfiguration.buildDocument(javax.xml.transform.Source)
since 8.9. The preferred way to build a source document is to useConfiguration.buildDocument(javax.xml.transform.Source)
since 8.9 - useXPathExpression.iterate(net.sf.saxon.sxpath.XPathDynamicContext)
since 9.0 - the method does nothingsince Saxon 8.9 - useXPathEvaluator.compile(String)
since Saxon 8.9 - use the various method defined in the JAXP interface definitionsince Saxon 8.9 - use the methods defined in the JAXP interfacesince 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 argumentsince 8.9. The preferred way to define options for the way in which source documents are built is to use the classAugmentedSource
for any of the methods expecting aSource
object.since 9.0. This method is not present in the JAXP interface. Either use the JAXP methods such asXPathExpressionImpl.evaluate(Object, QName)
, or use the Saxon XPath API instead of JAXP.since 9.0. This method is not present in the JAXP interface. Either use the JAXP methods such asXPathExpressionImpl.evaluate(Object, QName)
, or use the Saxon XPath API instead of JAXP.since 9.0. Using this method is not thread-safe. Use a method instead such asXPathExpressionImpl.evaluate(Object, QName)
that allows the context node to be specified as a parameter to the call.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.
-
Deprecated Constructors