Class XJCJavaModelInputImpl
- java.lang.Object
-
- org.eclipse.persistence.jaxb.javamodel.xjc.XJCJavaModelInputImpl
-
- All Implemented Interfaces:
JavaModelInput
public class XJCJavaModelInputImpl extends java.lang.Object implements JavaModelInput
INTERNAL:Purpose:
JavaModelInput
implementation for XJC. Used when bootstrapping aDynamicJAXBContext
from an XML Schema.Responsibilities:
- Create an array of
JavaClass
instances from an array ofClasses/JavaClasses/Types/TypeMappingInfos
. - Return an array of
JavaClass
objects to be used by the generator. - Return the
JavaModel
to be used during generation.
- See Also:
JavaModelInput
- Since:
- EclipseLink 2.1
-
-
Constructor Summary
Constructors Constructor Description XJCJavaModelInputImpl(java.lang.Class<?>[] classes, JavaModel javaModel)
Construct a new instance ofXJCJavaModelInputImpl
.XJCJavaModelInputImpl(java.lang.reflect.Type[] types, JavaModel javaModel)
Construct a new instance ofXJCJavaModelInputImpl
.XJCJavaModelInputImpl(JavaClass[] types, JavaModel javaModel)
Construct a new instance ofXJCJavaModelInputImpl
.XJCJavaModelInputImpl(TypeMappingInfo[] types, JavaModel javaModel)
Construct a new instance ofXJCJavaModelInputImpl
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaClass[]
getJavaClasses()
Returns thisJavaModelInput's
array ofJavaClasses
.JavaModel
getJavaModel()
Returns thisJavaModelInput's
JavaModel
.
-
-
-
Constructor Detail
-
XJCJavaModelInputImpl
public XJCJavaModelInputImpl(JavaClass[] types, JavaModel javaModel)
Construct a new instance ofXJCJavaModelInputImpl
.- Parameters:
types
- - an array ofJavaClasses
for which to generate mappings.javaModel
- - theJavaModel
to be used.
-
XJCJavaModelInputImpl
public XJCJavaModelInputImpl(java.lang.reflect.Type[] types, JavaModel javaModel)
Construct a new instance ofXJCJavaModelInputImpl
.- Parameters:
types
- - an array ofTypes
for which to generate mappings.javaModel
- - theJavaModel
to be used.
-
XJCJavaModelInputImpl
public XJCJavaModelInputImpl(TypeMappingInfo[] types, JavaModel javaModel)
Construct a new instance ofXJCJavaModelInputImpl
.- Parameters:
types
- - an array ofTypeMappingInfos
for which to generate mappings.javaModel
- - theJavaModel
to be used.
-
XJCJavaModelInputImpl
public XJCJavaModelInputImpl(java.lang.Class<?>[] classes, JavaModel javaModel)
Construct a new instance ofXJCJavaModelInputImpl
.- Parameters:
classes
- - an array of JavaClasses
for which to generate mappings.javaModel
- - theJavaModel
to be used.
-
-
Method Detail
-
getJavaClasses
public JavaClass[] getJavaClasses()
Returns thisJavaModelInput's
array ofJavaClasses
.- Specified by:
getJavaClasses
in interfaceJavaModelInput
- Returns:
- this
JavaModelInput's
array ofJavaClasses
.
-
getJavaModel
public JavaModel getJavaModel()
Returns thisJavaModelInput's
JavaModel
.- Specified by:
getJavaModel
in interfaceJavaModelInput
- Returns:
- this
JavaModelInput's
JavaModel
.
-
-