|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EcoreBuilder
The interface describes an XML Schema to Ecore builder.
Method Summary | |
---|---|
java.util.Collection<? extends Resource> |
generate(java.util.Collection<URI> uris)
Given XML Schema location URIs this method creates corresponding Ecore model(s) |
java.util.Collection<? extends Resource> |
generate(java.util.Map<java.lang.String,URI> targetNamespaceToURI)
Given a map of XML Schema targetNamespaces (String) to XML Schema location URIs, this method generates corresponding Ecore model(s). |
java.util.Collection<? extends Resource> |
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. |
Method Detail |
---|
java.util.Collection<? extends Resource> generate(URI uri) throws java.lang.Exception
uri
- - location of the XML Schema files.
java.lang.Exception
URI
java.util.Collection<? extends Resource> generate(java.util.Collection<URI> uris) throws java.lang.Exception
uris
- - locations of the XML Schema files.
java.lang.Exception
URI
java.util.Collection<? extends Resource> generate(java.util.Map<java.lang.String,URI> targetNamespaceToURI) throws java.lang.Exception
targetNamespaceToURI
- - a map of XML Schema targetNamespaces to XML Schema location URIs
java.lang.Exception
URI
void setExtendedMetaData(ExtendedMetaData extendedMetaData)
extendedMetaData
-
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |