Package com.ibm.di.config.xml
Class SolutionInterfaceFactory
- java.lang.Object
-
- com.ibm.di.config.xml.Factories
-
- com.ibm.di.config.xml.SolutionInterfaceFactory
-
public class SolutionInterfaceFactory extends Factories
Read/WriteSolutionInterfaceelements in XML.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEXPOSED_PROPERTY_TAGstatic java.lang.StringEXPOSED_PROPERTY_TAGSstatic java.lang.StringSOLUTION_INTERFACE_TAG-
Fields inherited from class com.ibm.di.config.xml.Factories
classMap, implMap, INHERIT_TAG, logger, MOD_TS_TAG, NAME_ATTRIBUTE, NAME_TAG, NULLBEHAVIOR, NULLBEHAVIORVALUE, NULLDEFINITION, NULLDEFINITIONVALUE, PARAMETER_TAG, parent, USER_COMMENT_ATTRIBUTE, VALUE_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description SolutionInterfaceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(BaseConfiguration config, org.w3c.dom.Element element)Generate a XML element from a configuration object.voidparse(BaseConfiguration config, org.w3c.dom.Element element)Parse a XML 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
-
-
-
-
Field Detail
-
SOLUTION_INTERFACE_TAG
public static final java.lang.String SOLUTION_INTERFACE_TAG
- See Also:
- Constant Field Values
-
EXPOSED_PROPERTY_TAGS
public static final java.lang.String EXPOSED_PROPERTY_TAGS
- See Also:
- Constant Field Values
-
EXPOSED_PROPERTY_TAG
public static final java.lang.String EXPOSED_PROPERTY_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
build
public void build(BaseConfiguration config, org.w3c.dom.Element element) throws java.lang.Exception
Generate a XML element from a configuration object.- Overrides:
buildin classFactories- Parameters:
config- an instance of theBaseConfigurationclass which internal parameters will be represented as a XML sub-tree.element- this is the part of the XML tree where the config object's XML representation will be attached to.- Throws:
java.lang.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.
-
parse
public void parse(BaseConfiguration config, org.w3c.dom.Element element) throws java.lang.Exception
Parse a XML element into a configuration object.- Overrides:
parsein classFactories- Parameters:
config- an instance of theBaseConfigurationclass which internal parameters will get set based on the information from the provided XML Element.element- this is a part of the XML tree that represents theBaseConfigurationobject.- Throws:
java.lang.Exception- in case the configuration object the provided XML element represents is not recognized.
-
-