Class OXMJavaModelInputImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.oxm.OXMJavaModelInputImpl
- All Implemented Interfaces:
JavaModelInput
INTERNAL:
Purpose: JavaModelInput
implementation backed by a collection of MOXY's
xmlmodel.JavaClasses
.. Used when bootstrapping a DynamicJAXBContext
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:
-
Constructor Summary
ConstructorDescriptionOXMJavaModelInputImpl
(JavaClass[] types, JavaModel javaModel) Construct a new instance ofOXMJavaModelInputImpl
. -
Method Summary
Modifier and TypeMethodDescriptionReturns thisJavaModelInput's
array ofJavaClasses
.Returns thisJavaModelInput's
JavaModel
.
-
Constructor Details
-
OXMJavaModelInputImpl
Construct a new instance ofOXMJavaModelInputImpl
.- Parameters:
types
- - an array ofJavaClasses
for which to generate mappings.javaModel
- - theJavaModel
to be used.
-
-
Method Details
-
getJavaClasses
Returns thisJavaModelInput's
array ofJavaClasses
.- Specified by:
getJavaClasses
in interfaceJavaModelInput
- Returns:
- this
JavaModelInput's
array ofJavaClasses
.
-
getJavaModel
Returns thisJavaModelInput's
JavaModel
.- Specified by:
getJavaModel
in interfaceJavaModelInput
- Returns:
- this
JavaModelInput's
JavaModel
.
-