java.lang.Object
com.sun.xml.ws.db.sdo.Xsd2JavaSDOModel
This class contains the result of java type mapping on a set of schemas.
It is only aware of the global elements for now.
-
Constructor Summary
ConstructorsConstructorDescriptionXsd2JavaSDOModel(commonj.sdo.helper.HelperContext context, List<org.eclipse.persistence.sdo.SDOType> types) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateCode(org.eclipse.persistence.sdo.helper.CodeWriter cw) write the java class to the code writer, see toplink CodeWriter interfaceReceive a list of java classes modeled by this xsd2java modelgetJavaTypeForElementName(QName qname) return the java type used for the element, only Global elements can be located.return the java type for a given xsd typegetXsdTypeName(String javaClass) Return the type qname used to define this java class
-
Constructor Details
-
Xsd2JavaSDOModel
public Xsd2JavaSDOModel(commonj.sdo.helper.HelperContext context, List<org.eclipse.persistence.sdo.SDOType> types)
-
-
Method Details
-
generateCode
public void generateCode(org.eclipse.persistence.sdo.helper.CodeWriter cw) write the java class to the code writer, see toplink CodeWriter interface -
getClassList
Receive a list of java classes modeled by this xsd2java model -
getXsdTypeName
Return the type qname used to define this java class -
getJavaTypeForElementName
return the java type used for the element, only Global elements can be located. Containing types are not searched -
getJavaTypeForElementType
return the java type for a given xsd type
-