Method Summary |
|
ParserAdaptor | createParserAdaptor(String mimeType) Creates a Parser Adaptor for the given mime type
The Parser Adaptor implementation is configured in the service configuration.
Only MimeTypes of "text/html" and "text/xml" are currently supported.
Parameters: mimeType - The mimetype to create a parser adaptor for. |
Rewriter | createRewriter() Creates a basic rewriter that does not support rulesets configurations. |
RulesetRewriter | createRewriter(Ruleset ruleset) Creates a rewriter that supports rulesets configurations.
The rewriter uses the rulesets configuration to control rewriting.
The Rewriter implementation is configured in the service configuration.
Parameters: ruleset - The ruleset configuration to control the rewriter. |
Ruleset | loadRuleset(Reader reader) Loads a XML-based Rewriter Ruleset given a stream to the XML configuration.
Parameters: reader - The stream to the XML configuration. |
Ruleset | lookupRuleset(String id) Lookup a Ruleset given a ruleset identifier.
Parameters: id - The identifier for the Ruleset. |