|
||||||||||
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.OSRegistryReader
public class OSRegistryReader
The
Field Summary |
---|
Fields inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader |
---|
m_document |
Constructor Summary | |
---|---|
OSRegistryReader()
Constructor. |
|
OSRegistryReader(boolean validate)
constructor |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get the OSRegistry description. |
NewsElement[] |
getNews()
Get the OSRegistry news. |
OSRegistry |
getOSRegistry()
get the standard OSRegistry, a local interface for storing Optimization Services registry. |
ServiceEntry |
getService(java.lang.String serviceURI)
Get an OSRegistry service. |
ServiceEntry[] |
getServices()
Get the OSRegistry services. |
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 OSRegistryReader(boolean validate)
validate
- holds whether the reader should be validating against the schema or not.public OSRegistryReader()
Method Detail |
---|
public OSRegistry getOSRegistry() throws java.lang.Exception
java.lang.Exception
- if there are errors getting the OSRegistry.public java.lang.String getDescription()
public NewsElement[] getNews()
NewsElement
public ServiceEntry[] getServices()
ServiceEntry
public ServiceEntry getService(java.lang.String serviceURI)
ServiceEntry
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 |