| Package | Description |
|---|---|
| com.sun.xml.bind.v2.model.annotation | |
| com.sun.xml.bind.v2.model.core |
The in-memory model of the JAXB-bound beans.
|
| com.sun.xml.bind.v2.runtime |
| Modifier and Type | Method | Description |
|---|---|---|
Locatable |
Locatable.getUpstream() |
Gets the upstream
Location information. |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.annotation.Annotation[] |
AnnotationReader.getAllFieldAnnotations(F field,
Locatable srcPos) |
Gets all the annotations on a field.
|
java.lang.annotation.Annotation[] |
AnnotationReader.getAllMethodAnnotations(M method,
Locatable srcPos) |
Gets all the annotations on a method.
|
<A extends java.lang.annotation.Annotation> |
AnnotationReader.getClassAnnotation(java.lang.Class<A> annotation,
C clazz,
Locatable srcpos) |
Reads an annotation on a class.
|
<A extends java.lang.annotation.Annotation> |
AnnotationReader.getFieldAnnotation(java.lang.Class<A> annotation,
F field,
Locatable srcpos) |
Reads an annotation on a property that consists of a field.
|
<A extends java.lang.annotation.Annotation> |
AnnotationReader.getMethodAnnotation(java.lang.Class<A> annotation,
M method,
Locatable srcpos) |
|
<A extends java.lang.annotation.Annotation> |
AnnotationReader.getMethodAnnotation(java.lang.Class<A> annotation,
M getter,
M setter,
Locatable srcpos) |
Reads an annotation on a property that consists of a getter and a setter.
|
<A extends java.lang.annotation.Annotation> |
AnnotationReader.getMethodParameterAnnotation(java.lang.Class<A> annotation,
M method,
int paramIndex,
Locatable srcPos) |
Reads an annotation on a parameter of the method.
|
<A extends java.lang.annotation.Annotation> |
AnnotationReader.getPackageAnnotation(java.lang.Class<A> annotation,
C clazz,
Locatable srcpos) |
Reads an annotation on the package that the given class belongs to.
|
boolean |
AnnotationReader.hasMethodAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
java.lang.String propertyName,
M getter,
M setter,
Locatable srcPos) |
Checks if the given method has an annotation.
|
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
ArrayInfo<T,C> |
Stand-alone array that can be marshalled/unmarshalled on its own
(without being part of any encloding
ClassInfo.) |
interface |
BuiltinLeafInfo<T,C> |
JAXB spec designates a few Java classes to be mapped to leaves in XML.
|
interface |
ClassInfo<T,C> |
Information about JAXB-bound class.
|
interface |
Element<T,C> |
TypeInfo that maps to an element. |
interface |
ElementInfo<T,C> |
A particular use (specialization) of
JAXBElement. |
interface |
EnumLeafInfo<T,C> |
NonElement that represents an Enum class. |
interface |
LeafInfo<T,C> |
Either
BuiltinLeafInfo or EnumLeafInfo. |
interface |
MaybeElement<T,C> |
Some
NonElement can optionally be an Element. |
interface |
NonElement<T,C> |
TypeInfo that maps to an element. |
interface |
TypeInfo<T,C> |
|
interface |
WildcardTypeInfo<T,C> |
Type referenced as a result of having the wildcard.
|
| Constructor | Description |
|---|---|
IllegalAnnotationException(java.lang.String message,
Locatable src) |
|
IllegalAnnotationException(java.lang.String message,
Locatable src1,
Locatable src2) |
|
IllegalAnnotationException(java.lang.String message,
java.lang.annotation.Annotation src1,
Locatable src2) |
|
IllegalAnnotationException(java.lang.String message,
java.lang.Throwable cause,
Locatable src) |
Copyright © 2017 Oracle Corporation. All rights reserved.