com.ibm.designer.domino.xsp.api.panels.complex
Class ConverterValidatorMatcherRegistry
java.lang.Object
com.ibm.commons.swt.util.registry.PluginRegistryReader
com.ibm.designer.domino.xsp.api.panels.complex.ConverterValidatorMatcherRegistry
public class ConverterValidatorMatcherRegistry
- extends com.ibm.commons.swt.util.registry.PluginRegistryReader
A registry that is used by Domino Designer to maintain relationships between XPage
converters and validators.
The registry is built using the extension point com.ibm.designer.domino.xsp.editor.converterValidatorMatcher
.
Methods inherited from class com.ibm.commons.swt.util.registry.PluginRegistryReader |
logError, logMissingAttribute, logMissingElement, logUnknownElement, readPluginRegistry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readElement
protected void readElement(org.eclipse.core.runtime.IConfigurationElement element)
- Specified by:
readElement
in class com.ibm.commons.swt.util.registry.PluginRegistryReader
getInstance
public static ConverterValidatorMatcherRegistry getInstance()
- Returns the singleton instance of the registry
- Returns:
- an instance of the registry
getValidatorForConverter
public XPagesKey getValidatorForConverter(XPagesKey converter)
- Given a converter the registry tries to resolve which validator should be used in
conjunction with the converter.
- Parameters:
converter
- an XPagesKey that describes the converter (namespace and tag name)
- Returns:
- an XPagesKey that described the corresponding validator, may be null.
- See Also:
XPagesKey