Deprecated API

Contents

Deprecated Interfaces

AttributeList
This interface has been replaced by the SAX2
CoroutineParser
Since the ability to start a parse via the coroutine protocol was not being used and was complicating design.
DocumentHandler
This interface has been replaced by the SAX2
DOMOrder
Since the introduction of the DTM, this class will be removed.
DOMSerializer
Use org.apache.xml.serializer.DOMSerializer
Parser
This interface has been replaced by the SAX2
Serializer
Use org.apache.xml.serializer.Serializer
TransformSnapshot
It doesn't look like this code, which is for tooling, has functioned propery for a while, so it doesn't look like it is being used.

Deprecated Classes

AttributeListImpl
This class implements a deprecated interface,
DOM2Helper
Since the introduction of the DTM, this class will be removed.
DOMHelper
Since the introduction of the DTM, this class will be removed.
ForwardPositionIterator
This class exists only for backwards compatibility with old translets.
HandlerBase
This class works with the deprecated
ParserFactory
This class works with the deprecated
SerializerFactory
The new class to use is org.apache.xml.serializer.SerializerFactory
XSLProcessorVersion
To be replaced by org.apache.xalan.Version.getVersion()

Deprecated Fields

org.apache.xalan.res.XSLTErrorResources.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_ca.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_cs.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_de.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_es.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_fr.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_hu.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_it.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_ja.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_ko.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_pl.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_pt_BR.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_ru.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_sk.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_sv.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_tr.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_zh_CN.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_zh_TW.QUERY_HEADER

Deprecated Methods

org.apache.xalan.xsltc.runtime.BasisLibrary.positionF(DTMAxisIterator)
This method exists only for backwards compatibility with old translets.
org.apache.xml.utils.DOMHelper.isIgnorableWhitespace(Text)
org.apache.xml.utils.DOMHelper.getRoot(Node)
org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties(String)
Use org.apache.xml.serializer.OuputPropertiesFactory. getDefaultMethodProperties directly.
org.apache.xalan.serialize.Serializer.setOutputStream(OutputStream)
Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.Serializer.getOutputStream()
Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.Serializer.setWriter(Writer)
Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.Serializer.getWriter()
Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.Serializer.setOutputFormat(Properties)
Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.Serializer.getOutputFormat()
Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.Serializer.asContentHandler()
Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.Serializer.asDOMSerializer()
Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.Serializer.reset()
Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.SerializerFactory.getSerializer(Properties)
Use org.apache.xml.serializer.SerializerFactory
org.apache.xalan.transformer.TransformerImpl.getSnapshot()
This is an internal tooling API that nobody seems to be using
org.apache.xalan.transformer.TransformerImpl.executeFromSnapshot(TransformSnapshot)
This is an internal tooling API that nobody seems to be using
org.apache.xalan.transformer.TransformerImpl.resetToStylesheet(TransformSnapshot)
This is an internal tooling API that nobody seems to be using
org.apache.xalan.lib.sql.XConnection.enableDefaultConnectionPool()
Use setFeature("default-pool-enabled", "true");
org.apache.xalan.lib.sql.XConnection.disableDefaultConnectionPool()
Use setFeature("default-pool-enabled", "false");
org.apache.xalan.lib.sql.XConnection.enableStreamingMode()
Use setFeature("streaming", "true");
org.apache.xalan.lib.sql.XConnection.disableStreamingMode()
Use setFeature("streaming", "false");

Deprecated Constructors

org.apache.xalan.xsltc.dom.NodeSortRecordFactory.NodeSortRecordFactory(DOM,String,Translet,order[],type[])
This constructor is no longer used in generated code.

Copyright B) 2004 Apache XML Project. All Rights Reserved.