站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 webservice API Documentation 英文版文档

XMLDataContentHandler (JBossWS API) - JBoss 4.0.1 sp1 webservice API Documentation 英文版文档


org.jboss.webservice.jaf
Class XMLDataContentHandler

java.lang.Object
  extended byorg.jboss.webservice.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.3 $
Author:
Scott.Stark@jboss.org

Constructor Summary
XMLDataContentHandler()
           
 
Method Summary
 Object getContent(javax.activation.DataSource dataSource)
           
 Object getTransferData(DataFlavor dataFlavor, javax.activation.DataSource dataSource)
           
 DataFlavor[] getTransferDataFlavors()
           
 void writeTo(Object obj, String mimeType, OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDataContentHandler

public XMLDataContentHandler()
Method Detail

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.