Class JsonResourceFactory

  • All Implemented Interfaces:
    org.eclipse.emf.ecore.resource.Resource.Factory

    public class JsonResourceFactory
    extends org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl
    An implementation of Resource Factory that creates JsonResource.
    • Constructor Detail

      • JsonResourceFactory

        public JsonResourceFactory()
      • JsonResourceFactory

        public JsonResourceFactory​(com.fasterxml.jackson.databind.ObjectMapper mapper)
    • Method Detail

      • createResource

        public org.eclipse.emf.ecore.resource.Resource createResource​(org.eclipse.emf.common.util.URI uri)
        Specified by:
        createResource in interface org.eclipse.emf.ecore.resource.Resource.Factory
        Overrides:
        createResource in class org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl
      • getMapper

        public com.fasterxml.jackson.databind.ObjectMapper getMapper()