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