org.eclipse.persistence.jaxb.javamodel.oxm
Class OXMObjectFactoryImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.oxm.OXMObjectFactoryImpl
- All Implemented Interfaces:
- JavaClass, JavaHasAnnotations
public class OXMObjectFactoryImpl
- extends java.lang.Object
- implements JavaClass
INTERNAL:
Purpose: Specialized JavaClass
implementation wrapping
MOXy's xmlmodel.XmlRegistry
, used to represent a JAXB
ObjectFactory
. Used when bootstrapping a DynamicJAXBContext
from XML Bindings.
Responsibilities:
- Provide Class information to the
JavaModel
.
- See Also:
JavaClass
,
OXMJAXBElementImpl
- Since:
- EclipseLink 2.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OXMObjectFactoryImpl
public OXMObjectFactoryImpl(XmlRegistry xmlRegistry)
init
public void init()
getActualTypeArguments
public java.util.Collection<JavaClass> getActualTypeArguments()
- Specified by:
getActualTypeArguments
in interface JavaClass
getComponentType
public JavaClass getComponentType()
- Specified by:
getComponentType
in interface JavaClass
getConstructor
public JavaConstructor getConstructor(JavaClass[] parameterTypes)
- Specified by:
getConstructor
in interface JavaClass
getConstructors
public java.util.Collection<JavaConstructor> getConstructors()
- Specified by:
getConstructors
in interface JavaClass
getDeclaredClasses
public java.util.Collection<JavaClass> getDeclaredClasses()
- Specified by:
getDeclaredClasses
in interface JavaClass
getDeclaredConstructor
public JavaConstructor getDeclaredConstructor(JavaClass[] parameterTypes)
- Specified by:
getDeclaredConstructor
in interface JavaClass
getDeclaredConstructors
public java.util.Collection<JavaConstructor> getDeclaredConstructors()
- Specified by:
getDeclaredConstructors
in interface JavaClass
getDeclaredField
public JavaField getDeclaredField(java.lang.String arg0)
- Specified by:
getDeclaredField
in interface JavaClass
getDeclaredFields
public java.util.Collection<JavaField> getDeclaredFields()
- Specified by:
getDeclaredFields
in interface JavaClass
getDeclaredMethod
public JavaMethod getDeclaredMethod(java.lang.String arg0,
JavaClass[] arg1)
- Specified by:
getDeclaredMethod
in interface JavaClass
getDeclaredMethods
public java.util.Collection<JavaMethod> getDeclaredMethods()
- Specified by:
getDeclaredMethods
in interface JavaClass
getMethod
public JavaMethod getMethod(java.lang.String arg0,
JavaClass[] arg1)
- Specified by:
getMethod
in interface JavaClass
getMethods
public java.util.Collection<JavaMethod> getMethods()
- Specified by:
getMethods
in interface JavaClass
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interface JavaClass
getName
public java.lang.String getName()
- Specified by:
getName
in interface JavaClass
getPackage
public JavaPackage getPackage()
- Specified by:
getPackage
in interface JavaClass
getPackageName
public java.lang.String getPackageName()
- Specified by:
getPackageName
in interface JavaClass
getQualifiedName
public java.lang.String getQualifiedName()
- Specified by:
getQualifiedName
in interface JavaClass
getRawName
public java.lang.String getRawName()
- Specified by:
getRawName
in interface JavaClass
getSuperclass
public JavaClass getSuperclass()
- Specified by:
getSuperclass
in interface JavaClass
getGenericSuperclass
public java.lang.reflect.Type getGenericSuperclass()
- Specified by:
getGenericSuperclass
in interface JavaClass
hasActualTypeArguments
public boolean hasActualTypeArguments()
- Specified by:
hasActualTypeArguments
in interface JavaClass
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interface JavaClass
isAnnotation
public boolean isAnnotation()
- Specified by:
isAnnotation
in interface JavaClass
isArray
public boolean isArray()
- Specified by:
isArray
in interface JavaClass
isAssignableFrom
public boolean isAssignableFrom(JavaClass arg0)
- Specified by:
isAssignableFrom
in interface JavaClass
isEnum
public boolean isEnum()
- Specified by:
isEnum
in interface JavaClass
isFinal
public boolean isFinal()
- Specified by:
isFinal
in interface JavaClass
isInterface
public boolean isInterface()
- Specified by:
isInterface
in interface JavaClass
isMemberClass
public boolean isMemberClass()
- Specified by:
isMemberClass
in interface JavaClass
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive
in interface JavaClass
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interface JavaClass
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interface JavaClass
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interface JavaClass
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interface JavaClass
isSynthetic
public boolean isSynthetic()
- Specified by:
isSynthetic
in interface JavaClass
getAnnotation
public JavaAnnotation getAnnotation(JavaClass arg0)
- Specified by:
getAnnotation
in interface JavaHasAnnotations
getAnnotations
public java.util.Collection<JavaAnnotation> getAnnotations()
- Specified by:
getAnnotations
in interface JavaHasAnnotations
getDeclaredAnnotation
public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
- Specified by:
getDeclaredAnnotation
in interface JavaHasAnnotations
getDeclaredAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations
in interface JavaHasAnnotations
getJavaModel
public JavaModel getJavaModel()
setJavaModel
public void setJavaModel(JavaModel javaModel)