Package org.jvnet.jaxb.annox.parser
Class XArrayAnnotationFieldParser<T,V>
- java.lang.Object
-
- org.jvnet.jaxb.annox.parser.XAnnotationFieldParser<T[],V[]>
-
- org.jvnet.jaxb.annox.parser.XArrayAnnotationFieldParser<T,V>
-
public class XArrayAnnotationFieldParser<T,V> extends XAnnotationFieldParser<T[],V[]>
-
-
Constructor Summary
Constructors Constructor Description XArrayAnnotationFieldParser(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
-
XArrayAnnotationFieldParser
public XArrayAnnotationFieldParser(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
-
construct
public XAnnotationField<T[]> construct(String name, V[] value, Class<?> type)
- Specified by:
constructin classXAnnotationFieldParser<T[],V[]>
-
parse
public XAnnotationField<T[]> parse(Annotation annotation, String name, Class<?> type) throws NoSuchAnnotationFieldException
- Specified by:
parsein classXAnnotationFieldParser<T[],V[]>- Throws:
NoSuchAnnotationFieldException
-
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
-
-