net.simplace.core.customize.AbstractXMLConfiguration

Abstract config file with important functions for parsing and writing Data to ASCII Configfiles


public abstract class AbstractXMLConfiguration {
// Public Constructors
public AbstractXMLConfiguration(File aConfigFile, Element aConfiguration);
public AbstractXMLConfiguration(File aConfigFile, Element aConfiguration,
Map aParameterMap);
// Protected Constructors
protected AbstractXMLConfiguration();

// Protected Instance Variables
protected Document iDocument;
protected File iFile;
protected Element iConfiguration;

// Public Instance Methods
public void commit();

if is setModified() new Values will be written to config file.
public void replaceParametersFromMap(Map aParamMap);

only if set modified values will be written
public String getConfigurationParmeterValue(String aKey);

only if set modified values will be written
public void setModified();

only if set modified values will be written
public void setUnModified();

only if set modified values will be written
public String toString(); // Overrides java.lang.Object


// Protected Instance Methods
protected abstract void initializeFileValues();

has to be implemented by FileFields
protected abstract void commitValues();

has to be implemented by FileFields
protected String readValue(String aXPath);

protected void writeValue(String aValue, int aLineNumber, int
aBeginColumnNumber, int aEndColumnNumber);



}