org.apache.tuscany.sca.databinding.axiom
Class Object2OMElement

java.lang.Object
  extended by org.apache.tuscany.sca.databinding.impl.BaseTransformer<java.lang.Object,T>
      extended by org.apache.tuscany.sca.databinding.impl.Java2SimpleTypeTransformer<OMElement>
          extended by org.apache.tuscany.sca.databinding.axiom.Object2OMElement
All Implemented Interfaces:
PullTransformer<java.lang.Object,OMElement>, Transformer

public class Object2OMElement
extends Java2SimpleTypeTransformer<OMElement>

Transformer to convert data from an simple OMElement to Java Object


Field Summary
 
Fields inherited from class org.apache.tuscany.sca.databinding.impl.Java2SimpleTypeTransformer
mapper
 
Constructor Summary
Object2OMElement()
           
 
Method Summary
protected  OMElement createElement(javax.xml.namespace.QName element, java.lang.String text, TransformationContext context)
           
 java.lang.Class getTargetType()
           
 
Methods inherited from class org.apache.tuscany.sca.databinding.impl.Java2SimpleTypeTransformer
getSourceDataBinding, getSourceType, getWeight, transform
 
Methods inherited from class org.apache.tuscany.sca.databinding.impl.BaseTransformer
getTargetDataBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tuscany.sca.databinding.Transformer
getTargetDataBinding
 

Constructor Detail

Object2OMElement

public Object2OMElement()
Method Detail

createElement

protected OMElement createElement(javax.xml.namespace.QName element,
                                  java.lang.String text,
                                  TransformationContext context)
Specified by:
createElement in class Java2SimpleTypeTransformer<OMElement>

getTargetType

public java.lang.Class getTargetType()
Specified by:
getTargetType in class BaseTransformer<java.lang.Object,OMElement>