Class V8MoxelSerializer

  • public class V8MoxelSerializer
    extends Object
    Spreadsheet document xml serializer
    • Constructor Detail

      • V8MoxelSerializer

        public V8MoxelSerializer()
    • Method Detail

      • deserializeXML

        public static SpreadsheetDocument deserializeXML​(InputStream inputStream,
                                                         org.eclipse.emf.ecore.resource.Resource resource,
                                                         Version runtimeVersion,
                                                         CompatibilityMode compatibilityMode,
                                                         Map<UUID,​TypeItem> userDefinedTypes)
        Load spreadsheet document from xml.
        inputStream - InputStream, must not be null
        resource - Resource, may be null in case non-standalone document
        runtimeVersion - current runtime version, must not be null
        compatibilityMode - current CompatibilityMode, can be null if there is no information about it
        types - the loaded types, cannot be null.
        userDefinedTypes - the loaded user defined types, cannot be null.
      • loadTypes

        public static Map<String,​TypeItem> loadTypes​(org.eclipse.emf.ecore.resource.Resource resource,
                                                           org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider,
                                                           IIndexSlicePredicateService slicePredicateService)
        Loads TypeItems and creates a map where key is the and value is the type item object itself.
        resource - the Resource, cannot be null.
        globalScopeProvider - the IGlobalScopeProvider instance, cannot be null.
        slicePredicateService - the IIndexSlicePredicateService instance, cannot be null.
        a types by type name map, never null.