com.sun.tools.xjc.api.impl.s2j
Class BeanMappingImpl

java.lang.Object
  extended by com.sun.tools.xjc.api.impl.s2j.AbstractMappingImpl<CClassInfo>
      extended by com.sun.tools.xjc.api.impl.s2j.BeanMappingImpl
All Implemented Interfaces:
Mapping

final class BeanMappingImpl
extends AbstractMappingImpl<CClassInfo>

Partial implementation of Mapping for bean classes.


Field Summary
 
Fields inherited from class com.sun.tools.xjc.api.impl.s2j.AbstractMappingImpl
clazz, parent
 
Constructor Summary
BeanMappingImpl(JAXBModelImpl parent, CClassInfo classInfo)
           
 
Method Summary
 List<Property> calcDrilldown()
           
 TypeAndAnnotation getType()
          Returns the fully-qualified name of the java class for the type of this element.
 String getTypeClass()
           
 
Methods inherited from class com.sun.tools.xjc.api.impl.s2j.AbstractMappingImpl
buildDrilldown, getClazz, getElement, getWrapperStyleDrilldown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanMappingImpl

BeanMappingImpl(JAXBModelImpl parent,
                CClassInfo classInfo)
Method Detail

getType

public TypeAndAnnotation getType()
Description copied from interface: Mapping
Returns the fully-qualified name of the java class for the type of this element. TODO: does this method returns the name of the wrapper bean when it's qualified for the wrapper style? Seems no (consider <xs:element name='foo' type='xs:long' />), but then how does JAX-RPC captures that bean?

Returns:
never be null.

getTypeClass

public final String getTypeClass()

calcDrilldown

public List<Property> calcDrilldown()
Specified by:
calcDrilldown in class AbstractMappingImpl<CClassInfo>