|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.digester3.binder.AbstractRulesModule org.apache.commons.digester3.xmlrules.FromXmlRulesModule
public abstract class FromXmlRulesModule
RulesModule
implementation that allows loading rules from
XML files.
Constructor Summary | |
---|---|
FromXmlRulesModule()
|
Method Summary | |
---|---|
protected void |
configure()
Configures a RulesBinder via the exposed methods. |
Set<String> |
getSystemIds()
Returns the XML source SystemIds load by this module. |
protected abstract void |
loadRules()
|
protected void |
loadXMLRules(File file)
Opens a new org.xml.sax.InputSource given a java.io.File . |
protected void |
loadXMLRules(InputSource inputSource)
Reads the XML rules from the given org.xml.sax.InputSource . |
protected void |
loadXMLRules(InputStream input)
Opens a new org.xml.sax.InputSource given a java.io.InputStream . |
protected void |
loadXMLRules(Reader reader)
Opens a new org.xml.sax.InputSource given a java.io.Reader . |
protected void |
loadXMLRules(String uri)
Opens a new org.xml.sax.InputSource given a URI in String representation. |
protected void |
loadXMLRules(URL url)
Opens a new org.xml.sax.InputSource given a java.net.URL . |
protected void |
loadXMLRulesFromText(String xmlText)
Opens a new org.xml.sax.InputSource given an XML document in textual form. |
protected void |
useRootPath(String rootPath)
Set the root path (will be used when composing modules). |
Methods inherited from class org.apache.commons.digester3.binder.AbstractRulesModule |
---|
addError, addError, configure, forPattern, install, rulesBinder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FromXmlRulesModule()
Method Detail |
---|
protected void configure()
RulesBinder
via the exposed methods.
configure
in class AbstractRulesModule
protected abstract void loadRules()
protected final void loadXMLRules(InputSource inputSource)
org.xml.sax.InputSource
.
inputSource
- The org.xml.sax.InputSource
where reading the XML rules from.protected final void loadXMLRules(InputStream input)
org.xml.sax.InputSource
given a java.io.InputStream
.
input
- The java.io.InputStream
where reading the XML rules from.protected final void loadXMLRules(Reader reader)
org.xml.sax.InputSource
given a java.io.Reader
.
reader
- The java.io.Reader
where reading the XML rules from.protected final void loadXMLRules(File file)
org.xml.sax.InputSource
given a java.io.File
.
file
- The java.io.File
where reading the XML rules from.protected final void loadXMLRules(String uri)
org.xml.sax.InputSource
given a URI in String representation.
uri
- The URI in String representation where reading the XML rules from.protected final void loadXMLRules(URL url)
org.xml.sax.InputSource
given a java.net.URL
.
url
- The java.net.URL
where reading the XML rules from.protected final void loadXMLRulesFromText(String xmlText)
org.xml.sax.InputSource
given an XML document in textual form.
xmlText
- The XML document in textual form where reading the XML rules from.protected final void useRootPath(String rootPath)
rootPath
- The root pathpublic final Set<String> getSystemIds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |