public class OXMObjectFactoryImpl extends java.lang.Object implements JavaClass
Purpose: Specialized JavaClass
implementation wrapping
MOXy's xmlmodel.XmlRegistry
, used to represent a JAXB
ObjectFactory
. Used when bootstrapping a DynamicJAXBContext
from XML Bindings.
Responsibilities:
JavaModel
.JavaClass
,
OXMJAXBElementImpl
Constructor and Description |
---|
OXMObjectFactoryImpl(XmlRegistry xmlRegistry) |
public OXMObjectFactoryImpl(XmlRegistry xmlRegistry)
public void init()
public java.util.Collection<JavaClass> getActualTypeArguments()
getActualTypeArguments
in interface JavaClass
public JavaClass getComponentType()
getComponentType
in interface JavaClass
public JavaConstructor getConstructor(JavaClass[] parameterTypes)
getConstructor
in interface JavaClass
public java.util.Collection<JavaConstructor> getConstructors()
getConstructors
in interface JavaClass
public java.util.Collection<JavaClass> getDeclaredClasses()
getDeclaredClasses
in interface JavaClass
public JavaConstructor getDeclaredConstructor(JavaClass[] parameterTypes)
getDeclaredConstructor
in interface JavaClass
public java.util.Collection<JavaConstructor> getDeclaredConstructors()
getDeclaredConstructors
in interface JavaClass
public JavaField getDeclaredField(java.lang.String arg0)
getDeclaredField
in interface JavaClass
public java.util.Collection<JavaField> getDeclaredFields()
getDeclaredFields
in interface JavaClass
public JavaMethod getDeclaredMethod(java.lang.String arg0, JavaClass[] arg1)
getDeclaredMethod
in interface JavaClass
public java.util.Collection<JavaMethod> getDeclaredMethods()
getDeclaredMethods
in interface JavaClass
public JavaMethod getMethod(java.lang.String arg0, JavaClass[] arg1)
public java.util.Collection<JavaMethod> getMethods()
getMethods
in interface JavaClass
public int getModifiers()
getModifiers
in interface JavaClass
public JavaPackage getPackage()
getPackage
in interface JavaClass
public java.lang.String getPackageName()
getPackageName
in interface JavaClass
public java.lang.String getQualifiedName()
getQualifiedName
in interface JavaClass
public java.lang.String getRawName()
getRawName
in interface JavaClass
public JavaClass getSuperclass()
getSuperclass
in interface JavaClass
public java.lang.reflect.Type[] getGenericInterfaces()
getGenericInterfaces
in interface JavaClass
public java.lang.reflect.Type getGenericSuperclass()
getGenericSuperclass
in interface JavaClass
public boolean hasActualTypeArguments()
hasActualTypeArguments
in interface JavaClass
public boolean isAbstract()
isAbstract
in interface JavaClass
public boolean isAnnotation()
isAnnotation
in interface JavaClass
public boolean isAssignableFrom(JavaClass arg0)
isAssignableFrom
in interface JavaClass
public boolean isInterface()
isInterface
in interface JavaClass
public boolean isMemberClass()
isMemberClass
in interface JavaClass
public boolean isPrimitive()
isPrimitive
in interface JavaClass
public boolean isProtected()
isProtected
in interface JavaClass
public boolean isSynthetic()
isSynthetic
in interface JavaClass
public JavaAnnotation getAnnotation(JavaClass arg0)
getAnnotation
in interface JavaHasAnnotations
public java.util.Collection<JavaAnnotation> getAnnotations()
getAnnotations
in interface JavaHasAnnotations
public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
getDeclaredAnnotation
in interface JavaHasAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
getDeclaredAnnotations
in interface JavaHasAnnotations
public JavaModel getJavaModel()
public void setJavaModel(JavaModel javaModel)