public class XMLLinkRewriter extends AbstractRewriter implements ILinkRewriter
Modifier | Constructor and Description |
---|---|
protected |
XMLLinkRewriter(ImportMapping mapping,
boolean export) |
Modifier and Type | Method and Description |
---|---|
void |
rewrite(InputStream input,
OutputStream output)
|
getMapping, isExport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMapping, isExport
protected XMLLinkRewriter(ImportMapping mapping, boolean export)
public void rewrite(InputStream input, OutputStream output) throws IOException, XMLStreamException
ILinkRewriter
rewrite
in interface ILinkRewriter
rewrite
in class AbstractRewriter
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.