public class DescriptorRegistry
extends java.lang.Object
Constructor and Description |
---|
DescriptorRegistry() |
Modifier and Type | Method and Description |
---|---|
static DescriptorFactory |
get(java.lang.String s)
look up the factory used for the tag name
|
static void |
register(java.lang.String s,
DescriptorFactory factory)
register the factory used for the tag name.
|
public static void register(java.lang.String s, DescriptorFactory factory)
s
- the tag namefactory
- the factorypublic static DescriptorFactory get(java.lang.String s)
s
- the tag name