public interface ILinkRewriter
AbstractRewriter
Modifier and Type | Method and Description |
---|---|
ImportMode |
getImportMode() |
ImportMapping |
getMapping()
Returns the mapping object that describes the neccessary rewrite actions
|
boolean |
isExport()
If this is true, the rewriting operation is intended for an
export situation, i.e.
|
void |
rewrite(InputStream input,
OutputStream output)
|
ImportMapping getMapping()
boolean isExport()
getImportMode()
is ImportMode.EXPORT
.getImportMode()
void rewrite(InputStream input, OutputStream output) throws IOException, XMLStreamException
input
- the stream from which the rewriter readsoutput
- the stream to which the rewriter writes the rewritten codeIOException
- if reading or writing failsXMLStreamException
- on fatal errors during XML processing.ImportMode getImportMode()
Copyright © 2018 TextGrid. All rights reserved.