|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optimizationservices.oscommon.representationparser.OSgLReader
org.optimizationservices.oscommon.representationparser.OSRepositoryReader
public class OSRepositoryReader
The
Field Summary |
---|
Fields inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader |
---|
m_document |
Constructor Summary | |
---|---|
OSRepositoryReader()
Constructor. |
|
OSRepositoryReader(boolean validate)
constructor |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get the OSRepository description. |
RepositoryInstance |
getInstance(java.lang.String instanceName)
Get an OSRepository instance. |
RepositoryInstance[] |
getInstances()
Get the OSRepository instances. |
NewsElement[] |
getNews()
Get the OSRepository news. |
OSRepository |
getOSRepository()
get the standard OSRepository, a local interface for storing Optimization Services repository. |
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 |
---|
public OSRepositoryReader(boolean validate)
validate
- holds whether the reader should be validating against the schema or not.public OSRepositoryReader()
Method Detail |
---|
public OSRepository getOSRepository() throws java.lang.Exception
java.lang.Exception
- if there are errors getting the OSRepository.public java.lang.String getDescription()
public NewsElement[] getNews()
NewsElement
public RepositoryInstance[] getInstances()
RepositoryInstance
public RepositoryInstance getInstance(java.lang.String instanceName)
RepositoryInstance
public static void main(java.lang.String[] argv)
argv
- command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |