Package | Description |
---|---|
com.sun.tools.jxc.ap |
Annotation Processing related code.
|
com.sun.tools.xjc.model |
Implementation of the
com.sun.xml.bind.v2.model.core package for XJC. |
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 | Method | Description |
---|---|---|
Annotation[] |
InlineAnnotationReaderImpl.getAllFieldAnnotations(VariableElement field,
Locatable srcPos) |
|
Annotation[] |
InlineAnnotationReaderImpl.getAllMethodAnnotations(ExecutableElement method,
Locatable srcPos) |
|
<A extends Annotation> |
InlineAnnotationReaderImpl.getClassAnnotation(Class<A> a,
TypeElement clazz,
Locatable srcPos) |
|
<A extends Annotation> |
InlineAnnotationReaderImpl.getFieldAnnotation(Class<A> a,
VariableElement f,
Locatable srcPos) |
|
<A extends Annotation> |
InlineAnnotationReaderImpl.getMethodAnnotation(Class<A> a,
ExecutableElement method,
Locatable srcPos) |
|
<A extends Annotation> |
InlineAnnotationReaderImpl.getMethodParameterAnnotation(Class<A> a,
ExecutableElement m,
int paramIndex,
Locatable srcPos) |
|
<A extends Annotation> |
InlineAnnotationReaderImpl.getPackageAnnotation(Class<A> a,
TypeElement clazz,
Locatable srcPos) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
CClass |
Either
CClassInfo or CClassRef . |
interface |
CElement |
|
interface |
CNonElement |
NonElement at compile-time. |
interface |
CTypeInfo |
TypeInfo at the compile-time. |
Modifier and Type | Class | Description |
---|---|---|
class |
CArrayInfo |
Because XJC doesn't generate the array binding, this class will
never show up in the model constructed by XJC.
|
class |
CBuiltinLeafInfo |
Encapsulates the default handling for leaf classes (which are bound
to text in XML.) In particular this class knows how to convert
the lexical value into the Java class according to this default rule.
|
class |
CClassInfo |
Mutable
ClassInfo representation. |
class |
CClassRef |
Reference to an existing class.
|
class |
CElementInfo |
ElementInfo implementation for the compile-time model. |
class |
CEnumLeafInfo |
Transducer that converts a string into an "enumeration class."
The structure of the generated class needs to precisely
follow the JAXB spec.
|
class |
CWildcardTypeInfo |
CTypeInfo for the DOM node. |
Modifier and Type | Method | Description |
---|---|---|
Locatable |
CBuiltinLeafInfo.getUpstream() |
|
Locatable |
CEnumLeafInfo.getUpstream() |
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 Annotation> |
LocatableAnnotation.create(A annotation,
Locatable parentSourcePos) |
Wraps the annotation into a proxy so that the returned object will also implement
Locatable . |
Annotation[] |
AnnotationReader.getAllFieldAnnotations(F field,
Locatable srcPos) |
Gets all the annotations on a field.
|
Annotation[] |
RuntimeInlineAnnotationReader.getAllFieldAnnotations(Field field,
Locatable srcPos) |
|
Annotation[] |
AnnotationReader.getAllMethodAnnotations(M method,
Locatable srcPos) |
Gets all the annotations on a method.
|
Annotation[] |
RuntimeInlineAnnotationReader.getAllMethodAnnotations(Method method,
Locatable srcPos) |
|
<A extends Annotation> |
AnnotationReader.getClassAnnotation(Class<A> annotation,
C clazz,
Locatable srcpos) |
Reads an annotation on a class.
|
<A extends Annotation> |
RuntimeInlineAnnotationReader.getClassAnnotation(Class<A> a,
Class clazz,
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.getFieldAnnotation(Class<A> annotation,
Field field,
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 method,
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.getMethodAnnotation(Class<A> annotation,
Method method,
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.getMethodParameterAnnotation(Class<A> annotation,
Method method,
int paramIndex,
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.
|
<A extends Annotation> |
RuntimeInlineAnnotationReader.getPackageAnnotation(Class<A> a,
Class clazz,
Locatable srcPos) |
|
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 | 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,
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(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(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(Class clazz,
boolean searchForSuperClass,
Locatable upstream) |
|
RuntimeNonElement |
RuntimeModelBuilder.getClassInfo(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(String message,
Locatable src) |
|
IllegalAnnotationException(String message,
Locatable src1,
Locatable src2) |
|
IllegalAnnotationException(String message,
Annotation src1,
Locatable src2) |
|
IllegalAnnotationException(String message,
Throwable cause,
Locatable src) |
Copyright © 2018 Oracle Corporation. All rights reserved.