Skip navigation links

Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01

## Deprecated API

Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Exceptions
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

Deprecated Interfaces
org.xml.sax.AttributeList This interface has been replaced by the SAX2 `Attributes` interface, which includes Namespace support.
org.xml.sax.DocumentHandler This interface has been replaced by the SAX2 `ContentHandler` interface, which includes Namespace support.
oracle.xml.parser.v2.NSName - use oracle.xml.util.NSName
org.xml.sax.Parser This interface has been replaced by the SAX2 `XMLReader` interface, which includes Namespace support.

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.
oracle.xml.transviewer.DBAccess Please use oracle.xml.dbaccess.DBAccess
oracle.xml.transviewer.DBAccessBeanInfo Please use oracle.xml.dbaccess.DBAccessBeanInfo
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.
oracle.xdb.dom.XDBAttribute as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLAttr
oracle.xdb.dom.XDBBinaryDocument as of Oracle Database 11g release 1
oracle.xdb.dom.XDBCData as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLCDATA
oracle.xdb.dom.XDBCharData as of Oracle Database 11g release 1, use oracle.xml.parser.v2.CharData
oracle.xdb.dom.XDBComment as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLComment
oracle.xdb.dom.XDBDocFragment as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLDocumentFragment
oracle.xdb.dom.XDBDocument as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLDocument
oracle.xdb.dom.XDBDocumentType as of Oracle Database 11g release 1, use oracle.xml.parser.v2.DTD
oracle.xdb.dom.XDBDomImplementation as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLDOMImplementation
oracle.xdb.dom.XDBElement as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLElement
oracle.xdb.dom.XDBEntity as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLEntity
oracle.xdb.dom.XDBEntityReference as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLEntityReference
oracle.xdb.dom.XDBNamedNodeMap as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLAttrList
oracle.xdb.dom.XDBNode as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLNode
oracle.xdb.dom.XDBNodeList as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLNodeList
oracle.xdb.dom.XDBNotation as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLNotation
oracle.xdb.dom.XDBProcInst as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLPI
oracle.xdb.dom.XDBText as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLText
oracle.xml.parser.schema.XSDConstants This class is replaced by XSDConstantValues

Deprecated Exceptions
oracle.xdb.dom.XDBDOMException as of Oracle Database 11g release 1, use oracle.xml.parser.v2.XMLDomException
oracle.xdb.dom.XDBDOMNotFoundErrException as of Oracle Database 11g release 1
oracle.xdb.dom.XDBNotImplementedException as of Oracle Database 11g release 1

Deprecated Fields
oracle.xml.sql.query.OracleXMLQuery.MAXROWS_DEFAULT since v2.0; Use `MAXROWS_ALL` instead
oracle.xml.sql.query.OracleXMLQuery.MAXROWS_NONE since v2.0; Use `0` instead
oracle.xml.sql.query.OracleXMLQuery.SKIPROWS_DEFAULT since v2.0; Use `0` instead
oracle.xml.sql.query.OracleXMLQuery.SKIPROWS_NONE since v2.0; Use `0` instead

Deprecated Methods
oracle.xml.parser.schema.XSDSimpleType.derivedFrom(XSDSimpleType, String, String)
oracle.xdb.servlet.XDBServletResponse.encodeRedirectUrl(String)
oracle.xdb.servlet.XDBServletResponse.encodeUrl(String)
oracle.xml.comp.CXMLHandlerBase.endElement(NSName) this is replaced by endElement(namespace, localName, qname)
oracle.xml.comp.CXMLHandlerBase.endElement(String, String, String) this is replaced by endElement(namespace, localName, qname)
oracle.xml.parser.v2.XSLStylesheet.error(String, int)
oracle.xml.parser.v2.XSLStylesheet.execute(XSLTContext) should use XSLProcessor.processXSL function
oracle.xml.parser.v2.XMLElement.getAttributeNode(String, String) As of DOM 2
oracle.xml.parser.schema.XSDComplexType.getAttributeSet() - use getAttributeDeclarations and getAttributeWildcard
oracle.xml.parser.schema.XMLSchemaNode.getAttributeSet() - use getAttributeDeclarations
oracle.xml.parser.schema.XSDComplexType.getBaseAttributeSet() - access from base type
oracle.xml.parser.schema.XSDComplexType.getBaseElementSet() - use get base type
oracle.xml.parser.schema.XMLSchemaNode.getComplexTypeTable()
oracle.xdb.XMLType.getDOM() use getDocument
oracle.xml.parser.v2.XMLDocument.getIDElement(String) As of DOM 2
oracle.xml.parser.v2.SAXAttrList.getName(int) as of SAX2 - Replaced by getLocalName(int i)
oracle.xml.parser.v2.SAXAttrList.getNamespace(int) as of SAX2 - Replaced by getURI(int i)
oracle.xml.parser.v2.XSLProcessor.getParam(String) - use getParam(String, String);
oracle.xml.jaxp.JXSAXParser.getParser() Use getXMLReader()
oracle.xml.parser.v2.XMLAttr.getPrevAttribute()
oracle.xml.parser.v2.XMLElement.getQualifiedName() - Use getNodeName
oracle.xml.parser.v2.SAXAttrList.getQualifiedName(int) as of SAX2 - Replaced by getQName(int i)
oracle.xdb.servlet.XDBServletRequest.getRealPath(String)
oracle.xdb.servlet.XDBServletContext.getServlet(String)
oracle.xdb.servlet.XDBServletContext.getServletNames()
oracle.xdb.servlet.XDBServletContext.getServlets()
oracle.xml.parser.schema.XMLSchemaNode.getSimpleTypeTable()
oracle.xml.sql.query.OracleXMLQuery.getXMLDOM(boolean) since 1.2.1; please use getXMLDOM(int) instead
oracle.xml.sql.query.OracleXMLQuery.getXMLString(boolean) since 1.2.1; please use getXMLString(int) instead
oracle.xml.parser.schema.XSDElement.isNullable() change to isNillable
oracle.xdb.servlet.XDBServletRequest.isRequestedSessionIdFromUrl()
oracle.xml.sql.query.OracleXMLQuery.keepCursorState(boolean) since 1.2.1; use keepObjectOpen instead.
oracle.xdb.servlet.XDBServletContext.log(Exception, String)
oracle.xml.parser.v2.XMLElement.normalize() As of DOM 2
oracle.xml.parser.v2.XSLStylesheet.removeParam(String) use XSLProcessor.removeParam to ensure thread safety
oracle.xml.parser.v2.XSLStylesheet.resetParams() use XSLProcessor.resetParams to ensure thread safety
oracle.xml.sql.query.OracleXMLQuery.setCollIdAttr(String) since 1.2.1; please use setCollIdAttrName instead.
oracle.xml.parser.v2.SAXParser.setDocumentHandler(DocumentHandler) as of SAX2.0 - Replaced by setContentHandler
oracle.xml.parser.v2.XSLStylesheet.setParam(String, String) use XSLProcessor.setParams to ensure thread safety
oracle.xml.sql.query.OracleXMLQuery.setRowIdColumn(String) since 1.2.1 -- please use setRowIdAttrValue instead.
oracle.xml.parser.v2.XMLParser.setSchemaValidationMode(boolean) Replaced by setValidationMode(int).
oracle.xdb.servlet.XDBServletResponse.setStatus(int, String)
oracle.xml.sql.query.OracleXMLQuery.setStyleSheet(String) since XSU2.0 -- please use `setStylesheetHeader` instead.
oracle.xml.sql.query.OracleXMLQuery.setStyleSheet(String, String) since XSU2.0 -- please use `setStylesheetHeader` instead.
oracle.xml.parser.v2.XMLParser.setValidationMode(boolean) Replaced by setValidationMode(int).
oracle.xml.parser.schema.XSDValidator.setXMLSchema(XMLSchema)

Deprecated Constructors
oracle.xml.parser.v2.XMLAttr() use createAttribute(String) or createAttributeNS(String, String) of XMLDocument
oracle.xml.parser.v2.XMLAttr(String, String) use createAttribute(String) method of XMLDocument
oracle.xml.parser.v2.XMLAttr(String, String, String, String) use createAttributeNS(String, String) method of XMLDocument
oracle.xml.parser.v2.XMLAttr(String, String, String, String, String) use crateAttribute(String) or createAttributeNS(String, String) of XMLDocument
oracle.xml.parser.v2.XMLCDATA() use createCDATASection(String) method of XMLDocument
oracle.xml.parser.v2.XMLCDATA(String) see createCDATASection(String) method of XMLDocument
oracle.xml.parser.v2.XMLComment() use createComment(String) method of XMLDocument
oracle.xml.parser.v2.XMLComment(String) use createComment(String) method of XMLDocument
oracle.xml.parser.v2.XMLDocumentFragment() use createDocumentFragment() method in XMLDocuemnt
oracle.xml.parser.v2.XMLEntityReference() use createEntityReference(String) method of XMLDocument
oracle.xml.parser.v2.XMLEntityReference(String) see createEntityReference(String) method of XMLDocuement
oracle.xml.parser.v2.XMLNotation() use XMLNotation(String)
oracle.xml.parser.v2.XMLPI() use createProcessingInstruction(String) method of XMLDocument
oracle.xml.parser.v2.XMLPI(String, String) see createProcessingInstruction(String) of XMLDocument
oracle.xml.parser.v2.XMLText() use createTextNode(String) of XMLDocument
oracle.xml.parser.v2.XMLText(String) use createTextNode(String) method of XMLDocument
oracle.xml.parser.schema.XSDSimpleType(int, String)
oracle.xml.parser.v2.XSLStylesheet() Use XSLProcessor.newXSLStylesheet instead
oracle.xml.parser.v2.XSLStylesheet(InputStream, URL) Use XSLProcessor.newXSLStylesheet instead
oracle.xml.parser.v2.XSLStylesheet(Reader, URL) Use XSLProcessor.newXSLStylesheet instead
oracle.xml.parser.v2.XSLStylesheet(URL, URL) Use XSLProcessor.newXSLStylesheet instead
oracle.xml.parser.v2.XSLStylesheet(XMLDocument, URL) Use XSLProcessor.newXSLStylesheet instead

Skip navigation links

Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01

Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.