org.jvnet.annox.parser
Class XAnnotationParser

java.lang.Object
  extended by org.jvnet.annox.parser.XAnnotationParser

public class XAnnotationParser
extends Object


Field Summary
static XAnnotationParser GENERIC
           
 
Constructor Summary
XAnnotationParser()
           
 
Method Summary
 XAnnotation parse(Annotation annotation)
           
 XAnnotation[] parse(Annotation[] annotations)
           
 XAnnotation parse(Element annotationElement)
           
 XAnnotation[] parse(Element[] annotationElements)
           
 XAnnotationField<?> parseField(Annotation annotation, String name, Class type)
           
 XAnnotationField<?> parseField(Element annotationElement, String name, Class type)
           
 XAnnotationField<?>[] parseFields(Annotation annotation)
           
 XAnnotationField<?>[] parseFields(Element annotationElement, Class<? extends Annotation> annotationClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GENERIC

public static final XAnnotationParser GENERIC
Constructor Detail

XAnnotationParser

public XAnnotationParser()
Method Detail

parse

public XAnnotation parse(Annotation annotation)

parse

public XAnnotation[] parse(Annotation[] annotations)

parse

public XAnnotation parse(Element annotationElement)
                  throws AnnotationElementParseException
Throws:
AnnotationElementParseException

parse

public XAnnotation[] parse(Element[] annotationElements)
                    throws AnnotationElementParseException
Throws:
AnnotationElementParseException

parseFields

public XAnnotationField<?>[] parseFields(Element annotationElement,
                                         Class<? extends Annotation> annotationClass)
                                  throws AnnotationElementParseException
Throws:
AnnotationElementParseException

parseFields

public XAnnotationField<?>[] parseFields(Annotation annotation)

parseField

public XAnnotationField<?> parseField(Element annotationElement,
                                      String name,
                                      Class type)
                               throws AnnotationElementParseException
Throws:
AnnotationElementParseException

parseField

public XAnnotationField<?> parseField(Annotation annotation,
                                      String name,
                                      Class type)
                               throws NoSuchAnnotationFieldException
Throws:
NoSuchAnnotationFieldException


Copyright © 2006-2012 Highsource. All Rights Reserved.