|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgeneticWedge.gp.io.XMLDataReader
public class XMLDataReader
This class contains static methods for reading XML files and returning NumericData objects.
Constructor Summary | |
---|---|
XMLDataReader()
|
Method Summary | |
---|---|
static NumericData |
readFile(java.lang.String uri,
java.lang.String[] dataNames,
java.lang.String label,
XMLTreeHandler.IncludeData dataMode)
Returns a NumericData object by reading an xml file located at uri. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLDataReader()
Method Detail |
---|
public static NumericData readFile(java.lang.String uri, java.lang.String[] dataNames, java.lang.String label, XMLTreeHandler.IncludeData dataMode)
uri
- A location, either web-based or localdataNames
- The names of the variables to be retrieved for use as datalabel
- The name of the variable to be used as a data labeldataMode
- Determines which data will be retrieved: ELEMENTS_AND_ATTRIBUTES, ELEMENTS_ONLY or ATTRIBUTES_ONLY
The labels will be saved and can be retrieved from the NumericData object by calling getLabels()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |