Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.persistence.config
Class DbConfigurationParser

public class DbConfigurationParser      
Parses XML based Db Bean configuration configuration.
DOM based parsing.
Author:
msimonsen
 
 

Field Summary
private final static String
private final static Logger
Method Summary
parse(InputSource source)
protected DbKeeperConfig
parse(Node node)
parse(InputStream xmlIns)
parse(String xml)
Field Detail
className
private final static String className
Final.
Multiplicity:
1
Static.
 

logger
private final static Logger logger
Final.
Multiplicity:
1
Static.
 
Method Detail
parse
public DbKeeperConfig parse (InputSource source)
 
Parses a String to return a configuration
DbKeeperConfig
for a
com.newstep.solid.persistence.CRUDKeeper
Parameters:
source - xml parsable inputsource
Exceptions:
PersistenceException throws Exception upon parsing errors.
Return:
the keeper configuration.
Throws:
PersistenceException
 

parse
protected DbKeeperConfig parse (Node node)
 
Provides package convenience method for DOM parsing.
Parameters:
node
Throws:
PersistenceException
Custom properties
return the:
keeper configuration.
 

parse
public DbKeeperConfig parse (InputStream xmlIns)
 
Parses an input stream to return a configuration
DbKeeperConfig
for a
com.newstep.solid.persistence.CRUDKeeper
Parameters:
xmlIns - xml parsable input stream
Exceptions:
PersistenceException - throws Exception upon parsing errors.
Throws:
PersistenceException
Custom properties
return the:
keeper configuration.
 

parse
public DbKeeperConfig parse (String xml)
 
Parses a String to return a configuration
DbKeeperConfig
for a
com.newstep.solid.persistence.CRUDKeeper
Parameters:
xml
Exceptions:
PersistenceException throws Exception upon parsing errors.
Return:
the keeper configuration.
Throws:
PersistenceException
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD