com.sun.xml.ws.encoding.xml
Class XMLMessage

java.lang.Object
  extended by com.sun.xml.ws.encoding.xml.XMLMessage

public final class XMLMessage
extends Object


Nested Class Summary
static interface XMLMessage.MessageDataSource
          Access a Message as a DataSource.
static class XMLMessage.UnknownContent
          Don't know about this content.
static class XMLMessage.XMLMultiPart
          Data represented as a multi-part MIME message.
 
Constructor Summary
XMLMessage()
           
 
Method Summary
static Message create(javax.activation.DataSource ds, WSFeatureList f)
           
static Message create(Exception e)
           
static Message create(Source source)
           
static Message create(String ct, InputStream in, WSFeatureList f)
           
static javax.activation.DataSource createDataSource(String contentType, InputStream is)
           
static javax.activation.DataSource getDataSource(Message msg, WSFeatureList f)
           
static int identifyContentType(ContentType contentType)
           
static boolean isFastInfoset(String ct)
          Return true if the content uses fast infoset.
protected static boolean isFastInfosetType(String type)
           
protected static boolean isFastInfosetType(String primary, String sub)
           
protected static boolean isXMLType(String type)
           
protected static boolean isXMLType(String primary, String sub)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLMessage

public XMLMessage()
Method Detail

create

public static Message create(String ct,
                             InputStream in,
                             WSFeatureList f)

create

public static Message create(Source source)

create

public static Message create(javax.activation.DataSource ds,
                             WSFeatureList f)

create

public static Message create(Exception e)

isFastInfoset

public static boolean isFastInfoset(String ct)
Return true if the content uses fast infoset.


identifyContentType

public static int identifyContentType(ContentType contentType)

isXMLType

protected static boolean isXMLType(@NotNull
                                   String primary,
                                   @NotNull
                                   String sub)

isXMLType

protected static boolean isXMLType(String type)

isFastInfosetType

protected static boolean isFastInfosetType(String primary,
                                           String sub)

isFastInfosetType

protected static boolean isFastInfosetType(String type)

getDataSource

public static javax.activation.DataSource getDataSource(Message msg,
                                                        WSFeatureList f)

createDataSource

public static javax.activation.DataSource createDataSource(String contentType,
                                                           InputStream is)


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.