java.lang.Object
javax.ide.extension.ElementVisitor
javax.ide.extension.MetaClassVisitor
- public abstract class MetaClassVisitor
- extends ElementVisitor
An abstract implementation of a visitor for manifest elements which
represent meta classes.
Subclasses provide an implementation of the
metaClass( ElementContext, MetaClass ) 55 to process the meta class
created for the visited xml element.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaClassVisitor
public MetaClassVisitor()
start
public final void start(ElementStartContext ctx)
- Description copied from class:
ElementVisitor
- Visit the start tag of an xml element.
This implementation does nothing.
- Overrides:
start in class ElementVisitor
end
public final void end(ElementEndContext ctx)
- Description copied from class:
ElementVisitor
- Visit the end tag of an xml element.
This implementation does nothing.
- Overrides:
end in class ElementVisitor
metaClass
protected abstract void metaClass(ElementContext context,
javax.ide.util.MetaClass mc)
- Called when a meta class is created. Subclasses will usually process or
store this meta class object.
getMetaClassLoader
protected java.lang.ClassLoader getMetaClassLoader(ElementContext context,
java.lang.String className)
- Get the classloader that should be associated with the specified class.
This implementation returns the current classloader from the context.