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 interfaceXMLMessage.MessageDataSourceAccess aMessageas aDataSource.static classXMLMessage.UnknownContentDon't know about this content.static classXMLMessage.XMLMultiPartData 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 Messagecreate(Exception e)static Messagecreate(String ct, InputStream in, WSFeatureList f)static Messagecreate(javax.activation.DataSource ds, WSFeatureList f)static Messagecreate(Source source)static javax.activation.DataSourcecreateDataSource(String contentType, InputStream is)static javax.activation.DataSourcegetDataSource(Message msg, WSFeatureList f)static intidentifyContentType(ContentType contentType)static booleanisFastInfoset(String ct)Return true if the content uses fast infoset.protected static booleanisFastInfosetType(String type)protected static booleanisFastInfosetType(String primary, String sub)protected static booleanisXMLType(String type)protected static booleanisXMLType(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)
-
-