-
Deprecated InterfacesInterfaceDescriptionUse
Blobinstead.UseWritableBlobinstead.
-
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.Builderinstead.UseBlobOMDataSourceinstead.UseStringOMDataSourceinstead.UseBlobOMDataSourceCustomBuilderinstead.This class has been deprecated without replacement. Generally there is no need forOMDataSourceinstances that are pull based (i.e. use anXMLStreamReader) and that are destructive. For these scenarios, simply useOMXMLBuilderFactoryto create anOMElementand 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 anOMSourcedElementwith a destructiveOMDataSource.As described in AXIOM-419, this class has multiple issues and should no longer be used as a base class forOMDataSourceimplementations. Instead, useAbstractOMDataSource,AbstractPullOMDataSourceorAbstractPushOMDataSource.UseOMAbstractFactory.getMetaFactory(String)withOMAbstractFactory.FEATURE_DOMto get a meta factory for DOOM.UseDummyLocation.INSTANCEinstead.In order to create aSAXResultthat builds an Axiom tree, create anOMDocumentinstance and callOMContainer.getSAXResult()on it.UseAXIOMUtilinstead.UseMapBasedNamespaceContextinstead.This class is no longer maintained. Please use XmlUnit to compare XML documents.OMNamespaceinstances 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.UseBase64Utilsinstead.Please use one of the specialized methods in theUIDGeneratorclass. 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 theOMXMLBuilderFactoryAPI to create builders.Please use theOMXMLBuilderFactoryAPI to create builders.UseDataHandlerUtils.toDataHandler(org.apache.axiom.blob.Blob)andDataHandler.getDataSource()instead.UseMemoryBlobinstead.UseOverflowableBlobinstead.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_ATTRIBUTEinstead.UseXMLConstants.XMLNS_ATTRIBUTE_NS_URIinstead.UseXMLConstants.XML_NS_PREFIXinstead.UseXMLConstants.XML_NS_URIinstead.
-
Deprecated MethodsMethodDescriptionUse
OMFactory.importInformationItem(OMInformationItem)instead.UseContentType.isTextual()instead.This method has the same effect as callingOMInformationItem.clone(OMCloneOptions)on the sourceSOAPEnvelopewith 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 anOMDocumentand 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