public final class XMLMessage extends Object
Modifier and Type | Class and Description |
---|---|
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 and Description |
---|
XMLMessage() |
Modifier and Type | Method and Description |
---|---|
static com.sun.xml.ws.api.message.Message |
create(DataSource ds,
WSFeatureList f) |
static com.sun.xml.ws.api.message.Message |
create(Exception e) |
static com.sun.xml.ws.api.message.Message |
create(Source source) |
static com.sun.xml.ws.api.message.Message |
create(String ct,
InputStream in,
WSFeatureList f) |
static DataSource |
createDataSource(String contentType,
InputStream is) |
static DataSource |
getDataSource(com.sun.xml.ws.api.message.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) |
public static com.sun.xml.ws.api.message.Message create(String ct, InputStream in, WSFeatureList f)
public static com.sun.xml.ws.api.message.Message create(Source source)
public static com.sun.xml.ws.api.message.Message create(DataSource ds, WSFeatureList f)
public static com.sun.xml.ws.api.message.Message create(Exception e)
public static boolean isFastInfoset(String ct)
public static int identifyContentType(ContentType contentType)
protected static boolean isXMLType(String type)
protected static boolean isFastInfosetType(String type)
public static DataSource getDataSource(com.sun.xml.ws.api.message.Message msg, WSFeatureList f)
public static DataSource createDataSource(String contentType, InputStream is)
Copyright © 2015 Oracle Corporation. All rights reserved.