|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XMLTextExtract
The interface for external modules to extract the text from an XML document.
Such modules are declared in /configuration/maps.xml
using the text-extract element as in the following example:
<text-extract>
<mime-type>text/xml</mime-type>
<mime-type>application/xml</mime-type>
<mime-type>* /*+xml</mime-type>
<class><name>be.re.repo.mod.TextExtractXML</name></class>
</text-extract>
| Method Summary | |
|---|---|
Reader |
get(String vcr,
String version,
XMLEventReader in,
String mimeType,
Context context)
The method should return the complete text from the document. |
| Method Detail |
|---|
Reader get(String vcr,
String version,
XMLEventReader in,
String mimeType,
Context context)
throws IOException,
XMLStreamException
vcr - the local path of the resource.version - the version path of the resource.in - the XML-stream for the document.mimeType - the MIME type of the document.context - the repository context.
IOException
XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||