public class ServiceCeaWriter extends CeaWriter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SCHEMA_LOCATION |
| Constructor and Description |
|---|
ServiceCeaWriter(java.io.PrintStream out,
CeaTask[] tasks,
CeaMetadata meta,
boolean redirects,
java.lang.String cmdline)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
configure(java.lang.String[] args)
Hook for additional configuration of concrete subclasses using
command-line flags.
|
java.lang.String |
getSchemaLocation()
Returns the URL of the schema to which the output of this
object conforms.
|
static java.lang.String |
getUsage() |
protected void |
writeContent()
Performs the implementation-specific output of XML elements.
|
endElement, main, startElement, startElement, writeDocument, writeInterfaces, writeParameterspublic static final java.lang.String SCHEMA_LOCATION
public ServiceCeaWriter(java.io.PrintStream out,
CeaTask[] tasks,
CeaMetadata meta,
boolean redirects,
java.lang.String cmdline)
out - output stream for XMLtasks - list of tasks to be described by the outputmeta - application description metadata objectredirects - true iff you want stdout/stderr parameters for
standard output/error redirectioncmdline - command line string, used for logging within the
output onlypublic static java.lang.String getUsage()
public int configure(java.lang.String[] args)
CeaWriterprotected void writeContent()
throws org.xml.sax.SAXException
CeaWriterCeaWriter.writeDocument(); presumably invokes
CeaWriter.writeParameters() and CeaWriter.writeInterfaces().writeContent in class CeaWriterorg.xml.sax.SAXExceptionpublic java.lang.String getSchemaLocation()
CeaWritergetSchemaLocation in class CeaWriterCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.