org.apache.commons.digester.xmlrules
public class DigesterLoader extends Object
Since: 1.2
Method Summary | |
---|---|
static Digester | createDigester(InputSource rulesSource)
Creates a new digester and initializes it from the specified InputSource |
static Digester | createDigester(InputSource rulesSource, Digester rulesDigester)
Creates a new digester and initializes it from the specified InputSource.
|
static Digester | createDigester(URL rulesXml)
Creates a new digester and initializes it from the specified XML file |
static Digester | createDigester(URL rulesXml, Digester rulesDigester)
Creates a new digester and initializes it from the specified XML file.
|
static Object | load(URL digesterRules, ClassLoader classLoader, URL fileURL)
Given the digester rules XML file, a class loader, and an XML input file,
this method parses the input file into Java objects. |
static Object | load(URL digesterRules, ClassLoader classLoader, InputStream input)
Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects. |
static Object | load(URL digesterRules, ClassLoader classLoader, Reader reader)
Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects. |
static Object | load(URL digesterRules, ClassLoader classLoader, URL fileURL, Object rootObject)
Given the digester rules XML file, a class loader, and an XML input file,
this method parses the input file into Java objects. |
static Object | load(URL digesterRules, ClassLoader classLoader, InputStream input, Object rootObject)
Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects. |
static Object | load(URL digesterRules, ClassLoader classLoader, Reader input, Object rootObject)
Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects. |
Parameters: rulesSource load the xml rules from this InputSource
Returns: a new Digester initialized with the rules
Parameters: rulesSource load the xml rules from this InputSource rulesDigester digester to load the specified XML file.
Returns: a new Digester initialized with the rules
Parameters: rulesXml URL to the XML file defining the digester rules
Returns: a new Digester initialized with the rules
Parameters: rulesXml URL to the XML file defining the digester rules rulesDigester digester to load the specified XML file.
Returns: a new Digester initialized with the rules
Parameters: digesterRules URL to the XML document defining the digester rules classLoader the ClassLoader to register with the digester fileURL URL to the XML file to parse into Java objects
Returns: an Object which is the root of the network of Java objects created by digesting fileURL
Parameters: digesterRules URL to the XML document defining the digester rules classLoader the ClassLoader to register with the digester input InputStream over the XML file to parse into Java objects
Returns: an Object which is the root of the network of Java objects created by digesting fileURL
Parameters: digesterRules URL to the XML document defining the digester rules classLoader the ClassLoader to register with the digester reader Reader over the XML file to parse into Java objects
Returns: an Object which is the root of the network of Java objects created by digesting fileURL
Parameters: digesterRules URL to the XML document defining the digester rules classLoader the ClassLoader to register with the digester fileURL URL to the XML file to parse into Java objects rootObject an Object to push onto the digester's stack, prior to parsing the input
Returns: an Object which is the root of the network of Java objects. Usually, this will be the same object as rootObject created by digesting fileURL
Parameters: digesterRules URL to the XML document defining the digester rules classLoader the ClassLoader to register with the digester input InputStream over the XML file to parse into Java objects rootObject an Object to push onto the digester's stack, prior to parsing the input
Returns: an Object which is the root of the network of Java objects created by digesting fileURL
Parameters: digesterRules URL to the XML document defining the digester rules classLoader the ClassLoader to register with the digester input Reader over the XML file to parse into Java objects rootObject an Object to push onto the digester's stack, prior to parsing the input
Returns: an Object which is the root of the network of Java objects created by digesting fileURL