Package com.sun.xml.ws.encoding
Class XmlDataContentHandler
java.lang.Object
com.sun.xml.ws.encoding.XmlDataContentHandler
- All Implemented Interfaces:
javax.activation.DataContentHandler
JAF data handler for XML content
- Author:
- Jitendra Kotamraju
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContent(javax.activation.DataSource ds) Create an object from the input streamgetTransferData(DataFlavor df, javax.activation.DataSource ds) voidwriteTo(Object obj, String mimeType, OutputStream os) Convert the object to a byte stream
-
Constructor Details
-
XmlDataContentHandler
- Throws:
ClassNotFoundException
-
-
Method Details
-
getTransferDataFlavors
- Specified by:
getTransferDataFlavorsin interfacejavax.activation.DataContentHandler
-
getTransferData
- Specified by:
getTransferDatain interfacejavax.activation.DataContentHandler- Throws:
IOException
-
getContent
Create an object from the input stream- Specified by:
getContentin interfacejavax.activation.DataContentHandler- Throws:
IOException
-
writeTo
Convert the object to a byte stream- Specified by:
writeToin interfacejavax.activation.DataContentHandler- Throws:
IOException
-