|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.ecore.xmi.util.DefaultEcoreBuilder
Default implementation of XML Schema to Ecore builder.
org.eclipse.xsd.ecore.XSDEcoreBuilder
| Field Summary | |
protected ExtendedMetaData |
extendedMetaData
|
protected static Class |
XSD_ECORE_BUILDER_CLASS
|
protected static Constructor |
XSD_ECORE_BUILDER_CONSTRUCTOR
|
protected static Method |
XSD_ECORE_BUILDER_GENERATE_RESOURCES_METHOD
|
| Constructor Summary | |
DefaultEcoreBuilder(ExtendedMetaData extendedMetaData)
|
|
| Method Summary | |
Collection |
generate(Collection uris)
Given XML Schema location URIs this method creates corresponding Ecore model(s) |
Collection |
generate(Map targetNamespaceToURI)
Given a map of XML Schema targetNamespaces (String) to XML Schema location URIs, this method generates corresponding Ecore model(s). |
Collection |
generate(URI uri)
Given an XML schema location URI this method creates corresponding Ecore model(s) |
void |
setExtendedMetaData(ExtendedMetaData extendedMetaData)
Sets extended meta data to register generated Ecore models. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final Class XSD_ECORE_BUILDER_CLASS
protected static final Constructor XSD_ECORE_BUILDER_CONSTRUCTOR
protected static final Method XSD_ECORE_BUILDER_GENERATE_RESOURCES_METHOD
protected ExtendedMetaData extendedMetaData
| Constructor Detail |
public DefaultEcoreBuilder(ExtendedMetaData extendedMetaData)
| Method Detail |
public void setExtendedMetaData(ExtendedMetaData extendedMetaData)
EcoreBuilder
setExtendedMetaData in interface EcoreBuilderextendedMetaData -
public Collection generate(URI uri)
throws Exception
EcoreBuilder
generate in interface EcoreBuilderuri - - location of the XML Schema files.
ExceptionURI
public Collection generate(Map targetNamespaceToURI)
throws Exception
EcoreBuilder
generate in interface EcoreBuildertargetNamespaceToURI - - a map of XML Schema targetNamespaces to XML Schema location URIs
ExceptionURI
public Collection generate(Collection uris)
throws Exception
EcoreBuilder
generate in interface EcoreBuilderuris - - locations of the XML Schema files.
ExceptionURI
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||