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

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

final class ElementMappingImpl
extends AbstractMappingImpl<CElementInfo>


Field Summary
 
Fields inherited from class com.sun.tools.xjc.api.impl.s2j.AbstractMappingImpl
clazz, parent
 
Constructor Summary
protected ElementMappingImpl(JAXBModelImpl parent, CElementInfo elementInfo)
           
 
Method Summary
 List<Property> calcDrilldown()
           
 TypeAndAnnotation getType()
          Returns the fully-qualified name of the java class for the type of this element.
 
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

ElementMappingImpl

protected ElementMappingImpl(JAXBModelImpl parent,
                             CElementInfo elementInfo)
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.

calcDrilldown

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