当前页面:
在线文档首页 >
JBoss 3.2.7 .net API Documentation 英文版文档
XMLDataContentHandler (JBoss.Net API) - JBoss 3.2.7 .net API Documentation 英文版文档
org.jboss.net.axis.jaf
Class XMLDataContentHandler
java.lang.Object
org.jboss.net.axis.jaf.XMLDataContentHandler
- All Implemented Interfaces:
- javax.activation.DataContentHandler
- public class XMLDataContentHandler
- extends Object
- implements javax.activation.DataContentHandler
A JAF DataContentHandler for text/xml and application/xml that
supports the javax.xml.transform.Source type required by SAAJ
- Version:
- $Revision: 1.2.6.5 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLDataContentHandler
public XMLDataContentHandler()
getContent
public Object getContent(javax.activation.DataSource dataSource)
throws IOException
- Specified by:
getContent
in interface javax.activation.DataContentHandler
- Throws:
IOException
getTransferData
public Object getTransferData(DataFlavor dataFlavor,
javax.activation.DataSource dataSource)
throws UnsupportedFlavorException,
IOException
- Specified by:
getTransferData
in interface javax.activation.DataContentHandler
- Throws:
UnsupportedFlavorException
IOException
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interface javax.activation.DataContentHandler
writeTo
public void writeTo(Object obj,
String mimeType,
OutputStream os)
throws IOException
- Specified by:
writeTo
in interface javax.activation.DataContentHandler
- Throws:
IOException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.