|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILinkRewriter
A link rewriter can rewrite links according to a mapping file.
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)
Copies contents from input to output, rewriting links according to the mapping and the export setting, in an implementation dependent manner. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |