org.apache.oodt.pcs.input
Class PGEConfigFileWriter
java.lang.Object
org.apache.oodt.pcs.input.PGEConfigFileWriter
- All Implemented Interfaces:
- PGEConfigFileKeys, PGEDataParseKeys
public final class PGEConfigFileWriter
- extends Object
- implements PGEConfigFileKeys, PGEDataParseKeys
A Configuration File Writer for PGEs.
- Version:
- $Revision$
- Author:
- mattmann
| Fields inherited from interface org.apache.oodt.pcs.input.PGEConfigFileKeys |
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 |
| Fields inherited from interface org.apache.oodt.pcs.input.PGEDataParseKeys |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PGEConfigFileWriter
public PGEConfigFileWriter(PGEConfigurationFile config)
Default Constructor
.
- Parameters:
config - The ConfigurationFile that this writer is responsible for writing.
writeToXmlFile
public void writeToXmlFile(String filePath)
throws Exception
Writes the ConfigurationFile to the specified filePath.
- Parameters:
filePath - The filePath of the XML config file to write.
- Throws:
Exception - If any error occurs.
getConfigFileXml
public Document getConfigFileXml()
throws Exception
- Returns:
- An XML DOM
Document representation of the internal
PGEConfigurationFile.
- Throws:
Exception - If any error occurs.
isUrlEncoding
public boolean isUrlEncoding()
- Returns:
- Returns the urlEncoding.
setUrlEncoding
public void setUrlEncoding(boolean urlEncoding)
- Parameters:
urlEncoding - The urlEncoding to set.
getSchemaLocation
public String getSchemaLocation()
- Returns:
- Returns the schemaLocation.
setSchemaLocation
public void setSchemaLocation(String schemaLocation)
- Parameters:
schemaLocation - The schemaLocation to set.
Copyright © 1999-2011 Apache OODT. All Rights Reserved.