public class XAnnotationParser extends Object
Modifier and Type | Field and Description |
---|---|
static XAnnotationParser |
GENERIC |
Constructor and Description |
---|
XAnnotationParser() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final XAnnotationParser GENERIC
public XAnnotation parse(Annotation annotation)
public XAnnotation[] parse(Annotation[] annotations)
public XAnnotation parse(Element annotationElement) throws AnnotationElementParseException
AnnotationElementParseException
public XAnnotation[] parse(Element[] annotationElements) throws AnnotationElementParseException
AnnotationElementParseException
public XAnnotationField<?>[] parseFields(Element annotationElement, Class<? extends Annotation> annotationClass) throws AnnotationElementParseException
AnnotationElementParseException
public XAnnotationField<?>[] parseFields(Annotation annotation)
public XAnnotationField<?> parseField(Element annotationElement, String name, Class type) throws AnnotationElementParseException
AnnotationElementParseException
public XAnnotationField<?> parseField(Annotation annotation, String name, Class type) throws NoSuchAnnotationFieldException
NoSuchAnnotationFieldException
Copyright © 2006–2013 Highsource. All rights reserved.