|
|||||||||
| 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.XTDLReader
public class XTDLReader
| Field Summary | |
|---|---|
static int |
RANGED_TYPE
denotes a RandedType |
static int |
RECORD_TYPE
denotes a RecordType |
static int |
SIMPLE_TYPE
denotes a simple UserType |
| Fields inherited from class edu.unh.sdb.common.XMLReader |
|---|
doc, inputFileName, keyElement, parser, verbose |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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 |
| 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 |
|---|
public static final int SIMPLE_TYPE
public static final int RANGED_TYPE
public static final int RECORD_TYPE
| Constructor Detail |
|---|
public XTDLReader(java.lang.String inf,
boolean v)
public XTDLReader(java.lang.String inf)
| Method Detail |
|---|
protected void setDefaults()
setDefaults in class XMLReaderpublic static void main(java.lang.String[] argv)
protected boolean processDoc()
processDoc in class XMLReaderpublic void addUserType(UserType t)
public java.lang.String getTypeName()
public UserTypeBuilder getBuilder()
public TypeTable getTypes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||