org.tromer.jie
Class InstrumConfig
java.lang.Object
|
+--org.tromer.jie.InstrumConfig
- public class InstrumConfig
- extends java.lang.Object
Represents a complete instrumentation configuration.
This class has the ability to load itself from an XML or DOM
representations using the IBM XML4J XML parser.
Field Summary |
GenericStaticFilter |
globalFilter
Global generic static filter |
java.lang.String |
input
Input directory or file |
java.lang.String |
output
Output directory or file |
java.util.Vector |
rules
List of instrumentation rules (instances of InstrumConfig.Rule |
Method Summary |
void |
readFromDOM(org.tromer.jie.Node root)
Read all values from a DOM tree, starting with a JIE element. |
void |
readFromXML(java.io.Reader cfgReader)
Read all values from an XML source. |
void |
reset()
Reset all fields to empty values |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
input
public java.lang.String input
- Input directory or file
output
public java.lang.String output
- Output directory or file
globalFilter
public GenericStaticFilter globalFilter
- Global generic static filter
rules
public java.util.Vector rules
- List of instrumentation rules (instances of
InstrumConfig.Rule
InstrumConfig
public InstrumConfig()
reset
public void reset()
- Reset all fields to empty values
readFromXML
public void readFromXML(java.io.Reader cfgReader)
throws InstrumConfig.ConfigErrorException,
java.io.IOException,
org.xml.sax.SAXException
- Read all values from an XML source. The provided
Reader
must contain well-formed XML with exactly one JIE element.
readFromDOM
public void readFromDOM(org.tromer.jie.Node root)
throws InstrumConfig.ConfigErrorException
- Read all values from a DOM tree, starting with a JIE element.