2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.databinding.xmlbeans
Class XMLBeansDataBinding
java.lang.Object
org.apache.tuscany.sca.databinding.impl.BaseDataBinding
org.apache.tuscany.sca.databinding.xmlbeans.XMLBeansDataBinding
- All Implemented Interfaces:
- DataBinding
public class XMLBeansDataBinding
- extends BaseDataBinding
XMLBeans DataBinding
Field Summary |
static java.lang.String[] |
ALIASES
|
static java.lang.String |
NAME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
ALIASES
public static final java.lang.String[] ALIASES
XMLBeansDataBinding
public XMLBeansDataBinding()
getWrapperHandler
public WrapperHandler getWrapperHandler()
- Description copied from interface:
DataBinding
- Provide a WrapperHandler for this databinding
- Specified by:
getWrapperHandler
in interface DataBinding
- Overrides:
getWrapperHandler
in class BaseDataBinding
- Returns:
- A wrapper handler which can handle wrapping/wrapping for this databinding
- See Also:
DataBinding.getWrapperHandler()
introspect
public boolean introspect(DataType type,
Operation operation)
- Description copied from interface:
DataBinding
- Introspect and populate information to a DataType model
- Specified by:
introspect
in interface DataBinding
- Overrides:
introspect
in class BaseDataBinding
- Parameters:
type
- The data type to be introspectedoperation
- The operation
- Returns:
- true if the databinding has recognized the given data type
copy
public java.lang.Object copy(java.lang.Object object,
DataType dataType,
Operation operation)
- Description copied from interface:
DataBinding
- Make a copy of the object for "pass-by-value" semantics.
- Specified by:
copy
in interface DataBinding
- Overrides:
copy
in class BaseDataBinding
- Parameters:
object
- source object to copydataType
- The data typeoperation
- The operation
- Returns:
- copy of the object passed in as argument