edu.berkeley.cs.db.yfilterplus.dtdscanner
Class DTDStat
java.lang.Object
|
+--edu.berkeley.cs.db.yfilterplus.dtdscanner.DTDStat
- public class DTDStat
- extends java.lang.Object
Constructor Summary |
DTDStat(com.wutka.dtd.DTD dtd,
int maxValue)
Fills in the content of m_elements using dtd. |
DTDStat(java.lang.String dtdFilename)
|
DTDStat(java.lang.String dtdFilename,
int maxValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTDStat
public DTDStat(java.lang.String dtdFilename,
int maxValue)
DTDStat
public DTDStat(java.lang.String dtdFilename)
DTDStat
public DTDStat(com.wutka.dtd.DTD dtd,
int maxValue)
- Fills in the content of m_elements using dtd. it is a data structure
returned by DTDParser and contains a hashtable of all elements
and their contents, rootElement, etc. values of attributes or elements
have value from 1 to a random number between [1,20].
getRoot
public java.lang.String getRoot()
getElements
public java.util.Hashtable getElements()
getDTD
public com.wutka.dtd.DTD getDTD()
getReportStat
public java.lang.String getReportStat()
reportStat
public void reportStat()
printToFile
public void printToFile(java.lang.String filename)
main
public static void main(java.lang.String[] args)