|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.databinding.impl.BaseDataBinding
org.apache.tuscany.sca.databinding.impl.GroupDataBinding
public abstract class GroupDataBinding
The base class for a special databinding which represents a group of other databindings
Field Summary | |
---|---|
protected java.lang.Class[] |
markerTypes
Marker type is a java class or interface representing the data format. |
static java.lang.String |
NAME
|
Fields inherited from interface org.apache.tuscany.sca.databinding.DataBinding |
---|
IDL_FAULT, IDL_INPUT, IDL_OUTPUT |
Constructor Summary | |
---|---|
GroupDataBinding(java.lang.Class[] types)
|
Method Summary | |
---|---|
protected java.lang.String |
getDataBinding(java.lang.Class<?> baseType)
Derive the databinding name from a base class |
protected abstract java.lang.Object |
getLogical(java.lang.Class<?> type,
Operation operation)
Get the logical type |
boolean |
introspect(DataType type,
Operation operation)
Introspect and populate information to a DataType model |
protected boolean |
isTypeOf(java.lang.Class<?> markerType,
java.lang.Class<?> type)
Test if the given type is a subtype of the base type |
Methods inherited from class org.apache.tuscany.sca.databinding.impl.BaseDataBinding |
---|
copy, getName, getWrapperHandler, getXMLTypeHelper, introspect |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
protected java.lang.Class[] markerTypes
Constructor Detail |
---|
public GroupDataBinding(java.lang.Class[] types)
Method Detail |
---|
public boolean introspect(DataType type, Operation operation)
DataBinding
introspect
in interface DataBinding
introspect
in class BaseDataBinding
type
- The data type to be introspectedoperation
- The operation
protected boolean isTypeOf(java.lang.Class<?> markerType, java.lang.Class<?> type)
markerType
- type
-
protected java.lang.String getDataBinding(java.lang.Class<?> baseType)
baseType
-
protected abstract java.lang.Object getLogical(java.lang.Class<?> type, Operation operation)
type
- The java typeoperation
- TODO
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |