|
|||||||||
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.datasource.XDDLReader
public class XDDLReader
Field Summary | |
---|---|
protected AxisOrdering |
axisOrdering
|
protected DataSourceBuilder |
dsBuilder
|
protected DataSourceCollection |
dsList
declare a table/list to hold the actual datasources |
protected java.lang.String |
dsName
|
protected static java.util.Hashtable |
endiannessList
|
protected FDLDescriptor |
fdlDescriptor
the FDLDescriptor that will hold all data for current FDL |
protected ISBounds |
isBounds
|
protected java.util.Vector |
lowerAxes
interim lower bounds specifications |
protected DataSource[] |
publicDSArray
for PublicDS |
protected java.util.ArrayList |
publicDSNameList
|
protected java.util.Vector |
upperAxes
interim upper bounds specifications |
Fields inherited from class edu.unh.sdb.common.XMLReader |
---|
doc, inputFileName, keyElement, parser, verbose |
Constructor Summary | |
---|---|
XDDLReader(java.lang.String inf)
Takes an argument name of a file or URL as a String and sets verbose to false |
|
XDDLReader(java.lang.String inf,
boolean v)
Takes an argument name of a file or URL as a String and a verbose indicator |
Method Summary | |
---|---|
DataSource[] |
getAllPublicDS()
|
ISBounds |
getBounds()
Returns the bounds of the Index Space for this FDLDescriptor. |
java.nio.ByteOrder |
getByteOrder(java.lang.String dsName)
Returns the endianness of the datasource specified by dsName |
DataSourceBuilder |
getDataSourceBuilder()
returns the DataSourceBuilder to a new builder * |
DataSourceCollection |
getDataSources()
Returns the list of Datasources |
java.lang.String |
getDSName()
Returns the datasource name |
FDLDescriptor |
getFDLDescriptor()
returns an FDLDescriptor object containing all of the files attributes |
DataSource |
getPublicDS(java.lang.String name)
|
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 |
void |
setBounds(ISBounds bounds)
Sets the bounds of the Index Space for this datasource. |
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 |
Field Detail |
---|
protected DataSourceCollection dsList
protected FDLDescriptor fdlDescriptor
protected java.util.Vector lowerAxes
protected java.util.Vector upperAxes
protected java.lang.String dsName
protected ISBounds isBounds
protected AxisOrdering axisOrdering
protected DataSourceBuilder dsBuilder
protected static java.util.Hashtable endiannessList
protected DataSource[] publicDSArray
protected java.util.ArrayList publicDSNameList
Constructor Detail |
---|
public XDDLReader(java.lang.String inf, boolean v)
public XDDLReader(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 FDLDescriptor getFDLDescriptor()
public void setBounds(ISBounds bounds)
public ISBounds getBounds()
public java.lang.String getDSName()
public DataSourceBuilder getDataSourceBuilder()
public DataSourceCollection getDataSources()
public java.nio.ByteOrder getByteOrder(java.lang.String dsName)
public DataSource getPublicDS(java.lang.String name)
public DataSource[] getAllPublicDS()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |