Package info.textgrid.utils.linkrewriter

A simple but generic link rewriting library.

See:
          Description

Interface Summary
Interface Description
ILinkRewriter A link rewriter can rewrite links according to a mapping file.
 

Class Summary
Class Description
AbstractReplacement The base class for replacements used in the link rewriter.
AbstractRewriter Abstract implementation of ILinkRewriter that can serve as a base class.
ConfigurableXMLRewriter The configurable XML rewriter allows you to configure where in an XML file link rewriting may occur.
ImportMapping  
SimpleTextRewriter A simple rewriter for plain-text files.
TokenReplacement A replacement that replaces on a token-by-token basis.
XMLLinkRewriter  
 

Package info.textgrid.utils.linkrewriter Description

A simple but generic link rewriting library. Currently supports plain-text files and XML files (non-schema aware), both with a rather broad and unconfigurable approach.

ImportMapping contains a 1:1 mapping between objects in TextGrid and other (local) objects, both represented by URIs. Its configuration is available as a (serializable) ImportSpec.



Copyright © 2012 TextGrid. All Rights Reserved.