public class XDDLReader extends XMLReader
Modifier and Type | Field and Description |
---|---|
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<java.lang.Integer> |
lowerAxes
interim lower bounds specifications
|
protected DataSource[] |
publicDSArray
for PublicDS
|
protected java.util.ArrayList<java.lang.String> |
publicDSNameList |
protected java.util.Vector<java.lang.Integer> |
upperAxes
interim upper bounds specifications
|
doc, inputFileName, keyElement, parser, verbose
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
makeChildrenFloat, makeChildrenInteger, makeChildrenText, makeChildrenText1, parse, processArrayOfInt, setInputFileName, start, sToF, sToi, sToI, vectorToFloatArray, vectorToIntArray, vectorToIntArray
protected DataSourceCollection dsList
protected FDLDescriptor fdlDescriptor
protected java.util.Vector<java.lang.Integer> lowerAxes
protected java.util.Vector<java.lang.Integer> 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<java.lang.String> publicDSNameList
public XDDLReader(java.lang.String inf, boolean v)
public XDDLReader(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 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()