org.eclipse.higgins.configuration.xml
Class ConfigurationHandler
java.lang.Object
org.eclipse.higgins.configuration.xml.ConfigurationHandler
- All Implemented Interfaces:
- org.eclipse.higgins.configuration.api.IConfigurationHandler
- public class ConfigurationHandler
- extends Object
- implements org.eclipse.higgins.configuration.api.IConfigurationHandler
- Author:
- mikemci at us dot ibm dot com
ConfigurationHandler
public ConfigurationHandler()
- Constructor that initializes the class
getSettings
public Map getSettings()
throws Exception
- Specified by:
getSettings in interface org.eclipse.higgins.configuration.api.IConfigurationHandler
- Throws:
Exception
setConfigurationBase
public void setConfigurationBase(String strBase)
- Specified by:
setConfigurationBase in interface org.eclipse.higgins.configuration.api.IConfigurationHandler
setFileName
public void setFileName(String strFile)
toOM
public static org.apache.axiom.om.OMElement toOM(String strElement)
throws Exception
- Throws:
Exception
omFromFile
public static org.apache.axiom.om.OMElement omFromFile(String strFileName)
throws FileNotFoundException,
Exception
- Throws:
FileNotFoundException
Exception
omFromStream
public static org.apache.axiom.om.OMElement omFromStream(InputStream inputStream)
throws FileNotFoundException,
Exception
- Throws:
FileNotFoundException
Exception
configure
public boolean configure(Map mapConfigurationSettings)
throws Exception
- Specified by:
configure in interface org.eclipse.higgins.configuration.api.IConfigurationHandler
- Throws:
Exception
configure
public boolean configure(String strConfiguration,
Map mapConfigurationSettings)
throws Exception
- Throws:
Exception
configure
public boolean configure(org.apache.axiom.om.OMElement omConfiguration,
Map mapConfigurationSettings)
throws Exception
- Throws:
Exception