org.milyn.ect.ecore
Class SchemaConverter

java.lang.Object
  extended by org.milyn.ect.ecore.SchemaConverter

public class SchemaConverter
extends Object


Field Summary
static String FRAGMENT_XML_ENTRY
           
static SchemaConverter INSTANCE
          Singleton instance for convinience
 
Constructor Summary
protected SchemaConverter()
           
 
Method Summary
 void convertEDIMap(org.eclipse.emf.ecore.EPackage pkg, OutputStream out)
          Converts a single Edimap to XML Schema
 org.milyn.archive.Archive createArchive(Set<org.eclipse.emf.ecore.EPackage> packages, String pluginID, String pathPrefix)
          Convert directory given as InputStream to the resulting archive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final SchemaConverter INSTANCE
Singleton instance for convinience


FRAGMENT_XML_ENTRY

public static final String FRAGMENT_XML_ENTRY
See Also:
Constant Field Values
Constructor Detail

SchemaConverter

protected SchemaConverter()
Method Detail

createArchive

public org.milyn.archive.Archive createArchive(Set<org.eclipse.emf.ecore.EPackage> packages,
                                               String pluginID,
                                               String pathPrefix)
                                        throws IOException
Convert directory given as InputStream to the resulting archive

Parameters:
directoryInputStream -
Throws:
IOException

convertEDIMap

public void convertEDIMap(org.eclipse.emf.ecore.EPackage pkg,
                          OutputStream out)
                   throws IOException
Converts a single Edimap to XML Schema

Parameters:
pkg -
out -
Throws:
IOException


Copyright © 2018. All rights reserved.