| java.lang.Object velosurf.sql.ConfigLoader
ConfigLoader | public class ConfigLoader (Code) | | A configuration loader for the Database object.
author: Claude Brisson |
Method Summary | |
public static boolean | isTransaction(Element element) Check whether the action defined by this XML tree is a simple action or a transaction. | public void | loadConfig(InputStream config) Main method of the ConfigLoader. |
ConfigLoader | public ConfigLoader(Database db)(Code) | | Constructor.
Parameters: db - database |
ConfigLoader | public ConfigLoader(Database db, XIncludeResolver xincludeResolver)(Code) | | Constructor.
Parameters: db - database Parameters: xincludeResolver - <xi:include > tag resolver |
isTransaction | public static boolean isTransaction(Element element)(Code) | | Check whether the action defined by this XML tree is a simple action or a transaction.
Parameters: element - XML tree defining an action true if the action is a transaction |
loadConfig | public void loadConfig(InputStream config) throws Exception(Code) | | Main method of the ConfigLoader.
Parameters: config - the configuration input stream throws: Exception - |
|
|