|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectmetricsOverlay.xml.MetricXMLReader
public class MetricXMLReader
Main class for reading in XML files. The file "metric.dtd" describes the appropriate XML format.
Constructor Summary | |
---|---|
MetricXMLReader(MetricDocument mDoc)
Constructor given an existing MetricDocument for the file. |
|
MetricXMLReader(java.lang.String fileName)
Main constructor. |
Method Summary | |
---|---|
java.lang.String |
getFileName()
|
MetricDocument |
getMetricDocument()
|
java.util.Map<java.lang.String,ActualMetric> |
getMetricMap()
|
void |
readXML(java.lang.String xmlFileName)
Reads a specific xmlFile |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetricXMLReader(java.lang.String fileName)
fileName
- A string to store the resultant file name.public MetricXMLReader(MetricDocument mDoc)
mDoc
- a document to contain all of the mappings etcMethod Detail |
---|
public void readXML(java.lang.String xmlFileName)
xmlFileName
- public java.lang.String getFileName()
public MetricDocument getMetricDocument()
public java.util.Map<java.lang.String,ActualMetric> getMetricMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |