com.zphinx.spine.start.helpers.impl
Class RoleConfigHelper

java.lang.Object
  extended by com.zphinx.spine.start.helpers.AbstractConfigHelper
      extended by com.zphinx.spine.start.helpers.impl.RoleConfigHelper

public class RoleConfigHelper
extends AbstractConfigHelper

RoleConfigHelper reads an xml file of role data from the filesystem, this is used for initialization purposes.

Version:
$1.0

Copyright ©Zphinx Software Solutions

Author:
David Ladapo

Field Summary
 
Fields inherited from class com.zphinx.spine.start.helpers.AbstractConfigHelper
hash
 
Constructor Summary
RoleConfigHelper()
          Public Constructor
 
Method Summary
protected  void readNodeTypes(Node node, int type)
          Reads the different types of nodes e.g Element node
 void resetHelper()
          Resets the helper variables
 
Methods inherited from class com.zphinx.spine.start.helpers.AbstractConfigHelper
createConfig, createConfig, getNodeData, loopChildNodes, recurseNodeTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleConfigHelper

public RoleConfigHelper()
Public Constructor

Method Detail

readNodeTypes

protected void readNodeTypes(Node node,
                             int type)
                      throws NumberFormatException,
                             Throwable
Description copied from class: AbstractConfigHelper
Reads the different types of nodes e.g Element node

Specified by:
readNodeTypes in class AbstractConfigHelper
Parameters:
node - The node to read
type - The type of node to be read e.g Node.ELEMENT_NODE
Throws:
NumberFormatException
Throwable

resetHelper

public void resetHelper()
Description copied from class: AbstractConfigHelper
Resets the helper variables

Specified by:
resetHelper in class AbstractConfigHelper