info.textgrid.utils.linkrewriter
Class XMLLinkRewriter
java.lang.Object
info.textgrid.utils.linkrewriter.AbstractRewriter
info.textgrid.utils.linkrewriter.XMLLinkRewriter
- All Implemented Interfaces:
- ILinkRewriter
public class XMLLinkRewriter
extends AbstractRewriter
implements ILinkRewriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLLinkRewriter
protected XMLLinkRewriter(ImportMapping mapping,
boolean export)
rewrite
public void rewrite(InputStream input,
OutputStream output)
throws IOException,
XMLStreamException
- Description copied from interface:
ILinkRewriter
- Copies contents from input to output, rewriting
links according to the mapping and the
export setting, in an implementation dependent
manner.
- Specified by:
rewrite
in interface ILinkRewriter
- Specified by:
rewrite
in class AbstractRewriter
- Parameters:
input
- the stream from which the rewriter readsoutput
- the stream to which the rewriter writes the rewritten code
- Throws:
IOException
- if reading or writing fails
XMLStreamException
- on fatal errors during XML processing.
Copyright © 2012 TextGrid. All Rights Reserved.