|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.configurator.impl.MatchEngineConfig
Handles the the SBME Configuration files
Field Summary | |
static java.lang.String |
CFG_TYPE_MATCH
Configuration type to request match configuration files |
static java.lang.String |
CFG_TYPE_STANDARDIZATION
Configuration type to request standardization configuration files |
static java.lang.String |
MODULE_NAME
Module Name to use with the Configuration Service to load the Match Engine configuration |
Constructor Summary | |
MatchEngineConfig()
Creates new instance |
Method Summary | |
void |
addFile(java.lang.String configType,
java.lang.String name,
byte[] contents)
Adds a file to this configuration. |
int |
finish()
Finish. |
byte[] |
getFileContents(java.lang.String configType,
java.lang.String name)
Getter for the configuration file contents. |
byte[] |
getFileContents(java.lang.String configType,
java.lang.String name,
java.lang.String domain)
Getter for the configuration file contents. |
java.lang.String |
getModuleType()
Getter for ModuleType attribute object. |
int |
init()
Initialize. |
void |
parse(org.w3c.dom.Node node)
Parse an XML node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CFG_TYPE_MATCH
public static final java.lang.String CFG_TYPE_STANDARDIZATION
public static final java.lang.String MODULE_NAME
Constructor Detail |
public MatchEngineConfig()
Method Detail |
public void addFile(java.lang.String configType, java.lang.String name, byte[] contents)
configType
- The type of configuration files. Use the constants
CFG_TYPE_MATCH or CFG_TYPE_STANDARDIZATION.name
- The file name.contents
- The file contents.public int finish()
finish
in interface ConfigurationInfo
public byte[] getFileContents(java.lang.String configType, java.lang.String name)
configType
- The type of configuration files. Use the constants
CFG_TYPE_MATCH or CFG_TYPE_STANDARDIZATION.name
- The file name to get the file contents for.
public byte[] getFileContents(java.lang.String configType, java.lang.String name, java.lang.String domain)
configType
- the type of configuration files. Use the constants
CFG_TYPE_MATCH or CFG_TYPE_STANDARDIZATION.name
- The file name to get the file contents for.domain
- The domain name to get the file contents for.
public java.lang.String getModuleType()
getModuleType
in interface ConfigurationInfo
public int init()
init
in interface ConfigurationInfo
public void parse(org.w3c.dom.Node node) throws ConfigurationException
parse
in interface ConfigurationInfo
node
- XML node starting the configuration node.
ConfigurationException
- if there is an error in parsing the
configuration XML file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.