|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.digester.plugins.RuleLoader | +--org.apache.commons.digester.plugins.strategies.LoaderFromStream
A rule-finding algorithm which loads an xmlplugins-format file.
Note that the "include" feature of xmlrules is not supported.
Field Summary | |
private byte[] |
input
|
private FromXmlRuleSet |
ruleSet
|
Constructor Summary | |
LoaderFromStream(java.io.InputStream s)
See load(java.io.InputStream) . |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private byte[] input
private FromXmlRuleSet ruleSet
Constructor Detail |
public LoaderFromStream(java.io.InputStream s) throws java.lang.Exception
load(java.io.InputStream)
.
Method Detail |
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |