public interface ContentIDGenerator
XOPEncodingStreamReader
to generate content IDs for use in xop:Include
elements.Modifier and Type | Field and Description |
---|---|
static ContentIDGenerator |
DEFAULT
Default content ID generator that preserves any existing content ID.
|
Modifier and Type | Method and Description |
---|---|
String |
generateContentID(String existingContentID)
Generate a content ID.
|
static final ContentIDGenerator DEFAULT
String generateContentID(String existingContentID)
existingContentID
- An existing content ID for the DataHandler
being
processed, as returned by
DataHandlerReader.getContentID()
,
or null
if no existing content ID is known. The implementation is
free to use this information or not.null
Copyright © The Apache Software Foundation. All Rights Reserved.