public class SchemaConverter extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FRAGMENT_XML_ENTRY |
static SchemaConverter |
INSTANCE
Singleton instance for convinience
|
| Modifier | Constructor and Description |
|---|---|
protected |
SchemaConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
convertEDIMap(org.eclipse.emf.ecore.EPackage pkg,
OutputStream out)
Converts a single
Edimap to XML Schema |
Archive |
createArchive(Set<org.eclipse.emf.ecore.EPackage> packages,
String pluginID,
String pathPrefix)
Convert directory given as
InputStream to the resulting archive |
public static final SchemaConverter INSTANCE
public static final String FRAGMENT_XML_ENTRY
public Archive createArchive(Set<org.eclipse.emf.ecore.EPackage> packages, String pluginID, String pathPrefix) throws IOException
InputStream to the resulting archivedirectoryInputStream - IOExceptionpublic void convertEDIMap(org.eclipse.emf.ecore.EPackage pkg,
OutputStream out)
throws IOException
Edimap to XML Schemapkg - out - IOExceptionCopyright © 2020. All rights reserved.