Package org.jvnet.basicjaxb_annox.parser
Class XAnnotationFieldParser<T,V>
java.lang.Object
org.jvnet.basicjaxb_annox.parser.XAnnotationFieldParser<T,V>
- Direct Known Subclasses:
XAnnotationArrayAnnotationFieldParser,XAnnotationSingleAnnotationFieldParser,XArrayAnnotationFieldParser,XGenericFieldParser,XSingleAnnotationFieldParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract XAnnotationField<T><U> UgetAnnotationFieldValue(Annotation annotation, String name) abstract XAnnotationField<T>abstract XAnnotationField<T>parse(Annotation annotation, String name, Class<?> type) abstract XAnnotationField<T>
-
Constructor Details
-
XAnnotationFieldParser
public XAnnotationFieldParser()
-
-
Method Details
-
parse
public abstract XAnnotationField<T> parse(Element element, String name, Class<?> type) throws AnnotationElementParseException - Throws:
AnnotationElementParseException
-
parse
public abstract XAnnotationField<T> parse(japa.parser.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
-
getAnnotationFieldValue
public <U> U getAnnotationFieldValue(Annotation annotation, String name) throws NoSuchAnnotationFieldException - Throws:
NoSuchAnnotationFieldException
-