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

Quick Search    Search Deep

javax.ide.extension.spi
Class HookHandlerHook  view HookHandlerHook download HookHandlerHook.java

java.lang.Object
  extended byjavax.ide.extension.ElementVisitor
      extended byjavax.ide.extension.ExtensionHook
          extended byjavax.ide.extension.spi.HookHandlerHook

public class HookHandlerHook
extends javax.ide.extension.ExtensionHook

The hook-handler-hook implementation. This implementation takes a DefaultHookVisitorFactory in its constructor and registers handlers for custom hooks through this factory.


Nested Class Summary
private  class HookHandlerHook.HookHandlerVisitor
           
 
Field Summary
private  DefaultHookVisitorFactory _factory
           
private  javax.ide.extension.ElementVisitor _hookHandlerVisitor
           
static javax.ide.extension.ElementName ELEMENT
           
private  javax.ide.extension.ElementName HOOKHANDLER
           
 
Fields inherited from class javax.ide.extension.ExtensionHook
KEY_EXTENSION, KEY_RSBUNDLE_CLASS, MANIFEST_XMLNS
 
Fields inherited from class javax.ide.extension.ElementVisitor
KEY_LOCATOR
 
Constructor Summary
HookHandlerHook(DefaultHookVisitorFactory hookFactory)
          Constructs a new HookHandlerHook.
 
Method Summary
 void start(javax.ide.extension.ElementStartContext context)
          Visit the start tag of an xml element.
 
Methods inherited from class javax.ide.extension.ExtensionHook
getExtension, getRSBundleClass, resolvePath
 
Methods inherited from class javax.ide.extension.ElementVisitor
end, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT

public static final javax.ide.extension.ElementName ELEMENT

_factory

private final DefaultHookVisitorFactory _factory

HOOKHANDLER

private final javax.ide.extension.ElementName HOOKHANDLER

_hookHandlerVisitor

private javax.ide.extension.ElementVisitor _hookHandlerVisitor
Constructor Detail

HookHandlerHook

public HookHandlerHook(DefaultHookVisitorFactory hookFactory)
Constructs a new HookHandlerHook.

Method Detail

start

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

This implementation does nothing.