|
|||||||||||
| 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(Object config)
|
|
| Method Summary | |
|---|---|
boolean |
flatten(List<String> excludedNS)
This method combines all values from this object and its inherited objects into one single config object. |
Object |
getClone()
Return self clone |
String |
getJavaClass()
|
SchemaConfig |
getSchema(boolean input)
|
SchemaConfig |
getSchema(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(Object config)
| Method Detail |
|---|
public String getJavaClass()
getJavaClass in interface ParserConfigpublic void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom in interface BaseConfigurationsetInheritsFrom in class BaseConfigurationImplinheritFrom - The new inheritsFrom value.
public Object getClone()
throws Exception
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplException
public boolean flatten(List<String> excludedNS)
throws Exception
BaseConfigurationImpl
flatten in interface BaseConfigurationflatten in class BaseConfigurationImplexcludedNS - 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
Exceptionpublic SchemaConfig getSchema(String name)
getSchema in interface ParserConfigname - the name of the schema - either "Input" or "Output"
public SchemaConfig getSchema(boolean input)
getSchema in interface ParserConfiginput - if true will return the input schema, otherwise will return
the output schema
public void init()
throws Exception
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImplException - if the initialization fails.
public void setupInheritanceChain()
throws Exception
BaseConfigurationImpl
setupInheritanceChain in interface BaseConfigurationsetupInheritanceChain in class BaseConfigurationImplException - if the operation could not be performed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||