de.unihalle.informatik.Alida.annotations.indexing
Class SezPozAdapter

java.lang.Object
  extended by de.unihalle.informatik.Alida.annotations.indexing.SezPozAdapter

public abstract class SezPozAdapter
extends java.lang.Object

Author:
moeller

Field Summary
protected static boolean debug
          For internal debugging purposes.
protected static boolean initDone
          Variable to check if init routine was called.
 
Method Summary
static void initAdapter()
          Initialization routine for this class.
static void initAdapter(java.lang.ClassLoader cl)
          Initialization routine for this class.
static
<A extends java.lang.annotation.Annotation,I>
net.java.sezpoz.Index<A,I>
load(java.lang.Class<A> annotation, java.lang.Class<I> instanceType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

protected static boolean debug
For internal debugging purposes.


initDone

protected static boolean initDone
Variable to check if init routine was called.

Method Detail

initAdapter

public static void initAdapter()
Initialization routine for this class.

This routine is to be called prior to accessing any of the methods of this class as it takes care of proper initialization of the class. If this does not happen, a warning is shown. Do not expect the class to work properly in that case.

Note that the method can be called multiple times during a session. However, changing initialization may change class behaviour.


initAdapter

public static void initAdapter(java.lang.ClassLoader cl)
Initialization routine for this class.

This routine is to be called prior to accessing any of the methods of this class as it takes care of proper initialization of the class. If this does not happen, a warning is shown. Do not expect the class to work properly in that case.

Note that the method can be called multiple times during a session. However, changing initialization may change class behaviour.

Parameters:
cl - Class loader to be used in accessing annotation indices.

load

public static <A extends java.lang.annotation.Annotation,I> net.java.sezpoz.Index<A,I> load(java.lang.Class<A> annotation,
                                                                                            java.lang.Class<I> instanceType)


Copyright © 2010-2014 Martin Luther University Halle-Wittenberg. All Rights Reserved.