|
|||||||||||
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 EcoreBuilder
extendedMetaData
- public Collection generate(URI uri) throws Exception
EcoreBuilder
generate
in interface EcoreBuilder
uri
- - location of the XML Schema files.
Exception
URI
public Collection generate(Map targetNamespaceToURI) throws Exception
EcoreBuilder
generate
in interface EcoreBuilder
targetNamespaceToURI
- - a map of XML Schema targetNamespaces to XML Schema location URIs
Exception
URI
public Collection generate(Collection uris) throws Exception
EcoreBuilder
generate
in interface EcoreBuilder
uris
- - locations of the XML Schema files.
Exception
URI
|
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 |