public final class PGEConfigFileWriter extends Object implements PGEConfigFileKeys, PGEDataParseKeys
A Configuration File Writer for PGEs.
COMMAND_LINE_PARAMETERS_GROUP, DYNAMIC_AUX_INPUT_FILES_GROUP, GEOMETRY_GROUP, INPUT_PRODUCT_FILES_GROUP, JOB_IDENTIFICATION_GROUP, LOG_METADATA_GROUP, MODE_GROUP, MONITOR_GROUP, MONITOR_LEVEL_GROUP, PGE_NAME_GROUP, PRIMARY_EXECUTABLE_GROUP, PRODUCT_PATH_GROUP, RECORDED_AUX_INPUT_FILES_GROUP, SCF_IDENTIFICATION_GROUP, SFIF_FILE_GROUP
COLS_ATTR, GROUP_TAG_NAME, MATRIX_COL_TAG, MATRIX_ROW_TAG, MATRIX_TAG_NAME, NAME_ATTR, PARSING_MATRIX, PARSING_SCALAR, PARSING_VEC, PGE_INPUT_TAG_NAME, ROWS_ATTR, SCALAR_TAG_NAME, UNSET, VECTOR_ELEMENT_TAG, VECTOR_TAG_NAME
Constructor and Description |
---|
PGEConfigFileWriter(PGEConfigurationFile config)
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
Document |
getConfigFileXml() |
String |
getSchemaLocation() |
boolean |
isUrlEncoding() |
void |
setSchemaLocation(String schemaLocation) |
void |
setUrlEncoding(boolean urlEncoding) |
void |
writeToXmlFile(String filePath)
Writes the ConfigurationFile to the specified filePath.
|
public PGEConfigFileWriter(PGEConfigurationFile config)
Default Constructor
.config
- The ConfigurationFile that this writer is responsible for writing.public void writeToXmlFile(String filePath) throws Exception
Writes the ConfigurationFile to the specified filePath.
filePath
- The filePath of the XML config file to write.Exception
- If any error occurs.public boolean isUrlEncoding()
public void setUrlEncoding(boolean urlEncoding)
urlEncoding
- The urlEncoding to set.public String getSchemaLocation()
public void setSchemaLocation(String schemaLocation)
schemaLocation
- The schemaLocation to set.Copyright © 1999–2017 Apache OODT. All rights reserved.