2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.databinding.sdo
Class SDOContextHelper
java.lang.Object
org.apache.tuscany.sca.databinding.sdo.SDOContextHelper
public final class SDOContextHelper
- extends java.lang.Object
Helper class to get TypeHelper from the context
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getHelperContext
public static HelperContext getHelperContext(TransformationContext context,
boolean source)
getHelperContext
public static HelperContext getHelperContext(Operation op)
register
public static boolean register(HelperContext helperContext,
java.lang.Class javaType)
- FIXME: [rfeng] This is a hack to get the factory out a SDO class
- Parameters:
helperContext
- javaType
-
getDefaultHelperContext
public static HelperContext getDefaultHelperContext()
getElement
public static javax.xml.namespace.QName getElement(TransformationContext context)
generateSchema
public static java.lang.String generateSchema(HelperContext context,
java.lang.Class<?>[] classes)
generateSchema
public static java.lang.String generateSchema(HelperContext context,
java.util.List<Type> types)