|
||||||||||
| 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 java.util.List<Property> |
buildDrilldown(CClassInfo typeBean)
Derived classes can use this method to implement calcDrilldown(). |
protected abstract java.util.List<Property> |
calcDrilldown()
|
java.lang.String |
getClazz()
|
javax.xml.namespace.QName |
getElement()
Name of the XML element. |
java.util.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 javax.xml.namespace.QName getElement()
Mapping
getElement in interface Mappingpublic final java.lang.String getClazz()
public final java.util.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 java.util.List<Property> calcDrilldown()
protected java.util.List<Property> buildDrilldown(CClassInfo typeBean)
calcDrilldown().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||