|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.virtualmock.rule.RuleParser
Parses VirtualMock configuration file.
| Field Summary | |
static java.lang.String |
RULES_CONFIG_PATH
constant for rules filename. |
| Constructor Summary | |
RuleParser()
|
|
| Method Summary | |
java.util.Map |
getRuleEnforcementLevels()
Get a Map of ruleEnforcementLevels. |
protected void |
parse()
The parse method of this Parser. |
protected void |
performParse(java.io.InputStream inputStream)
Perform the actual parsing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String RULES_CONFIG_PATH
| Constructor Detail |
public RuleParser()
| Method Detail |
public java.util.Map getRuleEnforcementLevels()
protected void parse()
java.lang.RuntimeException - if unable to obtain the input stream for file
protected void performParse(java.io.InputStream inputStream)
throws javax.xml.parsers.FactoryConfigurationError,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
inputStream - the input stream
javax.xml.parsers.FactoryConfigurationError - parsing exception
javax.xml.parsers.ParserConfigurationException - parsing exception
org.xml.sax.SAXException - parsing exception
java.io.IOException - parsing exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||