-
- All Known Implementing Classes:
XMLMessage.UnknownContent,XMLMessage.XMLMultiPart
- Enclosing class:
- XMLMessage
public static interface XMLMessage.MessageDataSourceAccess aMessageas aDataSource.A
Messageimplementation will implement this if the messages is to be access as data source.TODO: consider putting as part of the API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataSourcegetDataSource()Get the data source.booleanhasUnconsumedDataSource()Check if the data source has been consumed.
-
-
-
Method Detail
-
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.
-
-