|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.config.xml.Factories
com.ibm.di.config.xml.BranchingFactory
public class BranchingFactory
Read/write BranchingConfig
and BranchCondition
elements in XML format.
Field Summary | |
---|---|
static String |
BRANCH_CONDITION_TAG
Name of the component. |
static String |
BRANCH_TAG
Name of the component. |
static String |
CASESENSITIVE_TAG
Name of the case sensitive tag. |
static String |
CONDITION_TAG
Name of the conditions tag. |
static String |
ENABLED_TAG
Name of the enabled tag. |
static String |
LEFT_HAND_TAG
Name of the left hand tag. |
static String |
MATCH_ANY_TAG
Name of the match any tag. |
static String |
NEGATE_TAG
Name of the negate tag. |
static String |
OPERATOR_TAG
Name of the operator tag. |
static String |
RIGHT_HAND_TAG
Name of the right hand tag. |
static String |
SCRIPT_TAG
Name of the script condition tag. |
static String |
TYPE_TAG
Name of the type tag. |
Fields inherited from class com.ibm.di.config.xml.Factories |
---|
classMap, implMap, INHERIT_TAG, logger, NAME_ATTRIBUTE, NAME_TAG, NULLBEHAVIOR, NULLBEHAVIORVALUE, NULLDEFINITION, NULLDEFINITIONVALUE, PARAMETER_TAG, parent, USER_COMMENT_ATTRIBUTE, VALUE_ATTRIBUTE |
Constructor Summary | |
---|---|
BranchingFactory()
|
Method Summary | |
---|---|
void |
build(BaseConfiguration bconfig,
Element elem)
Generate a XML element from a configuration object. |
void |
build(BranchCondition config,
Element elem)
Generate a XML Branch element from a configuration object. |
void |
build(BranchingConfig config,
Element elem)
Generate a XML Branch Condition element from a configuration object. |
void |
parse(BaseConfiguration bconfig,
Element elem)
Parse a XML element into a configuration object. |
void |
parse(BranchCondition config,
Element elem)
Parse a XML Branch Condition element into a configuration object. |
void |
parse(BranchingConfig config,
Element elem)
Parse a XML Branch element into a configuration object. |
Methods inherited from class com.ibm.di.config.xml.Factories |
---|
debug, dump, getBaseName, getClassTag, getFactory, getImpl, getInheritsFrom, getNodeText, getNodeTextByName, getParameter, getParameters, getSingleElement, isDebugMode, logmsg, setBaseName, setInheritsFrom, setParameter, setParameters, setSingleElement, setSingleElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BRANCH_TAG
public static final String BRANCH_CONDITION_TAG
public static final String ENABLED_TAG
public static final String SCRIPT_TAG
public static final String CONDITION_TAG
public static final String LEFT_HAND_TAG
public static final String RIGHT_HAND_TAG
public static final String OPERATOR_TAG
public static final String NEGATE_TAG
public static final String CASESENSITIVE_TAG
public static final String MATCH_ANY_TAG
public static final String TYPE_TAG
Constructor Detail |
---|
public BranchingFactory()
Method Detail |
---|
public void parse(BaseConfiguration bconfig, Element elem) throws Exception
parse
in class Factories
bconfig
- an instance of the BaseConfiguration
class which
internal parameters will get set based on the information from
the provided XML Element.elem
- this is a part of the XML tree that represents the
BaseConfiguration
object.
Exception
- in case the configuration object the provided XML element
represents is not recognized.public void build(BaseConfiguration bconfig, Element elem) throws Exception
build
in class Factories
bconfig
- an instance of the BaseConfiguration
class which
internal parameters will be represented as a XML sub-tree.elem
- this is the part of the XML tree where the config object's XML
representation will be attached to.
Exception
- in case the tag name of the provided XML element is not
recognized as a valid name which is used for configuration
object representation as a XML.public void parse(BranchingConfig config, Element elem) throws Exception
config
- an instance of the BaseConfiguration
class which
internal parameters will get set based on the information from
the provided XML Element.elem
- this is a part of the XML tree that represents the
BaseConfiguration
object.
Exception
- in case the configuration object the provided XML element
represents is not recognized.public void build(BranchingConfig config, Element elem) throws Exception
config
- an instance of the BaseConfiguration
class which
internal parameters will be represented as a XML sub-tree.elem
- this is the part of the XML tree where the config object's XML
representation will be attached to.
Exception
- in case the tag name of the provided XML element is not
recognized as a valid name which is used for configuration
object representation as a XML.public void build(BranchCondition config, Element elem) throws Exception
config
- an instance of the BaseConfiguration
class which
internal parameters will be represented as a XML sub-tree.elem
- this is the part of the XML tree where the config object's XML
representation will be attached to.
Exception
- in case the tag name of the provided XML element is not
recognized as a valid name which is used for configuration
object representation as a XML.public void parse(BranchCondition config, Element elem) throws Exception
config
- an instance of the BaseConfiguration
class which
internal parameters will get set based on the information from
the provided XML Element.elem
- this is a part of the XML tree that represents the
BaseConfiguration
object.
Exception
- in case the configuration object the provided XML element
represents is not recognized.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |