Package com.sun.xml.ws.encoding.xml
Interface XMLMessage.MessageDataSource
- All Known Implementing Classes:
XMLMessage.UnknownContent,XMLMessage.XMLMultiPart
- Enclosing class:
- XMLMessage
public static interface XMLMessage.MessageDataSource
Access a
Message as a DataSource.
A Message implementation will implement this if the
messages is to be access as data source.
TODO: consider putting as part of the API.
-
Method Summary
Modifier and TypeMethodDescriptionGet the data source.booleanCheck if the data source has been consumed.
-
Method Details
-
hasUnconsumedDataSource
boolean hasUnconsumedDataSource()Check if the data source has been consumed.- Returns:
- true of the data source has been consumed, otherwise false.
-
getDataSource
DataSource getDataSource()Get the data source.- Returns:
- the data source.
-