Class RightsResourceFactory

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

    public class RightsResourceFactory
    extends org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl

    The implementation of a resource factory specially for Rights

    Resources created by this factory support next options for serialize resource like 1C xml:

    • an element handle for serializing xsi type for root element;
    • custom rights extended matadata implementation RightsExtendedMetaData;
    • whitespace indentation as tab literal;
    • keeps default content;
    • Constructor Detail

      • RightsResourceFactory

        @Inject
        public RightsResourceFactory​(com.google.inject.Provider<org.eclipse.emf.ecore.xmi.XMLResource> resourceProvider)
    • 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