public class FilteringAnnotationReader extends Object implements com.sun.xml.bind.v2.model.annotation.RuntimeAnnotationReader
XmlElement
default values with properties.| Constructor and Description |
|---|
FilteringAnnotationReader(Properties properties) |
FilteringAnnotationReader(PropertyResolver propertyResolver) |
| Modifier and Type | Method and Description |
|---|---|
Annotation[] |
getAllFieldAnnotations(Field field,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
Annotation[] |
getAllMethodAnnotations(Method method,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
<A extends Annotation> |
getClassAnnotation(Class<A> annotation,
Class clazz,
com.sun.xml.bind.v2.model.annotation.Locatable srcpos) |
Type[] |
getClassArrayValue(Annotation a,
String name) |
Type |
getClassValue(Annotation a,
String name) |
<A extends Annotation> |
getFieldAnnotation(Class<A> annotation,
Field field,
com.sun.xml.bind.v2.model.annotation.Locatable srcpos) |
<A extends Annotation> |
getMethodAnnotation(Class<A> annotation,
Method method,
com.sun.xml.bind.v2.model.annotation.Locatable srcpos) |
<A extends Annotation> |
getMethodAnnotation(Class<A> annotation,
Method getter,
Method setter,
com.sun.xml.bind.v2.model.annotation.Locatable srcpos) |
<A extends Annotation> |
getMethodParameterAnnotation(Class<A> annotation,
Method method,
int paramIndex,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
<A extends Annotation> |
getPackageAnnotation(Class<A> annotation,
Class clazz,
com.sun.xml.bind.v2.model.annotation.Locatable srcpos) |
boolean |
hasClassAnnotation(Class clazz,
Class<? extends Annotation> annotationType) |
boolean |
hasFieldAnnotation(Class<? extends Annotation> annotationType,
Field field) |
boolean |
hasMethodAnnotation(Class<? extends Annotation> annotation,
Method method) |
boolean |
hasMethodAnnotation(Class<? extends Annotation> annotation,
String propertyName,
Method getter,
Method setter,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
void |
setErrorHandler(com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler) |
public FilteringAnnotationReader(PropertyResolver propertyResolver)
public FilteringAnnotationReader(Properties properties)
public void setErrorHandler(com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler)
public <A extends Annotation> A getFieldAnnotation(Class<A> annotation, Field field, com.sun.xml.bind.v2.model.annotation.Locatable srcpos)
public boolean hasFieldAnnotation(Class<? extends Annotation> annotationType, Field field)
public boolean hasClassAnnotation(Class clazz, Class<? extends Annotation> annotationType)
public Annotation[] getAllFieldAnnotations(Field field, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public <A extends Annotation> A getMethodAnnotation(Class<A> annotation, Method getter, Method setter, com.sun.xml.bind.v2.model.annotation.Locatable srcpos)
public boolean hasMethodAnnotation(Class<? extends Annotation> annotation, String propertyName, Method getter, Method setter, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public Annotation[] getAllMethodAnnotations(Method method, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public <A extends Annotation> A getMethodAnnotation(Class<A> annotation, Method method, com.sun.xml.bind.v2.model.annotation.Locatable srcpos)
public boolean hasMethodAnnotation(Class<? extends Annotation> annotation, Method method)
public <A extends Annotation> A getMethodParameterAnnotation(Class<A> annotation, Method method, int paramIndex, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public <A extends Annotation> A getClassAnnotation(Class<A> annotation, Class clazz, com.sun.xml.bind.v2.model.annotation.Locatable srcpos)
public <A extends Annotation> A getPackageAnnotation(Class<A> annotation, Class clazz, com.sun.xml.bind.v2.model.annotation.Locatable srcpos)
public Type getClassValue(Annotation a, String name)
public Type[] getClassArrayValue(Annotation a, String name)
Copyright © 2013 Atteo. All Rights Reserved.