public class DescriptorFactory extends Object
Modifier | Constructor and Description |
---|---|
protected |
DescriptorFactory()
This is a factory object no need for DescriptorFactory instance
|
Modifier and Type | Method and Description |
---|---|
static Object |
getDescriptor(String xmlPath) |
static Class |
getDescriptorClass(String xmlPath) |
static void |
register(XMLElement xmlPath,
Class clazz)
register a new descriptor class handling a particular XPATH in the DTD.
|
protected DescriptorFactory()
public static void register(XMLElement xmlPath, Class clazz)
xmlPath
- absolute or relative XPathclazz
- the descriptor class to usepublic static Class getDescriptorClass(String xmlPath)
Copyright © 2021. All rights reserved.