Package | Description |
---|---|
com.sun.tools.xjc.model |
Implementation of the
com.sun.xml.bind.v2.model.core package for XJC. |
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.schemagen |
Schema generator.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CClass
Either
CClassInfo or CClassRef . |
interface |
CNonElement
NonElement at compile-time. |
Modifier and Type | Class and 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 |
CEnumLeafInfo
Transducer that converts a string into an "enumeration class."
The structure of the generated class needs to precisely
follow the JAXB spec.
|
Modifier and Type | Method and Description |
---|---|
NonElement<NType,NClass> |
CEnumLeafInfo.getBaseType() |
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 |
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 . |
Modifier and Type | Method and Description |
---|---|
NonElement<T,C> |
TypeInfoSet.getAnyTypeInfo()
Gets the
TypeInfo for the any type. |
NonElement<T,C> |
EnumLeafInfo.getBaseType()
Returns the base type of the enumeration.
|
NonElement<T,C> |
TypeInfoSet.getClassInfo(C type)
|
NonElement<T,C> |
ElementInfo.getContentType()
Short for
getProperty().ref().get(0) . |
NonElement<T,C> |
ArrayInfo.getItemType()
T of T[].
|
NonElement<T,C> |
MapPropertyInfo.getKeyType()
Type of the key of the map.
|
NonElement<T,C> |
AttributePropertyInfo.getTarget()
Gets the type of the attribute.
|
NonElement<T,C> |
NonElementRef.getTarget()
Target of the reference.
|
NonElement<T,C> |
TypeInfoSet.getTypeInfo(Ref<T,C> ref)
Returns a type information for the given reference.
|
NonElement<T,C> |
TypeInfoSet.getTypeInfo(T type)
Returns a
TypeInfo for the given type. |
NonElement<T,C> |
MapPropertyInfo.getValueType()
Type of the value of the map.
|
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 |
---|---|
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. |
NonElement<TypeT,ClassDeclT> |
ArrayInfoImpl.getItemType() |
NonElement<T,C> |
ModelBuilder.getTypeInfo(Ref<T,C> ref)
This method is used to add a root reference to a model.
|
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. |
Modifier and Type | Interface and Description |
---|---|
interface |
RuntimeArrayInfo |
interface |
RuntimeBuiltinLeafInfo |
interface |
RuntimeClassInfo |
interface |
RuntimeEnumLeafInfo |
interface |
RuntimeLeafInfo |
interface |
RuntimeNonElement |
Modifier and Type | Method and Description |
---|---|
void |
XmlSchemaGenerator.add(QName tagName,
boolean isNillable,
NonElement<T,C> type)
Adds an additional element declaration.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.