Package org.jvnet.jaxb.annox.parser
Class XGenericFieldParser<T,V>
java.lang.Object
org.jvnet.jaxb.annox.parser.XAnnotationFieldParser<T,V>
org.jvnet.jaxb.annox.parser.XGenericFieldParser<T,V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final XAnnotationFieldParser<?, ?> static final XAnnotationArrayAnnotationFieldParserstatic final XAnnotationFieldParser<Boolean, Boolean> static final XAnnotationFieldParser<Boolean[], Boolean[]> static final XAnnotationFieldParser<Byte, Byte> static final XAnnotationFieldParser<Byte[], Byte[]> static final XAnnotationFieldParser<Character, Character> static final XAnnotationFieldParser<Character[], Character[]> static final XAnnotationFieldParser<Class<?>, Class<?>> static final XAnnotationFieldParser<Class<?>[], Class<?>[]> static final XAnnotationFieldParser<Double, Double> static final XAnnotationFieldParser<Double[], Double[]> static final XAnnotationFieldParser<Enum<?>, Enum<?>> static final XAnnotationFieldParser<Enum<?>[], Enum<?>[]> static final XAnnotationFieldParser<Float, Float> static final XAnnotationFieldParser<Float[], Float[]> static final XGenericFieldParserstatic final XAnnotationFieldParser<Integer, Integer> static final XAnnotationFieldParser<Integer[], Integer[]> static final XAnnotationFieldParser<Long, Long> static final XAnnotationFieldParser<Long[], Long[]> static final XAnnotationFieldParser<Short, Short> static final XAnnotationFieldParser<Short[], Short[]> static final XAnnotationFieldParser<String, String> static final XAnnotationFieldParser<String[], String[]> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XAnnotationFieldParser<?, ?> detectType(Class<?> theClass) static <T,V> XAnnotationFieldParser <T, V> generic()parse(Annotation annotation, String name, Class<?> type) Methods inherited from class org.jvnet.jaxb.annox.parser.XAnnotationFieldParser
getAnnotationFieldValue
-
Field Details
-
BOOLEAN
-
BYTE
-
INT
-
LONG
-
SHORT
-
CHAR
-
CLASS
-
DOUBLE
-
FLOAT
-
ENUM
-
STRING
-
ANNOTATION
-
BOOLEAN_ARRAY
-
BYTE_ARRAY
-
INT_ARRAY
-
LONG_ARRAY
-
SHORT_ARRAY
-
CHAR_ARRAY
-
CLASS_ARRAY
-
DOUBLE_ARRAY
-
FLOAT_ARRAY
-
ENUM_ARRAY
-
STRING_ARRAY
-
ANNOTATION_ARRAY
-
GENERIC
-
-
Constructor Details
-
XGenericFieldParser
public XGenericFieldParser()
-
-
Method Details
-
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
- 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
-
generic
-
detectType
-