public class ServiceCeaWriter extends CeaWriter
Modifier and Type | Field and Description |
---|---|
static String |
SCHEMA_LOCATION |
Constructor and Description |
---|
ServiceCeaWriter(PrintStream out,
CeaTask[] tasks,
CeaMetadata meta,
boolean redirects,
String cmdline)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
configure(String[] args)
Hook for additional configuration of concrete subclasses using
command-line flags.
|
String |
getSchemaLocation()
Returns the URL of the schema to which the output of this
object conforms.
|
static String |
getUsage() |
protected void |
writeContent()
Performs the implementation-specific output of XML elements.
|
endElement, main, startElement, startElement, writeDocument, writeInterfaces, writeParameters
addElement, endElement, formatAttribute, formatText, getIndent, getLevel, print, println, setOut, startElement, startElement, writeDeclaration
public static final String SCHEMA_LOCATION
public ServiceCeaWriter(PrintStream out, CeaTask[] tasks, CeaMetadata meta, boolean redirects, 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 String getUsage()
public int configure(String[] args)
CeaWriter
protected void writeContent() throws SAXException
CeaWriter
CeaWriter.writeDocument()
; presumably invokes
CeaWriter.writeParameters()
and CeaWriter.writeInterfaces()
.writeContent
in class CeaWriter
SAXException
public String getSchemaLocation()
CeaWriter
getSchemaLocation
in class CeaWriter
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.