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, writeParameters
public 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)
CeaWriter
protected void writeContent() throws org.xml.sax.SAXException
CeaWriter
CeaWriter.writeDocument()
; presumably invokes
CeaWriter.writeParameters()
and CeaWriter.writeInterfaces()
.writeContent
in class CeaWriter
org.xml.sax.SAXException
public java.lang.String getSchemaLocation()
CeaWriter
getSchemaLocation
in class CeaWriter
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.