Deprecated API


Contents
Deprecated Classes
org.apache.axiom.om.impl.dom.jaxp.DocumentBuilderFactoryImpl
          This class has static methods that allow to switch between DOOM and the default DOM implementation as returned by JAXP. This was a hack introduced for Rampart. Recent versions of Rampart no longer rely on this hack. On the other hand usage of DocumentBuilderFactoryImpl.setDOOMRequired(boolean) in a concurrent environment can lead to unexpected behavior and severe bugs, as shown in WSCOMMONS-210 and AXIS2-1570. Due to the way DocumentBuilderFactoryImpl.newDocumentBuilder() is implemented, it is not possible to get rid of the setDOOMRequired hack without the risk of breaking existing code. Therefore this class has been deprecated in favor of DOOMDocumentBuilderFactory. 
org.apache.axiom.om.impl.dom.jaxp.DocumentBuilderImpl
          see DocumentBuilderFactoryImpl 
org.apache.axiom.om.impl.traverse.OMChildrenLegacyQNameIterator
            
org.apache.axiom.om.impl.llom.OMNamespaceImpl
          Use OMNamespaceImpl 
org.apache.axiom.om.impl.llom.util.XMLComparator
          This class is outdated. Please use XmlUnit to compate two xml files. 
 

Deprecated Fields
org.apache.axiom.om.impl.builder.StAXBuilder.isDataHandlerAware
            
 

Deprecated Methods
org.apache.axiom.om.impl.MIMEOutputUtils.complete(OutputStream, String, LinkedList, String, String, String, String)
          is anyone really using this? Invoked by MTOMXMLStreamWriter to write the SOAP Part and the attachemts 
org.apache.axiom.om.impl.MIMEOutputUtils.complete(OutputStream, StringWriter, LinkedList, String, String, String, String)
          - is anyone really using this? Write the SOAPPart and attachments 
org.apache.axiom.om.util.ElementHelper.getContentID(XMLStreamReader, String)
          use ElementHelper.getContentID(XMLStreamReader) instead (see WSCOMMONS-429) 
org.apache.axiom.attachments.Part.getFileName()
          The callers should not no how the part is implemented. 
org.apache.axiom.om.OMNamespace.getName()
          This method is deprecated. Please use getNamespaceURI() method instead. 
org.apache.axiom.om.OMText.getNamespace()
          This API is going away. Please use getTextAsQName() instead. 
org.apache.axiom.om.impl.builder.StAXBuilder.init(InputStream, String, String, String)
          Not used anywhere 
org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.isEquals_Legacy(QName, QName)
            
org.apache.axiom.om.util.StAXUtils.releaseXMLInputFactory(XMLInputFactory)
          Returns an XMLInputFactory instance for reuse. 
org.apache.axiom.om.util.StAXUtils.releaseXMLOutputFactory(XMLOutputFactory)
          Returns an XMLOutputFactory instance for reuse. 
org.apache.axiom.om.util.StAXUtils.reset()
            
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMAttribute, XMLStreamWriter)
          use serializeStartpart instead 
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OMElement, XMLStreamWriter)
          Consider using serializeStartpart instead 
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeNamespace(OMNamespace, XMLStreamWriter)
          Use serializeStartpart instead 
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeNamespaces(OMElement, XMLStreamWriter)
          Use serializeStartpart instead 
org.apache.axiom.om.impl.builder.StAXOMBuilder.setDoDebug(boolean)
            
org.apache.axiom.om.OMElement.setFirstChild(OMNode)
          This method should not be called, un-intentionally. When some one randomly set the first child, all the links handling will not happen inside this method. So we have moved this method to the less visible interface, OMContainerEx. 
 



Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.