Package com.sun.xml.ws.encoding.xml
Class XMLMessage
- java.lang.Object
-
- com.sun.xml.ws.encoding.xml.XMLMessage
-
public final class XMLMessage extends Object
- Author:
- Jitendra Kotamraju
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
XMLMessage.MessageDataSource
Access aMessage
as aDataSource
.static class
XMLMessage.UnknownContent
Don't know about this content.static class
XMLMessage.XMLMultiPart
Data represented as a multi-part MIME message.
-
Constructor Summary
Constructors Constructor Description XMLMessage()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Message
create(Exception e)
static Message
create(String ct, InputStream in, WSFeatureList f)
static Message
create(javax.activation.DataSource ds, WSFeatureList f)
static Message
create(Source source)
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)
-
-
-
Method Detail
-
create
public static Message create(String ct, InputStream in, WSFeatureList f)
-
create
public static Message create(javax.activation.DataSource ds, WSFeatureList f)
-
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(String type)
-
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)
-
-