Package com.ibm.di.config.xml
Class PropertyStoreFactory
- java.lang.Object
-
- com.ibm.di.config.xml.Factories
-
- com.ibm.di.config.xml.PropertyStoreFactory
-
public class PropertyStoreFactory extends Factories
Read/WritePropertyManagerelements in XML
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTIES_TAGstatic java.lang.StringPROPERTY_CACHE_TIMEOUTstatic java.lang.StringPROPERTY_DEFAULT_STOREstatic java.lang.StringPROPERTY_INITIAL_LOADstatic java.lang.StringPROPERTY_KEYstatic java.lang.StringPROPERTY_NAMEFILTERstatic java.lang.StringPROPERTY_PASSWORD_STOREstatic java.lang.StringPROPERTY_RCstatic java.lang.StringPROPERTY_ROstatic java.lang.StringPROPERTY_STORE_TAGstatic java.lang.StringPROPERTY_VALUE-
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 PropertyStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(BaseConfiguration config, org.w3c.dom.Element elem)Generate a XML element from a configuration object.voidbuild(PropertyStoreConfig cc, org.w3c.dom.Element elem)voidparse(BaseConfiguration config, org.w3c.dom.Element elem)Parse a XML element into a configuration object.PropertyStoreConfigparse(PropertyManager pm, org.w3c.dom.Element elem)-
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
-
PROPERTIES_TAG
public static final java.lang.String PROPERTIES_TAG
- See Also:
- Constant Field Values
-
PROPERTY_STORE_TAG
public static final java.lang.String PROPERTY_STORE_TAG
- See Also:
- Constant Field Values
-
PROPERTY_RC
public static final java.lang.String PROPERTY_RC
- See Also:
- Constant Field Values
-
PROPERTY_KEY
public static final java.lang.String PROPERTY_KEY
- See Also:
- Constant Field Values
-
PROPERTY_VALUE
public static final java.lang.String PROPERTY_VALUE
- See Also:
- Constant Field Values
-
PROPERTY_RO
public static final java.lang.String PROPERTY_RO
- See Also:
- Constant Field Values
-
PROPERTY_NAMEFILTER
public static final java.lang.String PROPERTY_NAMEFILTER
- See Also:
- Constant Field Values
-
PROPERTY_INITIAL_LOAD
public static final java.lang.String PROPERTY_INITIAL_LOAD
- See Also:
- Constant Field Values
-
PROPERTY_CACHE_TIMEOUT
public static final java.lang.String PROPERTY_CACHE_TIMEOUT
- See Also:
- Constant Field Values
-
PROPERTY_DEFAULT_STORE
public static final java.lang.String PROPERTY_DEFAULT_STORE
- See Also:
- Constant Field Values
-
PROPERTY_PASSWORD_STORE
public static final java.lang.String PROPERTY_PASSWORD_STORE
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
public void parse(BaseConfiguration config, org.w3c.dom.Element elem) 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.elem- 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.
-
parse
public PropertyStoreConfig parse(PropertyManager pm, org.w3c.dom.Element elem) throws java.lang.Exception
- Throws:
java.lang.Exception
-
build
public void build(BaseConfiguration config, org.w3c.dom.Element elem) 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.elem- 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.
-
build
public void build(PropertyStoreConfig cc, org.w3c.dom.Element elem) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-