Class OXMJavaModelInputImpl
- java.lang.Object
-
- org.eclipse.persistence.jaxb.javamodel.oxm.OXMJavaModelInputImpl
-
- All Implemented Interfaces:
JavaModelInput
public class OXMJavaModelInputImpl extends java.lang.Object implements JavaModelInput
INTERNAL:Purpose:
JavaModelInput
implementation backed by a collection of MOXY'sxmlmodel.JavaClasses
.. Used when bootstrapping aDynamicJAXBContext
from XML Bindings.Responsibilities:
- 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.2
-
-
Constructor Summary
Constructors Constructor Description OXMJavaModelInputImpl(JavaClass[] types, JavaModel javaModel)
Construct a new instance ofOXMJavaModelInputImpl
.
-
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
.
-
-
-
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
.
-
-