Deprecated API
Contents
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionUse the corresponding methods in
XMLStreamReaderUtilsinstead.useDummyLocation.INSTANCEinsteadThe features of this class are now implemented byOMMultipartWriter, which has as cleaner API and supports streaming of individual MIME parts, in particular the SOAP part.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 also doesn't return a valid URN with uuid NID. See AXIS2-4527 for more information.
-
Deprecated FieldsFieldDescriptionThis was used in old versions of Axis2 as the key identifying the attachments map in the message context. You should no longer use this.
-
Deprecated MethodsMethodDescriptionThe callers should not no how the part is implemented.Not used anywhereUse
OMMultipartWriterinstead.UseOMMultipartWriterinstead.This method is only useful in conjunction withMIMEOutputUtils.writeBodyPart(OutputStream, MimeBodyPart, String), which is deprecated.This method is only useful in conjunction withMIMEOutputUtils.writeBodyPart(OutputStream, MimeBodyPart, String), which is deprecated.UseOMMultipartWriterinstead.UseOMMultipartWriterinstead.UseOMMultipartWriterinstead.UseOMMultipartWriterinstead.UseOMMultipartWriterinstead.UseOMMultipartWriterinstead.Axiom only supports standard SwA messages. However,OMMultipartWriterprovides a flexible way to build MIME packages for non standard formats such as MM7.UseOMMultipartWriterinstead.Serialization code should useXMLStreamWriterUtils.writeDataHandler(XMLStreamWriter, DataHandler, String, boolean)orXMLStreamWriterUtils.writeDataHandler(XMLStreamWriter, org.apache.axiom.ext.stax.datahandler.DataHandlerProvider, String, boolean)to submit any binary content and let this writer decide whether the content should be written as base64 encoded character data or using xop:Include. This makes optimization entirely transparent for the caller and there should be no need to check if the writer is producing MTOM.Serialization code should useXMLStreamWriterUtils.writeDataHandler(XMLStreamWriter, DataHandler, String, boolean)orXMLStreamWriterUtils.writeDataHandler(XMLStreamWriter, org.apache.axiom.ext.stax.datahandler.DataHandlerProvider, String, boolean)to submit any binary content and let this writer decide whether the content should be written as base64 encoded character data or using xop:Include. Since the writer applies the settings defined inOMOutputFormat(including MTOM thresholds), there is not need for this method anymore.Serialization code should useXMLStreamWriterUtils.writeDataHandler(XMLStreamWriter, DataHandler, String, boolean)orXMLStreamWriterUtils.writeDataHandler(XMLStreamWriter, org.apache.axiom.ext.stax.datahandler.DataHandlerProvider, String, boolean)to submit any binary content and let this writer decide whether the content should be written as base64 encoded character data or using xop:Include.This method will be removed in a future version of Axiom. It is only here to maintain backward compatibility with projects using this method despite the fact that it is marked as internal.This method will be removed in a future version of Axiom. It is only here to maintain backward compatibility with projects using this method despite the fact that it is marked as internal.This method was used to work around a StAX conformance issue in early versions of the XL XP-J parser. This is now handled byStAXDialect, and this method always returnsfalse.use serializeStartpart insteadConsider using serializeStartpart insteadUse serializeStartpart insteadUse serializeStartpart insteadThis 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.This method is deprecated. Please use getNamespaceURI() method instead.This method is not meaningful on a node in general, but only on anOMElement.This method is not meaningful on a node in general, but only on anOMElement.This method is not meaningful on a node in general, but only on anOMElement.This method is not meaningful on a node in general, but only on anOMElement.This method is not meaningful on a node in general, but only on anOMElement.This method is not meaningful on a node in general, but only on anOMElement.This method is not meaningful on a node in general, but only on anOMElement.This method is not meaningful on a node in general, but only on anOMElement.This API is going away. Please use getTextAsQName() instead.This method will be removed in a future release of Axiom. SeeOMXMLStreamReader.setInlineMTOM(boolean)for more details.To return optimized base64 content as xop:Include elements, wrap the reader usingXOPEncodingStreamReaderor use the more genericXOPUtils.getXOPEncodedStream(XMLStreamReader)method. This method introduces unnecessary complexity in theXMLStreamReaderimplementation used by Axiom and will be removed in a future release.please use OMElement.getFirstChildWithName(qname) instead!useElementHelper.getContentID(XMLStreamReader)instead (see WSCOMMONS-429)UseXMLEventUtils.getEventTypeString(int)insteadReturns an XMLInputFactory instance for reuse.Returns an XMLOutputFactory instance for reuse.