public static class IndexedAnnotationDB.StaticMethodRPFactory extends Object implements IndexedAnnotationDB.ParserListenerFactory
Constructor and Description |
---|
IndexedAnnotationDB.StaticMethodRPFactory(Method method)
Create a new StaticMethodRPFactory for a method.
|
Modifier and Type | Method and Description |
---|---|
Method |
getMethod()
Get the Method used.
|
ParserListener |
getParserListener(TagValueListener tvl)
Get the ParserListener for a TagValueListener.
|
public IndexedAnnotationDB.StaticMethodRPFactory(Method method) throws IllegalArgumentException
method
- a Method to useIllegalArgumentException
- if the Method is not statically scoped,
or does not return a ParserListener or take a single argument of type
TagValueListenerpublic ParserListener getParserListener(TagValueListener tvl)
IndexedAnnotationDB.ParserListenerFactory
getParserListener
in interface IndexedAnnotationDB.ParserListenerFactory
tvl
- the TagValueListener to processCopyright © 2014 BioJava. All rights reserved.