|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.annodb.IndexedAnnotationDB.StaticMethodRPFactory
public static class IndexedAnnotationDB.StaticMethodRPFactory
An implementation of ParserListenerFactory that uses a static method.
Constructor Summary | |
---|---|
IndexedAnnotationDB.StaticMethodRPFactory(java.lang.reflect.Method method)
Create a new StaticMethodRPFactory for a method. |
Method Summary | |
---|---|
java.lang.reflect.Method |
getMethod()
Get the Method used. |
ParserListener |
getParserListener(TagValueListener tvl)
Get the ParserListener for a TagValueListener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexedAnnotationDB.StaticMethodRPFactory(java.lang.reflect.Method method) throws java.lang.IllegalArgumentException
method
- a Method to use
java.lang.IllegalArgumentException
- if the Method is not statically scoped,
or does not return a ParserListener or take a single argument of type
TagValueListenerMethod Detail |
---|
public java.lang.reflect.Method getMethod()
public ParserListener getParserListener(TagValueListener tvl)
IndexedAnnotationDB.ParserListenerFactory
getParserListener
in interface IndexedAnnotationDB.ParserListenerFactory
tvl
- the TagValueListener to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |