|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optimizationservices.oscommon.representationparser.OSgLWriter
org.optimizationservices.oscommon.representationparser.OSuLWriter
public class OSuLWriter
The OSuLWriter
class is used to construct an instance that follows
the OSuL format.
Field Summary |
---|
Fields inherited from class org.optimizationservices.oscommon.representationparser.OSgLWriter |
---|
m_document |
Constructor Summary | |
---|---|
OSuLWriter()
constructor. |
Method Summary | |
---|---|
boolean |
addURI(URI uri)
Add a uri match. |
static void |
main(java.lang.String[] argv)
main for test purposes. |
boolean |
setOSURI(OSURI osURI)
set the OSURI, a standard os uri/url interface. |
boolean |
setURIMatches(URI[] URIs)
Set URI matches. |
Methods inherited from class org.optimizationservices.oscommon.representationparser.OSgLWriter |
---|
getDocument, setDocument, writeToFile, writeToSring, writeToStandardOutput |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OSuLWriter()
Method Detail |
---|
public boolean setOSURI(OSURI osURI) throws java.lang.Exception
osURI
- holds the standard os uri interface.
java.lang.Exception
public boolean setURIMatches(URI[] URIs)
URIs
- holds an array of URIs.
Each member of the URI array is of a URI data structure. It contains information such as
the uri value, matchType, serviceName, licenceRequired, userNameRequired, passwordRequired.
URI
public boolean addURI(URI uri)
URI
- holds a uri match. It contains information such as
the uri value, matchType, serviceName, licenceRequired, userNameRequired, passwordRequired.
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 |