AXIOMUtil instead.Base64Utils instead.org.apache.axiom.blob.Blob instead.org.apache.axiom.blob.BlobDataSource instead.OMMultipartWriter instead.OMMultipartWriter instead.MIMEOutputUtils.writeBodyPart(OutputStream, MimeBodyPart, String), which is deprecated.MIMEOutputUtils.writeBodyPart(OutputStream, MimeBodyPart, String), which is deprecated.XMLStreamReaderUtils instead.DocumentBuilderFactoryImpl.setDOOMRequired(boolean) in a concurrent environment can
lead to unexpected behavior and severe bugs, as shown in
AXIOM-3 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.
Application code should always use DOMMetaFactory.newDocumentBuilderFactory()
to get an Axiom compatible DocumentBuilderFactory and should not attempt to
override the JVM's default DocumentBuilderFactory with an Axiom compatible
version.
DocumentBuilderFactoryImpl for the reason why this class is deprecated.OMAbstractFactory.getMetaFactory(String) with
OMAbstractFactory.FEATURE_DOM to get a meta factory for DOOM.DOMMetaFactory.newDocumentBuilderFactory() to get an Axiom compatible
DocumentBuilderFactory.DummyLocation.INSTANCE instead.OMMultipartWriter instead.AxiomMultipartWriterFactory. However,
AxiomMultipartWriterFactory exists for several releases now and has no known
issues. It should therefore always be used as MultipartWriterFactory
implementation.org.apache.axiom.blob.MemoryBlob instead.OMMultipartWriter, which
has as cleaner API and supports streaming of individual MIME parts, in particular the
SOAP part.MapBasedNamespaceContext instead.OMElement.getChildElements(), and this class should never be referenced
directly. It will be removed in Axiom 1.3.OMContainer.getChildrenWithLocalName(String), and this class should never be
referenced directly. It will be removed in Axiom 1.3.OMContainer.getChildrenWithNamespaceURI(String), and this class should never
be referenced directly. It will be removed in Axiom 1.3.OMContainer.getChildrenWithName(QName), and this class should never be
referenced directly. It will be removed in Axiom 1.3.OMContainer.getDescendants(boolean), and this class should never be
referenced directly. It will be removed in Axiom 1.3.OMNamespace instances should always be created using
OMFactory.createOMNamespace(String, String). This class will be removed in
Axiom 1.3.SAXResult that builds an Axiom tree, create an
OMDocument instance and call OMContainer.getSAXResult() on it.OMContainer.getSAXSource(boolean) instead of this class.OMXMLBuilderFactory instead.OMSource. Starting with Axiom 1.2.13,
application code should use OMContainer.getSAXSource(boolean) to serialize an OM tree to
SAX. If there is a need to obtain an XMLReader instance, use
SAXSource.getXMLReader() on the SAXSource returned by
OMContainer.getSAXSource(boolean).org.apache.axiom.blob.OverflowableBlob instead.OMXMLBuilderFactory.createOMBuilder(SAXSource, boolean) (if a
SAXSource is available or can be easily constructed), or create an
OMDocument (using OMFactory.createOMDocument()) and use
OMContainer.getSAXResult() to create a SAXResult for that document.
After writing the SAX events to the SAXResult, the root element of the
resulting tree can be retrieved using OMDocument.getOMDocumentElement(). If
the application code doesn't support SAXResult and needs to interface with a
ContentHandler directly, use SAXResult.getHandler() on the
SAXResult returned by OMContainer.getSAXResult().SizeAwareDataSourceOMMultipartWriter instead.OMText
instance to a StringBuffer, then request the DataHandler using
OMText.getDataHandler() and use
Base64EncodingStringBufferOutputStream to encode it.UIDGenerator class. In
contrast to what its name suggests, the UUIDGenerator.getUUID() method doesn't return a
UUID. It doesn't return a valid URN with uuid NID either. See AXIS2-4527 for more
information.WritableBlob instead.OMMultipartWriter instead.OMMultipartWriter instead.OMMultipartWriter instead.OMMultipartWriter instead.OMMultipartWriter
provides a flexible way to build MIME packages for non standard formats such as
MM7.OMMultipartWriter instead.XMLComparator which is deprecated.Copyright © The Apache Software Foundation. All Rights Reserved.