Package org.jvnet.jaxb.annox.parser
Class XAnnotationFieldParser<T,V>
- java.lang.Object
-
- org.jvnet.jaxb.annox.parser.XAnnotationFieldParser<T,V>
-
- Direct Known Subclasses:
XAnnotationArrayAnnotationFieldParser,XAnnotationSingleAnnotationFieldParser,XArrayAnnotationFieldParser,XGenericFieldParser,XSingleAnnotationFieldParser
public abstract class XAnnotationFieldParser<T,V> extends Object
-
-
Constructor Summary
Constructors Constructor Description XAnnotationFieldParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract XAnnotationField<T>construct(String name, V value, Class<?> type)<U> UgetAnnotationFieldValue(Annotation annotation, String name)abstract XAnnotationField<T>parse(com.github.javaparser.ast.expr.Expression expression, String name, Class<?> type)abstract XAnnotationField<T>parse(Annotation annotation, String name, Class<?> type)abstract XAnnotationField<T>parse(Element element, String name, Class<?> type)
-
-
-
Method Detail
-
parse
public abstract XAnnotationField<T> parse(Element element, String name, Class<?> type) throws AnnotationElementParseException
- Throws:
AnnotationElementParseException
-
parse
public abstract XAnnotationField<T> parse(com.github.javaparser.ast.expr.Expression expression, String name, Class<?> type) throws AnnotationExpressionParseException
-
parse
public abstract XAnnotationField<T> parse(Annotation annotation, String name, Class<?> type) throws NoSuchAnnotationFieldException
- Throws:
NoSuchAnnotationFieldException
-
construct
public abstract XAnnotationField<T> construct(String name, V value, Class<?> type)
-
getAnnotationFieldValue
public <U> U getAnnotationFieldValue(Annotation annotation, String name) throws NoSuchAnnotationFieldException
- Throws:
NoSuchAnnotationFieldException
-
-