|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.ParserConfigImpl
public class ParserConfigImpl
Implements the configuration for a Parser
Field Summary |
---|
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
---|
NAME |
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
---|
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE |
Constructor Summary | |
---|---|
ParserConfigImpl()
|
|
ParserConfigImpl(java.lang.Object config)
|
Method Summary | |
---|---|
boolean |
flatten(java.util.List<java.lang.String> excludedNS)
This method combines all values from this object and its inherited objects into one single config object. |
java.lang.Object |
getClone()
Return self clone |
java.lang.String |
getJavaClass()
|
SchemaConfig |
getSchema(boolean input)
|
SchemaConfig |
getSchema(java.lang.String name)
|
void |
init()
Called after internal data structure is set. |
void |
setInheritsFrom(BaseConfiguration inheritFrom)
We override this method to change the inherited object if we inherit from a connector. |
void |
setupInheritanceChain()
Established the inheritance chain for this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParserConfigImpl()
public ParserConfigImpl(java.lang.Object config)
Method Detail |
---|
public java.lang.String getJavaClass()
getJavaClass
in interface ParserConfig
public void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom
in interface BaseConfiguration
setInheritsFrom
in class BaseConfigurationImpl
inheritFrom
- The new inheritsFrom value.public java.lang.Object getClone() throws java.lang.Exception
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
java.lang.Exception
public boolean flatten(java.util.List<java.lang.String> excludedNS) throws java.lang.Exception
BaseConfigurationImpl
flatten
in interface BaseConfiguration
flatten
in class BaseConfigurationImpl
excludedNS
- List of namespaces to exclude from flattening
true
if object attempted flattening, FALSE is this
object inherits from an excluded namespace or has no inheritance
java.lang.Exception
public SchemaConfig getSchema(java.lang.String name)
getSchema
in interface ParserConfig
name
- the name of the schema - either "Input" or "Output"
public SchemaConfig getSchema(boolean input)
getSchema
in interface ParserConfig
input
- if true will return the input schema, otherwise will return
the output schema
public void init() throws java.lang.Exception
BaseConfigurationImpl
init
in interface BaseConfiguration
init
in class BaseConfigurationImpl
java.lang.Exception
- if the initialization fails.public void setupInheritanceChain() throws java.lang.Exception
BaseConfigurationImpl
setupInheritanceChain
in interface BaseConfiguration
setupInheritanceChain
in class BaseConfigurationImpl
java.lang.Exception
- if the operation could not be performed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |