public class LoaderFromStream extends RuleLoader
Note that the "include" feature of xmlrules is not supported.
Modifier and Type | Field | Description |
---|---|---|
private byte[] |
input |
|
private FromXmlRuleSet |
ruleSet |
Constructor | Description |
---|---|
LoaderFromStream(java.io.InputStream s) |
Modifier and Type | Method | Description |
---|---|---|
void |
addRules(Digester d,
java.lang.String path) |
Add the rules previously loaded from the input stream into the
specified digester.
|
private void |
load(java.io.InputStream s) |
The contents of the input stream are loaded into memory, and
cached for later use.
|
private byte[] input
private FromXmlRuleSet ruleSet
public LoaderFromStream(java.io.InputStream s) throws java.lang.Exception
java.lang.Exception
private void load(java.io.InputStream s) throws java.io.IOException
The caller is responsible for closing the input stream after this method has returned.
java.io.IOException
public void addRules(Digester d, java.lang.String path) throws PluginException
addRules
in class RuleLoader
PluginException
Copyright 2001-2005 The Apache Software Foundation.