org.apache.tuscany.sca.databinding.xmlbeans
Class XMLBeansDataBinding

java.lang.Object
  extended by org.apache.tuscany.sca.databinding.impl.BaseDataBinding
      extended by 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
           
 
Fields inherited from interface org.apache.tuscany.sca.databinding.DataBinding
IDL_FAULT, IDL_INPUT, IDL_OUTPUT
 
Constructor Summary
XMLBeansDataBinding()
           
 
Method Summary
 java.lang.Object copy(java.lang.Object object, DataType dataType, Operation operation)
          Make a copy of the object for "pass-by-value" semantics.
 WrapperHandler getWrapperHandler()
          Provide a WrapperHandler for this databinding
 boolean introspect(DataType type, Operation operation)
          Introspect and populate information to a DataType model
 
Methods inherited from class org.apache.tuscany.sca.databinding.impl.BaseDataBinding
getName, getXMLTypeHelper, introspect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME

ALIASES

public static final java.lang.String[] ALIASES
Constructor Detail

XMLBeansDataBinding

public XMLBeansDataBinding()
Method Detail

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 introspected
operation - 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 copy
dataType - The data type
operation - The operation
Returns:
copy of the object passed in as argument