org.optimizationservices.oscommon.representationparser
Class OSfLReader

java.lang.Object
  extended by org.optimizationservices.oscommon.representationparser.OSgLReader
      extended by org.optimizationservices.oscommon.representationparser.OSfLReader

public class OSfLReader
extends OSgLReader

The OSfLReader class parses an OSfL instance into a DOM tree and provides a set of "get" methods that can be used to retrieve different pieces of information of the instance.

Since:
OS 1.0
Version:
1.0, 03/14/2004
Author:
Robert Fourer, Jun Ma, Kipp Martin

Field Summary
 
Fields inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader
m_document
 
Constructor Summary
OSfLReader()
          Constructor.
OSfLReader(boolean validate)
          constructor
 
Method Summary
static void main(java.lang.String[] argv)
          main for test purposes.
 
Methods inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader
getDocument, getRootElement, isValidate, readFile, readString, setDocument, setRootElement, setValidate, writeToFile, writeToSring, writeToStandardOutput
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSfLReader

public OSfLReader(boolean validate)
constructor

Parameters:
validate - holds whether the reader should be validating against the schema or not.

OSfLReader

public OSfLReader()
Constructor.

Method Detail

main

public static void main(java.lang.String[] argv)
main for test purposes.

Parameters:
argv - command line arguments.