edu.berkeley.cs.db.yfilterplus.dtdscanner
Class dtdElement
java.lang.Object
|
+--edu.berkeley.cs.db.yfilterplus.dtdscanner.dtdElement
- public class dtdElement
- extends java.lang.Object
Constructor Summary |
dtdElement(java.util.HashSet children,
java.util.Hashtable attributes,
boolean pcData)
|
dtdElement(java.util.HashSet children,
java.util.Hashtable attributes,
boolean pcData,
int maxValue)
|
dtdElement(int dValues,
java.util.Vector subElements,
java.util.Vector attrs,
java.util.Vector attrRequired,
java.util.Vector attrProbs,
java.util.Vector attrValues,
boolean pcData)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_noDataValues
protected int m_noDataValues
m_childElements
protected java.lang.String[] m_childElements
m_zipf
protected Zipf m_zipf
m_attributes
protected java.lang.String[] m_attributes
m_attrRequired
protected boolean[] m_attrRequired
m_attrProbs
protected double[] m_attrProbs
m_noAttrValues
protected int[] m_noAttrValues
m_pcData
protected boolean m_pcData
dtdElement
public dtdElement(java.util.HashSet children,
java.util.Hashtable attributes,
boolean pcData,
int maxValue)
dtdElement
public dtdElement(java.util.HashSet children,
java.util.Hashtable attributes,
boolean pcData)
dtdElement
public dtdElement(int dValues,
java.util.Vector subElements,
java.util.Vector attrs,
java.util.Vector attrRequired,
java.util.Vector attrProbs,
java.util.Vector attrValues,
boolean pcData)
getSizeOfChildren
public int getSizeOfChildren()
getChildren
public java.lang.String[] getChildren()
getChild
public java.lang.String getChild(int childIndex)
getNoDataValues
public int getNoDataValues()
getAttributes
public java.lang.String[] getAttributes()
getAttrRequired
public boolean[] getAttrRequired()
getAttrProbs
public double[] getAttrProbs()
getAttrValues
public int[] getAttrValues()
getAttrIndex
public int getAttrIndex(java.lang.String attr)
getSizeOfNoAttrValues
public int getSizeOfNoAttrValues()
getNoAttrValues
public int getNoAttrValues(int index)
getAttrProb
public double getAttrProb(int index)
getPCData
public boolean getPCData()
setZipf
public void setZipf(Zipf z)
getZipf
public Zipf getZipf()
print
public void print(java.lang.String eleName)