com.ibm.di.config.xml
Class SchemaFactory

java.lang.Object
  extended by com.ibm.di.config.xml.Factories
      extended by com.ibm.di.config.xml.SchemaFactory

public class SchemaFactory
extends Factories


Field Summary
static String SCHEMA_ITEM_DEFVAL
           
static String SCHEMA_ITEM_EXCLUDED
           
static String SCHEMA_ITEM_NAME
           
static String SCHEMA_ITEM_NATIVE
           
static String SCHEMA_ITEM_PRESENCE
           
static String SCHEMA_ITEM_REQINP
           
static String SCHEMA_ITEM_REQOUT
           
static String SCHEMA_ITEM_SAMPLE
           
static String SCHEMA_ITEM_SYNTAX
           
static String SCHEMA_ITEM_TAG
           
static String SCHEMA_TAG
           
 
Fields inherited from class com.ibm.di.config.xml.Factories
classMap, implMap, INHERIT_TAG, logger, NAME_ATTRIBUTE, NAME_TAG, PARAMETER_TAG, parent, USER_COMMENT_ATTRIBUTE, VALUE_ATTRIBUTE
 
Constructor Summary
SchemaFactory()
           
 
Method Summary
 void build(BaseConfiguration config, Element elem)
          Generate XML element from configuration object
 void getSchemaItem(Element elem, SchemaConfig config)
           
 void migrate(ConnectorConfig cc, Element elem)
           
protected  void migrateSchema(SchemaConfig cc, AttributeMapConfig amc, Element elem, boolean input)
           
 void migrateSchemaItem(Element elem, SchemaConfig config, AttributeMapConfig amc, boolean input)
           
 void parse(BaseConfiguration config, Element elem)
          Parse the Connector element into a ConnectorConfig
 void setSchemaItem(Element elem, SchemaItemConfig config)
           
 
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

SCHEMA_TAG

public static final String SCHEMA_TAG
See Also:
Constant Field Values

SCHEMA_ITEM_TAG

public static final String SCHEMA_ITEM_TAG
See Also:
Constant Field Values

SCHEMA_ITEM_NAME

public static final String SCHEMA_ITEM_NAME
See Also:
Constant Field Values

SCHEMA_ITEM_SYNTAX

public static final String SCHEMA_ITEM_SYNTAX
See Also:
Constant Field Values

SCHEMA_ITEM_NATIVE

public static final String SCHEMA_ITEM_NATIVE
See Also:
Constant Field Values

SCHEMA_ITEM_EXCLUDED

public static final String SCHEMA_ITEM_EXCLUDED
See Also:
Constant Field Values

SCHEMA_ITEM_REQINP

public static final String SCHEMA_ITEM_REQINP
See Also:
Constant Field Values

SCHEMA_ITEM_REQOUT

public static final String SCHEMA_ITEM_REQOUT
See Also:
Constant Field Values

SCHEMA_ITEM_DEFVAL

public static final String SCHEMA_ITEM_DEFVAL
See Also:
Constant Field Values

SCHEMA_ITEM_SAMPLE

public static final String SCHEMA_ITEM_SAMPLE
See Also:
Constant Field Values

SCHEMA_ITEM_PRESENCE

public static final String SCHEMA_ITEM_PRESENCE
See Also:
Constant Field Values
Constructor Detail

SchemaFactory

public SchemaFactory()
Method Detail

parse

public void parse(BaseConfiguration config,
                  Element elem)
           throws Exception
Parse the Connector element into a ConnectorConfig

Overrides:
parse in class Factories
Throws:
Exception

migrate

public void migrate(ConnectorConfig cc,
                    Element elem)
             throws Exception
Throws:
Exception

migrateSchema

protected void migrateSchema(SchemaConfig cc,
                             AttributeMapConfig amc,
                             Element elem,
                             boolean input)
                      throws Exception
Throws:
Exception

migrateSchemaItem

public void migrateSchemaItem(Element elem,
                              SchemaConfig config,
                              AttributeMapConfig amc,
                              boolean input)
                       throws Exception
Throws:
Exception

getSchemaItem

public void getSchemaItem(Element elem,
                          SchemaConfig config)
                   throws Exception
Throws:
Exception

build

public void build(BaseConfiguration config,
                  Element elem)
           throws Exception
Description copied from class: Factories
Generate XML element from configuration object

Overrides:
build in class Factories
Throws:
Exception

setSchemaItem

public void setSchemaItem(Element elem,
                          SchemaItemConfig config)
                   throws Exception
Throws:
Exception