Package | Description |
---|---|
com.sun.xml.bind.v2.model.annotation |
Abstraction around reading annotations, to support internal/external annotations.
|
com.sun.xml.bind.v2.model.core |
The in-memory model of the JAXB-bound beans.
|
com.sun.xml.bind.v2.model.impl |
Implementation of the com.sun.xml.bind.j2s.model package.
|
com.sun.xml.bind.v2.model.runtime |
The specialization of
com.sun.xml.bind.v2.model.core for the runtime. |
com.sun.xml.bind.v2.runtime |
Code that implements JAXBContext, Unmarshaller, and Marshaller.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ClassLocatable<C> |
Locatable implementation for a class. |
class |
FieldLocatable<F> |
Locatable implementation for a field. |
class |
LocatableAnnotation |
Annotation that also implements Locatable . |
class |
MethodLocatable<M> |
Locatable implementation for a method. |
class |
Quick |
Base implementation of
Locatable Annotation . |
Modifier and Type | Method | Description |
---|---|---|
Locatable |
ClassLocatable.getUpstream() |
|
Locatable |
FieldLocatable.getUpstream() |
|
Locatable |
Locatable.getUpstream() |
Gets the upstream
Location information. |
Locatable |
LocatableAnnotation.getUpstream() |
|
Locatable |
MethodLocatable.getUpstream() |
|
Locatable |
Quick.getUpstream() |
Modifier and Type | Method | Description |
---|---|---|
static <A extends java.lang.annotation.Annotation> |
LocatableAnnotation.create(A annotation,
Locatable parentSourcePos) |
Wraps the annotation into a proxy so that the returned object will also implement
Locatable . |
java.lang.annotation.Annotation[] |
AnnotationReader.getAllFieldAnnotations(F field,
Locatable srcPos) |
Gets all the annotations on a field.
|
java.lang.annotation.Annotation[] |
RuntimeInlineAnnotationReader.getAllFieldAnnotations(java.lang.reflect.Field field,
Locatable srcPos) |
|
java.lang.annotation.Annotation[] |
AnnotationReader.getAllMethodAnnotations(M method,
Locatable srcPos) |
Gets all the annotations on a method.
|
java.lang.annotation.Annotation[] |
RuntimeInlineAnnotationReader.getAllMethodAnnotations(java.lang.reflect.Method method,
Locatable srcPos) |
|
<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> |
RuntimeInlineAnnotationReader.getClassAnnotation(java.lang.Class<A> a,
java.lang.Class clazz,
Locatable srcPos) |
|
<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> |
RuntimeInlineAnnotationReader.getFieldAnnotation(java.lang.Class<A> annotation,
java.lang.reflect.Field field,
Locatable srcPos) |
|
<A extends java.lang.annotation.Annotation> |
AbstractInlineAnnotationReaderImpl.getMethodAnnotation(java.lang.Class<A> annotation,
M getter,
M setter,
Locatable srcPos) |
|
<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> |
RuntimeInlineAnnotationReader.getMethodAnnotation(java.lang.Class<A> annotation,
java.lang.reflect.Method method,
Locatable srcPos) |
|
<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> |
RuntimeInlineAnnotationReader.getMethodParameterAnnotation(java.lang.Class<A> annotation,
java.lang.reflect.Method method,
int paramIndex,
Locatable srcPos) |
|
<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.
|
<A extends java.lang.annotation.Annotation> |
RuntimeInlineAnnotationReader.getPackageAnnotation(java.lang.Class<A> a,
java.lang.Class clazz,
Locatable srcPos) |
|
boolean |
AbstractInlineAnnotationReaderImpl.hasMethodAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
java.lang.String propertyName,
M getter,
M setter,
Locatable srcPos) |
|
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.
|
protected abstract Quick |
Quick.newInstance(Locatable upstream,
java.lang.annotation.Annotation core) |
Factory method to create a new instance of the same kind.
|
Constructor | Description |
---|---|
ClassLocatable(Locatable upstream,
C clazz,
Navigator<?,C,?,?> nav) |
|
FieldLocatable(Locatable upstream,
F field,
Navigator<?,?,F,?> nav) |
|
MethodLocatable(Locatable upstream,
M method,
Navigator<?,?,?,M> nav) |
|
Quick(Locatable upstream) |
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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ArrayInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> |
Public because XJC needs to access it
|
class |
BuiltinLeafInfoImpl<TypeT,ClassDeclT> |
JAXB spec designates a few Java classes to be mapped to XML types
in a way that ignores restrictions placed on user-defined beans.
|
class |
ClassInfoImpl<T,C,F,M> |
A part of the
ClassInfo that doesn't depend on a particular
reflection library. |
class |
RuntimeBuiltinLeafInfoImpl<T> |
BuiltinLeafInfoImpl with a support for runtime. |
Modifier and Type | Method | Description |
---|---|---|
RegistryInfo<T,C> |
ModelBuilder.addRegistry(C registryClass,
Locatable upstream) |
Visits a class with
XmlRegistry and records all the element mappings
in it. |
protected ArrayInfoImpl<T,C,F,M> |
ModelBuilder.createArrayInfo(Locatable upstream,
T arrayType) |
|
com.sun.xml.bind.v2.model.impl.RuntimeArrayInfoImpl |
RuntimeModelBuilder.createArrayInfo(Locatable upstream,
java.lang.reflect.Type arrayType) |
|
protected ClassInfoImpl<T,C,F,M> |
ModelBuilder.createClassInfo(C clazz,
Locatable upstream) |
|
protected com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl |
RuntimeModelBuilder.createClassInfo(java.lang.Class clazz,
Locatable upstream) |
|
protected com.sun.xml.bind.v2.model.impl.EnumLeafInfoImpl<T,C,F,M> |
ModelBuilder.createEnumLeafInfo(C clazz,
Locatable upstream) |
|
protected com.sun.xml.bind.v2.model.impl.RuntimeEnumLeafInfoImpl |
RuntimeModelBuilder.createEnumLeafInfo(java.lang.Class clazz,
Locatable upstream) |
|
NonElement<T,C> |
ModelBuilder.getClassInfo(C clazz,
boolean searchForSuperClass,
Locatable upstream) |
For limited cases where the caller needs to search for a super class.
|
NonElement<T,C> |
ModelBuilder.getClassInfo(C clazz,
Locatable upstream) |
Builds a JAXB
ClassInfo model from a given class declaration
and adds that to this model owner. |
RuntimeNonElement |
RuntimeModelBuilder.getClassInfo(java.lang.Class clazz,
boolean searchForSuperClass,
Locatable upstream) |
|
RuntimeNonElement |
RuntimeModelBuilder.getClassInfo(java.lang.Class clazz,
Locatable upstream) |
|
NonElement<T,C> |
ModelBuilder.getTypeInfo(T t,
Locatable upstream) |
Have the builder recognize the type (if it hasn't done so yet),
and returns a
NonElement that represents it. |
Constructor | Description |
---|---|
ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder,
Locatable upstream,
TypeT arrayType) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
RuntimeArrayInfo |
|
interface |
RuntimeBuiltinLeafInfo |
|
interface |
RuntimeClassInfo |
|
interface |
RuntimeElement |
|
interface |
RuntimeElementInfo |
|
interface |
RuntimeEnumLeafInfo |
|
interface |
RuntimeLeafInfo |
|
interface |
RuntimeNonElement |
|
interface |
RuntimeTypeInfo |
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 © 2018 Oracle Corporation. All rights reserved.