|Constructor and Description|
The contents of the input stream are loaded into memory, and cached for later use.
|Modifier and Type||Method and Description|
Configures the digester with custom rules for some plugged-in class.
public LoaderFromStream(InputStream s) throws Exception
The caller is responsible for closing the input stream after this method has returned.
s- the input stream has to be loaded into memory
Exception- if any error occurs while reading the input stream
public void addRules(Digester d, String path) throws PluginException
This method is invoked when the start of an xml tag is encountered which maps to a PluginCreateRule. Any rules added here are removed from the digester when the end of that xml tag is encountered.
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.