Class RightsResourceFactory

java.lang.Object
org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl
com._1c.g5.v8.dt.rights.resource.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;
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.Resource.Factory

    org.eclipse.emf.ecore.resource.Resource.Factory.Descriptor, org.eclipse.emf.ecore.resource.Resource.Factory.Registry
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RightsResourceFactory(com.google.inject.Provider<org.eclipse.emf.ecore.xmi.XMLResource> resourceProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.emf.ecore.resource.Resource
    createResource(org.eclipse.emf.common.util.URI uri)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • RightsResourceFactory

      @Inject public RightsResourceFactory(com.google.inject.Provider<org.eclipse.emf.ecore.xmi.XMLResource> resourceProvider)
  • Method Details

    • 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