Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.extension
Class MetaClassVisitor  view MetaClassVisitor download MetaClassVisitor.java

java.lang.Object
  extended byjavax.ide.extension.ElementVisitor
      extended byjavax.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.


Field Summary
 
Fields inherited from class javax.ide.extension.ElementVisitor
KEY_LOCATOR
 
Constructor Summary
MetaClassVisitor()
           
 
Method Summary
 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, javax.ide.util.MetaClass mc)
          Called when a meta class is created.
 void start(ElementStartContext ctx)
          Visit the start tag of an xml element.
 
Methods inherited from class javax.ide.extension.ElementVisitor
log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaClassVisitor

public MetaClassVisitor()
Method Detail

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.