Package org.jvnet.jaxb.annox.parser
Class XSingleAnnotationFieldParser<T,V>
- java.lang.Object
-
- org.jvnet.jaxb.annox.parser.XAnnotationFieldParser<T,V>
-
- org.jvnet.jaxb.annox.parser.XSingleAnnotationFieldParser<T,V>
-
public class XSingleAnnotationFieldParser<T,V> extends XAnnotationFieldParser<T,V>
-
-
Constructor Summary
Constructors Constructor Description XSingleAnnotationFieldParser(XAnnotationValueParser<T,V> annotationValueParser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XAnnotationField<T>construct(String name, V value, Class<?> type)XAnnotationField<T>parse(com.github.javaparser.ast.expr.Expression expression, String name, Class<?> type)XAnnotationField<T>parse(Annotation annotation, String name, Class<?> type)XAnnotationField<T>parse(Element element, String name, Class<?> type)-
Methods inherited from class org.jvnet.jaxb.annox.parser.XAnnotationFieldParser
getAnnotationFieldValue
-
-
-
-
Constructor Detail
-
XSingleAnnotationFieldParser
public XSingleAnnotationFieldParser(XAnnotationValueParser<T,V> annotationValueParser)
-
-
Method Detail
-
parse
public XAnnotationField<T> parse(Element element, String name, Class<?> type) throws AnnotationElementParseException
- Specified by:
parsein classXAnnotationFieldParser<T,V>- Throws:
AnnotationElementParseException
-
parse
public XAnnotationField<T> parse(Annotation annotation, String name, Class<?> type) throws NoSuchAnnotationFieldException
- Specified by:
parsein classXAnnotationFieldParser<T,V>- Throws:
NoSuchAnnotationFieldException
-
construct
public final XAnnotationField<T> construct(String name, V value, Class<?> type)
- Specified by:
constructin classXAnnotationFieldParser<T,V>
-
parse
public XAnnotationField<T> parse(com.github.javaparser.ast.expr.Expression expression, String name, Class<?> type) throws AnnotationExpressionParseException
- Specified by:
parsein classXAnnotationFieldParser<T,V>- Throws:
AnnotationExpressionParseException
-
-