|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.xjc.api.impl.s2j.AbstractMappingImpl<InfoT>
abstract class AbstractMappingImpl<InfoT extends CElement>
Partial common implementation between ElementMappingImpl and BeanMappingImpl
| Field Summary | |
|---|---|
protected InfoT |
clazz
|
protected JAXBModelImpl |
parent
|
| Constructor Summary | |
|---|---|
protected |
AbstractMappingImpl(JAXBModelImpl parent,
InfoT clazz)
|
| Method Summary | |
|---|---|
protected List<Property> |
buildDrilldown(CClassInfo typeBean)
Derived classes can use this method to implement calcDrilldown(). |
protected abstract List<Property> |
calcDrilldown()
|
String |
getClazz()
|
QName |
getElement()
Name of the XML element. |
List<? extends Property> |
getWrapperStyleDrilldown()
If this element is a so-called "wrapper-style" element, obtains its member information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.tools.xjc.api.Mapping |
|---|
getType |
| Field Detail |
|---|
protected final JAXBModelImpl parent
protected final InfoT extends CElement clazz
| Constructor Detail |
|---|
protected AbstractMappingImpl(JAXBModelImpl parent,
InfoT clazz)
| Method Detail |
|---|
public final QName getElement()
Mapping
getElement in interface Mappingpublic final String getClazz()
public final List<? extends Property> getWrapperStyleDrilldown()
MappingThe notion of the wrapper style should be defined by the JAXB spec, and ideally it should differ from that of the JAX-RPC only at the point where the JAX-RPC imposes additional restriction on the element name.
As of this writing the JAXB spec doesn't define "the wrapper style" and as such the exact definition of what XJC thinks "the wrapper style" isn't spec-ed.
Ths returned list includes Property defined not just
in this class but in all its base classes.
getWrapperStyleDrilldown in interface MappingPropertys. The order signifies
the order they appeared inside a schema.protected abstract List<Property> calcDrilldown()
protected List<Property> buildDrilldown(CClassInfo typeBean)
calcDrilldown().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||