public abstract class MetaClassVisitor extends ElementVisitor
Subclasses provide an implementation of the
metaClass( ElementContext, MetaClass ) to process the meta class
created for the visited xml element.
ElementVisitor.ResourceBundleProviderKEY_LOCATOR| Constructor and Description |
|---|
MetaClassVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
end(ElementEndContext ctx)
Visit the end tag of an xml element.
|
protected java.lang.ClassLoader |
getMetaClassLoader(ElementContext context,
java.lang.String className)
Get the classloader that should be associated with the specified class.
|
protected abstract void |
metaClass(ElementContext context,
MetaClass mc)
Called when a meta class is created.
|
void |
start(ElementStartContext ctx)
Visit the start tag of an xml element.
|
getAttributeHelper, getClassLoader, getMetaClassLoader, getResourceBundle, getResourceBundleProvider, getTextHelper, log, log, setResourceBundleProviderpublic final void start(ElementStartContext ctx)
ElementVisitorThis implementation does nothing.
start in class ElementVisitorctx - information about the xml start tag.public final void end(ElementEndContext ctx)
ElementVisitorThis implementation does nothing.
end in class ElementVisitorctx - information about the xml end tag.protected abstract void metaClass(ElementContext context, MetaClass mc)
context - the xml context in which the meta class was created.mc - the created meta class.protected java.lang.ClassLoader getMetaClassLoader(ElementContext context, java.lang.String className)
context - the current parsing context.className - the name of the class.