public class DigesterLoader
extends java.lang.Object
| Constructor and Description |
|---|
DigesterLoader() |
| Modifier and Type | Method and Description |
|---|---|
static Digester |
createDigester(org.xml.sax.InputSource rulesSource)
Creates a new digester and initializes it from the specified InputSource
|
static Digester |
createDigester(org.xml.sax.InputSource rulesSource,
Digester rulesDigester)
Creates a new digester and initializes it from the specified InputSource.
|
static Digester |
createDigester(java.net.URL rulesXml)
Creates a new digester and initializes it from the specified XML file
|
static Digester |
createDigester(java.net.URL rulesXml,
Digester rulesDigester)
Creates a new digester and initializes it from the specified XML file.
|
static java.lang.Object |
load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.io.InputStream input)
Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects.
|
static java.lang.Object |
load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.io.InputStream input,
java.lang.Object rootObject)
Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects.
|
static java.lang.Object |
load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.io.Reader reader)
Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects.
|
static java.lang.Object |
load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.io.Reader input,
java.lang.Object rootObject)
Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects.
|
static java.lang.Object |
load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.net.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 java.lang.Object |
load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.net.URL fileURL,
java.lang.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.
|
public static Digester createDigester(org.xml.sax.InputSource rulesSource)
rulesSource - load the xml rules from this InputSourcepublic static Digester createDigester(org.xml.sax.InputSource rulesSource, Digester rulesDigester)
rulesSource - load the xml rules from this InputSourcerulesDigester - digester to load the specified XML file.public static Digester createDigester(java.net.URL rulesXml)
rulesXml - URL to the XML file defining the digester rulespublic static Digester createDigester(java.net.URL rulesXml, Digester rulesDigester)
rulesXml - URL to the XML file defining the digester rulesrulesDigester - digester to load the specified XML file.public static java.lang.Object load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.net.URL fileURL)
throws java.io.IOException,
org.xml.sax.SAXException,
DigesterLoadingException
digesterRules - URL to the XML document defining the digester rulesclassLoader - the ClassLoader to register with the digesterfileURL - URL to the XML file to parse into Java objectsjava.io.IOExceptionorg.xml.sax.SAXExceptionDigesterLoadingExceptionpublic static java.lang.Object load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.io.InputStream input)
throws java.io.IOException,
org.xml.sax.SAXException,
DigesterLoadingException
digesterRules - URL to the XML document defining the digester rulesclassLoader - the ClassLoader to register with the digesterinput - InputStream over the XML file to parse into Java objectsjava.io.IOExceptionorg.xml.sax.SAXExceptionDigesterLoadingExceptionpublic static java.lang.Object load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.io.Reader reader)
throws java.io.IOException,
org.xml.sax.SAXException,
DigesterLoadingException
digesterRules - URL to the XML document defining the digester rulesclassLoader - the ClassLoader to register with the digesterreader - Reader over the XML file to parse into Java objectsjava.io.IOExceptionorg.xml.sax.SAXExceptionDigesterLoadingExceptionpublic static java.lang.Object load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.net.URL fileURL,
java.lang.Object rootObject)
throws java.io.IOException,
org.xml.sax.SAXException,
DigesterLoadingException
digesterRules - URL to the XML document defining the digester rulesclassLoader - the ClassLoader to register with the digesterfileURL - URL to the XML file to parse into Java objectsrootObject - an Object to push onto the digester's stack, prior
to parsing the inputjava.io.IOExceptionorg.xml.sax.SAXExceptionDigesterLoadingExceptionpublic static java.lang.Object load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.io.InputStream input,
java.lang.Object rootObject)
throws java.io.IOException,
org.xml.sax.SAXException,
DigesterLoadingException
digesterRules - URL to the XML document defining the digester rulesclassLoader - the ClassLoader to register with the digesterinput - InputStream over the XML file to parse into Java objectsrootObject - an Object to push onto the digester's stack, prior
to parsing the inputjava.io.IOExceptionorg.xml.sax.SAXExceptionDigesterLoadingExceptionpublic static java.lang.Object load(java.net.URL digesterRules,
java.lang.ClassLoader classLoader,
java.io.Reader input,
java.lang.Object rootObject)
throws java.io.IOException,
org.xml.sax.SAXException,
DigesterLoadingException
digesterRules - URL to the XML document defining the digester rulesclassLoader - the ClassLoader to register with the digesterinput - Reader over the XML file to parse into Java objectsrootObject - an Object to push onto the digester's stack, prior
to parsing the inputjava.io.IOExceptionorg.xml.sax.SAXExceptionDigesterLoadingExceptionCopyright 2001-2005 The Apache Software Foundation.