com.sun.mdm.index.configurator.impl.validation
Class ValidationConfiguration

java.lang.Object
  extended bycom.sun.mdm.index.configurator.impl.validation.ValidationConfiguration
All Implemented Interfaces:
ConfigurationInfo, java.io.Serializable

public class ValidationConfiguration
extends java.lang.Object
implements ConfigurationInfo

See Also:
Serialized Form

Field Summary
(package private) static java.lang.String TAG_RULE
           
(package private) static java.lang.String TAG_RULES
           
static java.lang.String VALIDATION_CONFIGURATION
          module name
 
Constructor Summary
ValidationConfiguration()
          Creates a new instance of ValidationConfiguration
 
Method Summary
 int finish()
          Finish.
 java.lang.String getModuleType()
          Get module type.
 java.util.Hashtable getValidatorsByObject()
          Get list of validators by object.
 java.util.Hashtable getValidatorsByRule()
          Get list of validators by rule.
 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

TAG_RULE

static final java.lang.String TAG_RULE
See Also:
Constant Field Values

TAG_RULES

static final java.lang.String TAG_RULES
See Also:
Constant Field Values

VALIDATION_CONFIGURATION

public static final java.lang.String VALIDATION_CONFIGURATION
module name

See Also:
Constant Field Values
Constructor Detail

ValidationConfiguration

public ValidationConfiguration()
Creates a new instance of ValidationConfiguration

Method Detail

finish

public int finish()
Finish.

Specified by:
finish in interface ConfigurationInfo
Returns:
result code.

getModuleType

public java.lang.String getModuleType()
Get module type.

Specified by:
getModuleType in interface ConfigurationInfo
Returns:
module type.

getValidatorsByObject

public java.util.Hashtable getValidatorsByObject()
Get list of validators by object.

Returns:
Hashtable, the registry for custom validation.

getValidatorsByRule

public java.util.Hashtable getValidatorsByRule()
Get list of validators by rule.

Returns:
Hashtable, the list of custom validator.

init

public int init()
Initialize.

Specified by:
init in interface ConfigurationInfo
Returns:
result code.

parse

public void parse(org.w3c.dom.Node node)
           throws ConfigurationException
Parse an XML node.

Specified by:
parse in interface ConfigurationInfo
Parameters:
node - XML node starting the configuration node.
Throws:
ConfigurationException - if there is an error in parsing the configuration XML file.


Sun Microsystems, Inc.