|
||||||||||
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(Method method)
Create a new StaticMethodRPFactory for a method. |
Method Summary | |
---|---|
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(Method method) throws IllegalArgumentException
method
- a Method to use
IllegalArgumentException
- if the Method is not statically scoped,
or does not return a ParserListener or take a single argument of type
TagValueListenerMethod Detail |
---|
public 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 |