## Deprecated API

Deprecated Classes
org.xml.sax.helpers.AttributeListImpl This class implements a deprecated interface, AttributeList; that interface has been replaced by Attributes, which is implemented in the AttributesImpl helper class.
org.apache.xml.utils.DOM2Helper Since the introduction of the DTM, this class will be removed. This class provides a DOM level 2 "helper", which provides services currently not provided be the DOM standard.
org.apache.xml.utils.DOMHelper Since the introduction of the DTM, this class will be removed. This class provides a front-end to DOM implementations, providing a number of utility functions that either aren't yet standardized by the DOM spec or that are defined in optional DOM modules and hence may not be present in all DOMs.
org.apache.xalan.xsltc.dom.ForwardPositionIterator This class exists only for backwards compatibility with old translets. New code should not reference it.
org.xml.sax.HandlerBase This class works with the deprecated DocumentHandler interface. It has been replaced by the SAX2 DefaultHandler class.
org.xml.sax.helpers.ParserFactory This class works with the deprecated Parser interface.
org.apache.xpath.operations.Quo
org.apache.xalan.serialize.SerializerFactory The new class to use is org.apache.xml.serializer.SerializerFactory
org.apache.xml.serializer.ToHTMLSAXHandler As of Xalan 2.7.1, replaced by the use of `ToXMLSAXHandler`.
org.apache.xml.serializer.ToTextSAXHandler As of Xalan 2.7.1, replaced by the use of `ToXMLSAXHandler`.
org.apache.xalan.processor.XSLProcessorVersion To be replaced by org.apache.xalan.Version.getVersion()

Deprecated Interfaces
org.xml.sax.AttributeList This interface has been replaced by the SAX2 Attributes interface, which includes Namespace support.
org.apache.xml.dtm.ref.CoroutineParser Since the ability to start a parse via the coroutine protocol was not being used and was complicating design. See `IncrementalSAXSource`.
org.xml.sax.DocumentHandler This interface has been replaced by the SAX2 ContentHandler interface, which includes Namespace support.
org.apache.xml.utils.DOMOrder Since the introduction of the DTM, this class will be removed. Nodes that implement this index can return a document order index. Eventually, this will be replaced by DOM 3 methods. (compareDocumentOrder and/or compareTreePosition.)
org.apache.xalan.serialize.DOMSerializer Use org.apache.xml.serializer.DOMSerializer
org.xml.sax.Parser This interface has been replaced by the SAX2 XMLReader interface, which includes Namespace support.
org.apache.xalan.serialize.Serializer Use org.apache.xml.serializer.Serializer
org.apache.xalan.transformer.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 Fields
org.apache.xalan.res.XSLTErrorResources_it.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_pl.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_pt_BR.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_hu.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_sk.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_cs.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_zh_TW.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_zh.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_sl.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_de.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_fr.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_ca.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_tr.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_ru.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_ja.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_es.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_sv.QUERY_HEADER
org.apache.xalan.res.XSLTErrorResources_ko.QUERY_HEADER

Deprecated Methods
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.xsltc.dom.KeyIndex.cloneIterator()
org.apache.xalan.lib.sql.XConnection.disableDefaultConnectionPool() Use setFeature("default-pool-enabled", "false");
org.apache.xalan.lib.sql.XConnection.disableStreamingMode() Use setFeature("streaming", "false");
org.apache.xalan.lib.sql.XConnection.enableDefaultConnectionPool() Use setFeature("default-pool-enabled", "true");
org.apache.xalan.lib.sql.XConnection.enableStreamingMode() Use setFeature("streaming", "true");
org.apache.xalan.transformer.TransformerImpl.executeFromSnapshot(TransformSnapshot) This is an internal tooling API that nobody seems to be using
org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties(String) Use org.apache.xml.serializer.OuputPropertiesFactory. getDefaultMethodProperties directly.
org.apache.xalan.xsltc.dom.KeyIndex.getLast()
org.apache.xalan.serialize.Serializer.getOutputFormat() Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.Serializer.getOutputStream() Use org.apache.xml.serializer.Serializer
org.apache.xalan.xsltc.dom.KeyIndex.getPosition()
org.apache.xml.utils.DOMHelper.getRoot(Node)
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.xsltc.dom.KeyIndex.getStartNode()
org.apache.xalan.serialize.Serializer.getWriter() Use org.apache.xml.serializer.Serializer
org.apache.xalan.xsltc.dom.KeyIndex.gotoMark()
org.apache.xml.utils.DOMHelper.isIgnorableWhitespace(Text)
org.apache.xalan.xsltc.dom.KeyIndex.isReverse()
org.apache.xalan.xsltc.dom.KeyIndex.lookupId(Object)
org.apache.xalan.xsltc.dom.KeyIndex.lookupKey(Object)
org.apache.xalan.xsltc.dom.KeyIndex.merge(KeyIndex)
org.apache.xalan.xsltc.dom.KeyIndex.next()
org.apache.xalan.xsltc.runtime.BasisLibrary.positionF(DTMAxisIterator) This method exists only for backwards compatibility with old translets. New code should not reference it.
org.apache.xalan.serialize.Serializer.reset() Use org.apache.xml.serializer.Serializer
org.apache.xalan.xsltc.dom.KeyIndex.reset()
org.apache.xalan.transformer.TransformerImpl.resetToStylesheet(TransformSnapshot) This is an internal tooling API that nobody seems to be using
org.apache.xalan.xsltc.dom.KeyIndex.setMark()
org.apache.xalan.serialize.Serializer.setOutputFormat(Properties) Use org.apache.xml.serializer.Serializer
org.apache.xalan.serialize.Serializer.setOutputStream(OutputStream) Use org.apache.xml.serializer.Serializer
org.apache.xalan.xsltc.dom.KeyIndex.setStartNode(int)
org.apache.xalan.serialize.Serializer.setWriter(Writer) Use org.apache.xml.serializer.Serializer

Deprecated Constructors
org.apache.xalan.xsltc.dom.NodeSortRecordFactory(DOM, String, Translet, String[], String[]) This constructor is no longer used in generated code. It exists only for backwards compatibility.

Copyright © 2006 Apache XML Project. All Rights Reserved.