public class JAXBRIAnnotationReader extends com.sun.xml.bind.v2.model.annotation.AbstractInlineAnnotationReaderImpl<Type,Class,Field,Method> implements com.sun.xml.bind.v2.model.annotation.RuntimeAnnotationReader
| Constructor and Description |
|---|
JAXBRIAnnotationReader(org.datanucleus.metadata.MetaDataManager metaDataMgr,
org.datanucleus.ClassLoaderResolver clr) |
| Modifier and Type | Method and Description |
|---|---|
String |
fullName(Method method) |
Annotation[] |
getAllFieldAnnotations(Field field,
com.sun.xml.bind.v2.model.annotation.Locatable loc)
Method to return all (JAXB) annotations on the specified field.
|
Annotation[] |
getAllMethodAnnotations(Method method,
com.sun.xml.bind.v2.model.annotation.Locatable loc)
Method to return all (JAXB) annotations on the specified method.
|
<A extends Annotation> |
getClassAnnotation(Class<A> anntype,
Class type,
com.sun.xml.bind.v2.model.annotation.Locatable loc) |
Type[] |
getClassArrayValue(Annotation a,
String name) |
Type |
getClassValue(Annotation a,
String name) |
<A extends Annotation> |
getFieldAnnotation(Class<A> type,
Field field,
com.sun.xml.bind.v2.model.annotation.Locatable loc) |
<A extends Annotation> |
getMethodAnnotation(Class<A> type,
Method method,
com.sun.xml.bind.v2.model.annotation.Locatable loc) |
<A extends Annotation> |
getMethodParameterAnnotation(Class<A> arg0,
Method arg1,
int arg2,
com.sun.xml.bind.v2.model.annotation.Locatable arg3) |
<A extends Annotation> |
getPackageAnnotation(Class<A> arg0,
Class arg1,
com.sun.xml.bind.v2.model.annotation.Locatable arg2) |
boolean |
hasClassAnnotation(Class type,
Class<? extends Annotation> anntype) |
boolean |
hasFieldAnnotation(Class<? extends Annotation> anntype,
Field field) |
boolean |
hasMethodAnnotation(Class<? extends Annotation> anntype,
Method method) |
boolean |
hasMethodAnnotation(Class<? extends Annotation> annotation,
String propertyName,
Method getter,
Method setter,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
getErrorHandler, getMethodAnnotation, setErrorHandlerpublic JAXBRIAnnotationReader(org.datanucleus.metadata.MetaDataManager metaDataMgr,
org.datanucleus.ClassLoaderResolver clr)
public Annotation[] getAllFieldAnnotations(Field field, com.sun.xml.bind.v2.model.annotation.Locatable loc)
public Annotation[] getAllMethodAnnotations(Method method, com.sun.xml.bind.v2.model.annotation.Locatable loc)
public <A extends Annotation> A getClassAnnotation(Class<A> anntype, Class type, com.sun.xml.bind.v2.model.annotation.Locatable loc)
public Type[] getClassArrayValue(Annotation a, String name)
public Type getClassValue(Annotation a, String name)
public <A extends Annotation> A getFieldAnnotation(Class<A> type, Field field, com.sun.xml.bind.v2.model.annotation.Locatable loc)
public <A extends Annotation> A getMethodAnnotation(Class<A> type, Method method, com.sun.xml.bind.v2.model.annotation.Locatable loc)
public <A extends Annotation> A getMethodParameterAnnotation(Class<A> arg0, Method arg1, int arg2, com.sun.xml.bind.v2.model.annotation.Locatable arg3)
public <A extends Annotation> A getPackageAnnotation(Class<A> arg0, Class arg1, com.sun.xml.bind.v2.model.annotation.Locatable arg2)
public boolean hasClassAnnotation(Class type, Class<? extends Annotation> anntype)
public boolean hasFieldAnnotation(Class<? extends Annotation> anntype, Field field)
public boolean hasMethodAnnotation(Class<? extends Annotation> annotation, String propertyName, Method getter, Method setter, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
Copyright © 2016. All rights reserved.