org.apache.tuscany.sca.databinding.jaxb
Class JAXBTypeHelper
java.lang.Object
org.apache.tuscany.sca.databinding.jaxb.JAXBTypeHelper
- All Implemented Interfaces:
- XMLTypeHelper
public class JAXBTypeHelper
- extends java.lang.Object
- implements XMLTypeHelper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBTypeHelper
public JAXBTypeHelper()
getTypeInfo
public TypeInfo getTypeInfo(java.lang.Class javaType,
java.lang.Object logical)
- Description copied from interface:
XMLTypeHelper
- Convert a Java type into XML type information
- Specified by:
getTypeInfo
in interface XMLTypeHelper
- Parameters:
javaType
- the physical Java classlogical
- the logical type information
- Returns:
- the XML type information
generateSchema
public static java.util.Map<java.lang.String,java.lang.String> generateSchema(javax.xml.bind.JAXBContext context)
throws java.io.IOException
- Throws:
java.io.IOException
getSchemaDefinitions
public java.util.List<XSDefinition> getSchemaDefinitions(XSDFactory factory,
ModelResolver resolver,
Interface intf)
- Description copied from interface:
XMLTypeHelper
- Get a list of XML schemas for the given interface
- Specified by:
getSchemaDefinitions
in interface XMLTypeHelper
- Returns:
getSchemaDefinitions
public java.util.List<XSDefinition> getSchemaDefinitions(XSDFactory factory,
ModelResolver resolver,
java.util.List<DataType> dataTypes)
- Description copied from interface:
XMLTypeHelper
- Get a list of XML schemas for the given data types
- Specified by:
getSchemaDefinitions
in interface XMLTypeHelper
- Returns: