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


Field Summary
protected  java.lang.String[] m_attributes
           
protected  double[] m_attrProbs
           
protected  boolean[] m_attrRequired
           
protected  java.lang.String[] m_childElements
           
protected  int[] m_noAttrValues
           
protected  int m_noDataValues
           
protected  boolean m_pcData
           
protected  Zipf m_zipf
           
 
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)
           
 
Method Summary
 java.lang.String[] getAttributes()
           
 int getAttrIndex(java.lang.String attr)
           
 double getAttrProb(int index)
           
 double[] getAttrProbs()
           
 boolean[] getAttrRequired()
           
 int[] getAttrValues()
           
 java.lang.String getChild(int childIndex)
           
 java.lang.String[] getChildren()
           
 int getNoAttrValues(int index)
           
 int getNoDataValues()
           
 boolean getPCData()
           
 int getSizeOfChildren()
           
 int getSizeOfNoAttrValues()
           
 Zipf getZipf()
           
 void print(java.lang.String eleName)
           
 void setZipf(Zipf z)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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)