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.model.impl | |
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 |
Modifier and Type | Class and 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 and Description |
---|---|
Locatable |
Quick.getUpstream() |
Locatable |
MethodLocatable.getUpstream() |
Locatable |
LocatableAnnotation.getUpstream() |
Locatable |
FieldLocatable.getUpstream() |
Locatable |
ClassLocatable.getUpstream() |
Locatable |
Locatable.getUpstream()
Gets the upstream
Location information. |
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
LocatableAnnotation.create(A annotation,
Locatable parentSourcePos)
Wraps the annotation into a proxy so that the returned object will also implement
Locatable . |
Annotation[] |
RuntimeInlineAnnotationReader.getAllFieldAnnotations(Field field,
Locatable srcPos) |
Annotation[] |
AnnotationReader.getAllFieldAnnotations(F field,
Locatable srcPos)
Gets all the annotations on a field.
|
Annotation[] |
RuntimeInlineAnnotationReader.getAllMethodAnnotations(Method method,
Locatable srcPos) |
Annotation[] |
AnnotationReader.getAllMethodAnnotations(M method,
Locatable srcPos)
Gets all the annotations on a method.
|
<A extends Annotation> |
RuntimeInlineAnnotationReader.getClassAnnotation(Class<A> a,
Class clazz,
Locatable srcPos) |
<A extends Annotation> |
AnnotationReader.getClassAnnotation(Class<A> annotation,
C clazz,
Locatable srcpos)
Reads an annotation on a class.
|
<A extends Annotation> |
RuntimeInlineAnnotationReader.getFieldAnnotation(Class<A> annotation,
Field field,
Locatable srcPos) |
<A extends Annotation> |
AnnotationReader.getFieldAnnotation(Class<A> annotation,
F field,
Locatable srcpos)
Reads an annotation on a property that consists of a field.
|
<A extends Annotation> |
RuntimeInlineAnnotationReader.getMethodAnnotation(Class<A> annotation,
Method method,
Locatable srcPos) |
<A extends Annotation> |
AnnotationReader.getMethodAnnotation(Class<A> annotation,
M method,
Locatable srcpos) |
<A extends Annotation> |
AbstractInlineAnnotationReaderImpl.getMethodAnnotation(Class<A> annotation,
M getter,
M setter,
Locatable srcPos) |
<A extends Annotation> |
AnnotationReader.getMethodAnnotation(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 Annotation> |
RuntimeInlineAnnotationReader.getMethodParameterAnnotation(Class<A> annotation,
Method method,
int paramIndex,
Locatable srcPos) |
<A extends Annotation> |
AnnotationReader.getMethodParameterAnnotation(Class<A> annotation,
M method,
int paramIndex,
Locatable srcPos)
Reads an annotation on a parameter of the method.
|
<A extends Annotation> |
RuntimeInlineAnnotationReader.getPackageAnnotation(Class<A> a,
Class clazz,
Locatable srcPos) |
<A extends Annotation> |
AnnotationReader.getPackageAnnotation(Class<A> annotation,
C clazz,
Locatable srcpos)
Reads an annotation on the package that the given class belongs to.
|
boolean |
AbstractInlineAnnotationReaderImpl.hasMethodAnnotation(Class<? extends Annotation> annotation,
String propertyName,
M getter,
M setter,
Locatable srcPos) |
boolean |
AnnotationReader.hasMethodAnnotation(Class<? extends Annotation> annotation,
String propertyName,
M getter,
M setter,
Locatable srcPos)
Checks if the given method has an annotation.
|
protected abstract Quick |
Quick.newInstance(Locatable upstream,
Annotation core)
Factory method to create a new instance of the same kind.
|
Constructor and 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 and 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 and 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 and 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,
Type arrayType) |
protected com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl |
RuntimeModelBuilder.createClassInfo(Class clazz,
Locatable upstream) |
protected ClassInfoImpl<T,C,F,M> |
ModelBuilder.createClassInfo(C clazz,
Locatable upstream) |
protected com.sun.xml.bind.v2.model.impl.RuntimeEnumLeafInfoImpl |
RuntimeModelBuilder.createEnumLeafInfo(Class clazz,
Locatable upstream) |
protected com.sun.xml.bind.v2.model.impl.EnumLeafInfoImpl<T,C,F,M> |
ModelBuilder.createEnumLeafInfo(C 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.
|
RuntimeNonElement |
RuntimeModelBuilder.getClassInfo(Class clazz,
boolean searchForSuperClass,
Locatable upstream) |
RuntimeNonElement |
RuntimeModelBuilder.getClassInfo(Class clazz,
Locatable upstream) |
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. |
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 and Description |
---|
ArrayInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder,
Locatable upstream,
TypeT arrayType) |
Modifier and Type | Interface and Description |
---|---|
interface |
RuntimeArrayInfo |
interface |
RuntimeBuiltinLeafInfo |
interface |
RuntimeClassInfo |
interface |
RuntimeElement |
interface |
RuntimeElementInfo |
interface |
RuntimeEnumLeafInfo |
interface |
RuntimeLeafInfo |
interface |
RuntimeNonElement |
interface |
RuntimeTypeInfo |
Constructor and Description |
---|
IllegalAnnotationException(String message,
Annotation src1,
Locatable src2) |
IllegalAnnotationException(String message,
Locatable src) |
IllegalAnnotationException(String message,
Locatable src1,
Locatable src2) |
IllegalAnnotationException(String message,
Throwable cause,
Locatable src) |
Copyright © 2020 Oracle Corporation. All rights reserved.