|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.common.XMLReader
edu.unh.sdb.lattice.XLDLReader
public class XLDLReader
Field Summary |
---|
Fields inherited from class edu.unh.sdb.common.XMLReader |
---|
doc, inputFileName, keyElement, parser, verbose |
Constructor Summary | |
---|---|
XLDLReader(java.lang.String inf)
Takes an argument name of a file or URL as a String and sets verbose to false |
|
XLDLReader(java.lang.String inf,
boolean v)
Takes an argument name of a file or URL as a String and a verbose indicator |
|
XLDLReader(java.lang.String inf,
boolean v,
DataSourceCollection ds)
Takes an argument name of a file or URL as a String, a verbose indicator and a data source list |
Method Summary | |
---|---|
void |
addLattice(Lattice ls)
Adds a new lattice to the existing collection |
LatticeBuilder |
getCurrentLatticeBuilder()
Returns the current LatticeBuilder |
DataSourceCollection |
getDataSources()
Returns the list of Datasources |
java.lang.String |
getDSName()
Returns the datasource name |
LatticeBuilder |
getLatticeBuilder(java.lang.String name)
Returns the LatticeBuilder with the lattice name specified |
java.util.ArrayList |
getLatticeBuilders()
Returns the list of LatticeBuilder |
LatticeCollection |
getLattices()
Returns the list of Datasources |
static void |
main(java.lang.String[] argv)
main method used for testing the class |
boolean |
nameExists(java.lang.String newDSName)
Returns true/false if the name exists in the datasource collection |
protected boolean |
processDoc()
process the main document in the xml file |
protected void |
setDefaults()
Sets all pending values to null and sets the join flag to FALSE |
Methods inherited from class edu.unh.sdb.common.XMLReader |
---|
makeChildrenFloat, makeChildrenInteger, makeChildrenText, makeChildrenText1, parse, processArrayOfInt, setInputFileName, start, sToF, sToi, sToI, vectorToFloatArray, vectorToIntArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XLDLReader(java.lang.String inf, boolean v, DataSourceCollection ds)
public XLDLReader(java.lang.String inf, boolean v)
public XLDLReader(java.lang.String inf)
Method Detail |
---|
protected void setDefaults()
setDefaults
in class XMLReader
public static void main(java.lang.String[] argv)
protected boolean processDoc()
processDoc
in class XMLReader
public boolean nameExists(java.lang.String newDSName)
public void addLattice(Lattice ls)
public java.lang.String getDSName()
public java.util.ArrayList getLatticeBuilders()
public LatticeBuilder getCurrentLatticeBuilder()
public LatticeBuilder getLatticeBuilder(java.lang.String name)
public LatticeCollection getLattices()
public DataSourceCollection getDataSources()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |