|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RewriterController
RewriterService
Field Summary | |
---|---|
static String |
SERVICE_NAME
|
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. |
Rewriter |
createRewriter()
Creates a basic rewriter that does not support rulesets configurations. |
RulesetRewriter |
createRewriter(Ruleset ruleset)
Creates a rewriter that supports rulesets configurations. |
Ruleset |
loadRuleset(Reader reader)
Loads a XML-based Rewriter Ruleset given a stream to the XML configuration. |
Ruleset |
lookupRuleset(String id)
Lookup a Ruleset given a ruleset identifier. |
Field Detail |
---|
static final String SERVICE_NAME
Method Detail |
---|
Rewriter createRewriter() throws IllegalAccessException, InstantiationException
InstantiationException
IllegalAccessException
RulesetRewriter createRewriter(Ruleset ruleset) throws RewriterException
ruleset
- The ruleset configuration to control the rewriter.
RewriterException
ParserAdaptor createParserAdaptor(String mimeType) throws RewriterException
mimeType
- The mimetype to create a parser adaptor for.
RewriterException
Ruleset loadRuleset(Reader reader)
reader
- The stream to the XML configuration.
Ruleset lookupRuleset(String id)
id
- The identifier for the Ruleset.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |