|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.util.stax.xop.XOPEncodingStreamWrapper
public abstract class XOPEncodingStreamWrapper
Base class for XOPEncodingStreamReader and XOPEncodingStreamWriter.
| Constructor Summary | |
|---|---|
XOPEncodingStreamWrapper(ContentIDGenerator contentIDGenerator,
OptimizationPolicy optimizationPolicy)
|
|
| Method Summary | |
|---|---|
Set |
getContentIDs()
Get the set of content IDs referenced in xop:Include element information items produced by this wrapper. |
DataHandler |
getDataHandler(String contentID)
Get the DataHandler for the MIME part identified by a given content ID. |
boolean |
isLoaded(String contentID)
Check whether the MIME part identified by a given content ID has already been loaded. |
protected String |
processDataHandler(DataHandlerProvider dataHandlerProvider,
String existingContentID,
boolean optimize)
|
protected String |
processDataHandler(DataHandler dataHandler,
String existingContentID,
boolean optimize)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XOPEncodingStreamWrapper(ContentIDGenerator contentIDGenerator,
OptimizationPolicy optimizationPolicy)
| Method Detail |
|---|
protected String processDataHandler(DataHandler dataHandler,
String existingContentID,
boolean optimize)
throws IOException
IOException
protected String processDataHandler(DataHandlerProvider dataHandlerProvider,
String existingContentID,
boolean optimize)
throws IOException
IOExceptionpublic Set getContentIDs()
public boolean isLoaded(String contentID)
MimePartProvidertrue means that a call to MimePartProvider.getDataHandler(String) (for
the same content ID) will not block or will retrieve the DataHandler without
overhead.
isLoaded in interface MimePartProvidertrue if the MIME part has already been loaded; false
otherwise
public DataHandler getDataHandler(String contentID)
throws IOException
MimePartProviderDataHandler for the MIME part identified by a given content ID.
getDataHandler in interface MimePartProvidercontentID - a content ID referenced in an xop:Include element
DataHandler for the MIME part identified by the content ID; may not be
null
IOException - if an error occurred while loading the part
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||