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

Quick Search    Search Deep

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

java.lang.Object
  extended byjavax.ide.extension.ElementVisitor
      extended byjavax.ide.extension.IconVisitor

public abstract class IconVisitor
extends ElementVisitor

Use IconVisitor for processing an XML element in the manifest that provides an icon.


Field Summary
private  I18NStringVisitor _delegate
           
 
Fields inherited from class javax.ide.extension.ElementVisitor
KEY_LOCATOR
 
Constructor Summary
IconVisitor()
           
 
Method Summary
 void end(ElementEndContext context)
          Visit the end tag of an xml element.
protected abstract  void icon(ElementContext context, javax.ide.util.IconDescription icon)
          Called when an icon is encountered.
 void start(ElementStartContext context)
          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
 

Field Detail

_delegate

private I18NStringVisitor _delegate
Constructor Detail

IconVisitor

public IconVisitor()
Method Detail

start

public void start(ElementStartContext context)
Description copied from class: ElementVisitor
Visit the start tag of an xml element.

This implementation does nothing.

Overrides:
start in class ElementVisitor

end

public void end(ElementEndContext context)
Description copied from class: ElementVisitor
Visit the end tag of an xml element.

This implementation does nothing.

Overrides:
end in class ElementVisitor

icon

protected abstract void icon(ElementContext context,
                             javax.ide.util.IconDescription icon)
Called when an icon is encountered.