|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sdo.helper.SDOSchemaGenerator
public class SDOSchemaGenerator
Purpose SDOSchemaGenerator generates an XSD (returned as a String) from a list of SDO Type objects. Populates an org.eclipse.persistence.internal.oxm.schema.model.Schema object and makes use of org.eclipse.persistence.internal.oxm.schema.SchemaModelProject to marshal the Schema Object to XML.
commonj.sdo.XSDHelper
Constructor Summary | |
---|---|
SDOSchemaGenerator(HelperContext aContext)
|
Method Summary | |
---|---|
java.lang.String |
generate(java.util.List types,
java.util.Map aNamespaceToSchemaLocation)
Method to generate an XSD. |
java.lang.String |
generate(java.util.List types,
SchemaLocationResolver aSchemaLocationResolver)
Method to generate an XSD. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDOSchemaGenerator(HelperContext aContext)
Method Detail |
---|
public java.lang.String generate(java.util.List types, SchemaLocationResolver aSchemaLocationResolver)
Method to generate an XSD. Note the following:
types
- The list of commonj.sdo.Type objects to generate the XSD fromaSchemaLocationResolver
- implementation of the org.eclipse.persistence.sdo.helper.SchemaLocationResolver interface
used for getting the value of the schemaLocation attribute of generated imports and includes
public java.lang.String generate(java.util.List types, java.util.Map aNamespaceToSchemaLocation)
Method to generate an XSD. Note the following:
types
- The list of commonj.sdo.Type objects to generate the XSD fromaNamespaceToSchemaLocation
- map of namespaces to schemaLocations
used for getting the value of the schemaLocation attribute of generated imports and includes
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |