public class XLDLReader extends XMLReader
doc, inputFileName, keyElement, parser, verbose
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
makeChildrenFloat, makeChildrenInteger, makeChildrenText, makeChildrenText1, parse, processArrayOfInt, setInputFileName, start, sToF, sToi, sToI, vectorToFloatArray, vectorToIntArray, vectorToIntArray
public XLDLReader(java.lang.String inf, boolean v, DataSourceCollection ds)
public XLDLReader(java.lang.String inf, boolean v)
public XLDLReader(java.lang.String inf)
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()