public class XTDLReader extends XMLReader
Modifier and Type | Field and Description |
---|---|
static int |
RANGED_TYPE
denotes a RandedType
|
static int |
RECORD_TYPE
denotes a RecordType
|
static int |
SIMPLE_TYPE
denotes a simple UserType
|
doc, inputFileName, keyElement, parser, verbose
Constructor and Description |
---|
XTDLReader(java.lang.String inf)
Takes an argument name of a file and default to non-verbose
|
XTDLReader(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 |
---|---|
void |
addUserType(UserType t)
adds a completed type to the TypeTable
|
UserTypeBuilder |
getBuilder()
returns the DataSourceBuilder to a new builder
|
java.lang.String |
getTypeName()
Returns the Type name
|
TypeTable |
getTypes()
returns the TypeTable collection class
|
static void |
main(java.lang.String[] argv)
main method used for testing the class
|
protected boolean |
processDoc()
process the main document in the xml file
|
protected void |
setDefaults()
Sets all pending values to null
|
makeChildrenFloat, makeChildrenInteger, makeChildrenText, makeChildrenText1, parse, processArrayOfInt, setInputFileName, start, sToF, sToi, sToI, vectorToFloatArray, vectorToIntArray, vectorToIntArray
public static final int SIMPLE_TYPE
public static final int RANGED_TYPE
public static final int RECORD_TYPE
public XTDLReader(java.lang.String inf, boolean v)
public XTDLReader(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 void addUserType(UserType t)
public java.lang.String getTypeName()
public UserTypeBuilder getBuilder()
public TypeTable getTypes()