public class XJCJavaModelInputImpl extends java.lang.Object implements JavaModelInput
Purpose: JavaModelInput
implementation for XJC. Used when
bootstrapping a DynamicJAXBContext
from an XML Schema.
Responsibilities:
JavaClass
instances from an array of Classes/JavaClasses/Types/TypeMappingInfos
.JavaClass
objects to be used by the generator.JavaModel
to be used during generation.JavaModelInput
Constructor and Description |
---|
XJCJavaModelInputImpl(java.lang.Class<?>[] classes,
JavaModel javaModel)
Construct a new instance of
XJCJavaModelInputImpl . |
XJCJavaModelInputImpl(JavaClass[] types,
JavaModel javaModel)
Construct a new instance of
XJCJavaModelInputImpl . |
XJCJavaModelInputImpl(java.lang.reflect.Type[] types,
JavaModel javaModel)
Construct a new instance of
XJCJavaModelInputImpl . |
XJCJavaModelInputImpl(TypeMappingInfo[] types,
JavaModel javaModel)
Construct a new instance of
XJCJavaModelInputImpl . |
Modifier and Type | Method and Description |
---|---|
JavaClass[] |
getJavaClasses()
Returns this
JavaModelInput's array of JavaClasses . |
JavaModel |
getJavaModel()
Returns this
JavaModelInput's JavaModel . |
public XJCJavaModelInputImpl(JavaClass[] types, JavaModel javaModel)
XJCJavaModelInputImpl
.types
- - an array of JavaClasses
for which to generate mappings.javaModel
- - the JavaModel
to be used.public XJCJavaModelInputImpl(java.lang.reflect.Type[] types, JavaModel javaModel)
XJCJavaModelInputImpl
.types
- - an array of Types
for which to generate mappings.javaModel
- - the JavaModel
to be used.public XJCJavaModelInputImpl(TypeMappingInfo[] types, JavaModel javaModel)
XJCJavaModelInputImpl
.types
- - an array of TypeMappingInfos
for which to generate mappings.javaModel
- - the JavaModel
to be used.public XJCJavaModelInputImpl(java.lang.Class<?>[] classes, JavaModel javaModel)
XJCJavaModelInputImpl
.classes
- - an array of Java Classes
for which to generate mappings.javaModel
- - the JavaModel
to be used.public JavaClass[] getJavaClasses()
JavaModelInput's
array of JavaClasses
.getJavaClasses
in interface JavaModelInput
JavaModelInput's
array of JavaClasses
.public JavaModel getJavaModel()
JavaModelInput's
JavaModel
.getJavaModel
in interface JavaModelInput
JavaModelInput's
JavaModel
.