-
Deprecated InterfacesInterfaceDescriptionUse
Blob
instead.UseWritableBlob
instead.
-
Deprecated ClassesClassDescriptionThis class is no longer used and will be removed in Axiom 1.3. You may want to use Commons IO instead.Use
ContentType.Builder
instead.UseBlobOMDataSource
instead.UseStringOMDataSource
instead.UseBlobOMDataSourceCustomBuilder
instead.This class has been deprecated without replacement. Generally there is no need forOMDataSource
instances that are pull based (i.e. use anXMLStreamReader
) and that are destructive. For these scenarios, simply useOMXMLBuilderFactory
to create anOMElement
and add it to the tree. Since this operation will not expand the element (in Axiom 1.3.x), the result will be the same as using anOMSourcedElement
with a destructiveOMDataSource
.As described in AXIOM-419, this class has multiple issues and should no longer be used as a base class forOMDataSource
implementations. Instead, useAbstractOMDataSource
,AbstractPullOMDataSource
orAbstractPushOMDataSource
.UseOMAbstractFactory.getMetaFactory(String)
withOMAbstractFactory.FEATURE_DOM
to get a meta factory for DOOM.UseDummyLocation.INSTANCE
instead.In order to create aSAXResult
that builds an Axiom tree, create anOMDocument
instance and callOMContainer.getSAXResult()
on it.UseAXIOMUtil
instead.UseMapBasedNamespaceContext
instead.This class is no longer maintained. Please use XmlUnit to compare XML documents.OMNamespace
instances should always be created usingOMFactory.createOMNamespace(String, String)
. This class will be removed in Axiom 1.3.This is an internal implementation class that is no longer used.This type of iterator should always be created usingOMElement.getChildElements()
, and this class should never be referenced directly. It will be removed in Axiom 1.3.This type of iterator should always be created usingOMContainer.getChildrenWithLocalName(String)
, and this class should never be referenced directly. It will be removed in Axiom 1.3.This type of iterator should always be created usingOMContainer.getChildrenWithNamespaceURI(String)
, and this class should never be referenced directly. It will be removed in Axiom 1.3.This type of iterator should always be created usingOMContainer.getChildrenWithName(QName)
, and this class should never be referenced directly. It will be removed in Axiom 1.3.This type of iterator should always be created usingOMContainer.getDescendants(boolean)
, and this class should never be referenced directly. It will be removed in Axiom 1.3.UseBase64Utils
instead.Please use one of the specialized methods in theUIDGenerator
class. In contrast to what its name suggests, theUUIDGenerator.getUUID()
method doesn't return a UUID. It doesn't return a valid URN with uuid NID either. See AXIS2-4527 for more information.Please use theOMXMLBuilderFactory
API to create builders.Please use theOMXMLBuilderFactory
API to create builders.UseDataHandlerUtils.toDataHandler(org.apache.axiom.blob.Blob)
andDataHandler.getDataSource()
instead.UseMemoryBlob
instead.UseOverflowableBlob
instead.This class is no longer maintained.This class is no longer maintained.This class is no longer maintained.
-
Deprecated Exceptions
-
Deprecated FieldsFieldDescriptionThis constant was used in early prototypes of Axis2 and is no longer relevant.This constant was used in early prototypes of Axis2 and is no longer relevant.This constant was used in early prototypes of Axis2 and is no longer relevant.This constant was used in early prototypes of Axis2 and is no longer relevant.Use
XMLConstants.XMLNS_ATTRIBUTE
instead.UseXMLConstants.XMLNS_ATTRIBUTE_NS_URI
instead.UseXMLConstants.XML_NS_PREFIX
instead.UseXMLConstants.XML_NS_URI
instead.
-
Deprecated MethodsMethodDescriptionUse
OMFactory.importInformationItem(OMInformationItem)
instead.UseContentType.isTextual()
instead.This method has the same effect as callingOMInformationItem.clone(OMCloneOptions)
on the sourceSOAPEnvelope
with the following options enabled:OMCloneOptions.setFetchBlobs(boolean)
OMCloneOptions.setPreserveModel(boolean)
OMCloneOptions.setCopyOMDataSources(boolean)
OMInformationItem.clone(OMCloneOptions)
directly and fine tune the options for the particular use case.Instead useOMXMLBuilderFactory.createStAXOMBuilder(XMLStreamReader)
to create anOMDocument
and thenOMSerializable.serializeAndConsume(XMLStreamWriter)
to write to theXMLStreamWriter
.please use OMElement.getFirstChildWithName(qname) instead!useElementHelper.getContentID(XMLStreamReader)
instead (see AXIOM-129)UseOMElement.getTextAsStream(boolean)
instead.UseOMFactory.importInformationItem(OMInformationItem)
instead.The algorithm used by this method is incorrect. See AXIOM-356 for more details.The algorithm used by this method is incorrect. See AXIOM-356 for more details.UseSOAPFactory.createSOAPHeaderBlock(OMElement)
instead.UseOMElement.writeTextTo(Writer, boolean)
instead.
SizeAwareDataSource