public interface ILinkRewriter
AbstractRewriter
Modifier and Type | Method and Description |
---|---|
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()
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.Copyright © 2013 TextGrid. All Rights Reserved.