org.jvnet.annox.parser
Class XAnnotationFieldParser.XGenericFieldParser<T,V>

java.lang.Object
  extended by org.jvnet.annox.parser.XAnnotationFieldParser<T,V>
      extended by org.jvnet.annox.parser.XAnnotationFieldParser.XGenericFieldParser<T,V>
Enclosing class:
XAnnotationFieldParser<T,V>

public static class XAnnotationFieldParser.XGenericFieldParser<T,V>
extends XAnnotationFieldParser<T,V>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jvnet.annox.parser.XAnnotationFieldParser
XAnnotationFieldParser.XAnnotationItemArrayFieldParser, XAnnotationFieldParser.XAnnotationItemFieldParser, XAnnotationFieldParser.XAnnotationItemXArrayFieldParser, XAnnotationFieldParser.XAnnotationXItemFieldParser, XAnnotationFieldParser.XArrayFieldParser<T,V>, XAnnotationFieldParser.XBooleanArrayFieldParser, XAnnotationFieldParser.XBooleanFieldParser, XAnnotationFieldParser.XByteArrayFieldParser, XAnnotationFieldParser.XByteFieldParser, XAnnotationFieldParser.XCharArrayFieldParser, XAnnotationFieldParser.XCharFieldParser, XAnnotationFieldParser.XClassArrayFieldParser, XAnnotationFieldParser.XClassFieldParser, XAnnotationFieldParser.XDoubleArrayFieldParser, XAnnotationFieldParser.XDoubleFieldParser, XAnnotationFieldParser.XEnumArrayFieldParser, XAnnotationFieldParser.XEnumFieldParser, XAnnotationFieldParser.XFieldParser<T,V>, XAnnotationFieldParser.XFloatArrayFieldParser, XAnnotationFieldParser.XFloatFieldParser, XAnnotationFieldParser.XGenericFieldParser<T,V>, XAnnotationFieldParser.XIntArrayFieldParser, XAnnotationFieldParser.XIntFieldParser, XAnnotationFieldParser.XLongArrayFieldParser, XAnnotationFieldParser.XLongFieldParser, XAnnotationFieldParser.XShortArrayFieldParser, XAnnotationFieldParser.XShortFieldParser, XAnnotationFieldParser.XStringArrayFieldParser, XAnnotationFieldParser.XStringFieldParser
 
Field Summary
 
Fields inherited from class org.jvnet.annox.parser.XAnnotationFieldParser
ANNOTATION, ANNOTATION_ARRAY, BOOLEAN, BOOLEAN_ARRAY, BYTE, BYTE_ARRAY, CHAR, CHAR_ARRAY, CLASS, CLASS_ARRAY, DOUBLE, DOUBLE_ARRAY, ENUM, ENUM_ARRAY, FLOAT, FLOAT_ARRAY, GENERIC, INT, INT_ARRAY, LONG, LONG_ARRAY, SHORT, SHORT_ARRAY, STRING, STRING_ARRAY, XANNOTATION, XANNOTATION_ARRAY
 
Constructor Summary
XAnnotationFieldParser.XGenericFieldParser()
           
 
Method Summary
 XAnnotationField<T> construct(String name, V value, 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.annox.parser.XAnnotationFieldParser
detectType, getAnnotationFieldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XAnnotationFieldParser.XGenericFieldParser

public XAnnotationFieldParser.XGenericFieldParser()
Method Detail

parse

public XAnnotationField<T> parse(Element element,
                                 String name,
                                 Class<?> type)
                          throws AnnotationElementParseException
Specified by:
parse in class XAnnotationFieldParser<T,V>
Throws:
AnnotationElementParseException

parse

public XAnnotationField<T> parse(Annotation annotation,
                                 String name,
                                 Class<?> type)
                          throws NoSuchAnnotationFieldException
Specified by:
parse in class XAnnotationFieldParser<T,V>
Throws:
NoSuchAnnotationFieldException

construct

public XAnnotationField<T> construct(String name,
                                     V value,
                                     Class<?> type)
Specified by:
construct in class XAnnotationFieldParser<T,V>


Copyright © 2006-2012 Highsource. All Rights Reserved.