Package com._1c.g5.v8.dt.rights.resource
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;
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
OPTION_CUSTOM_INDENT
-
Constructor Summary
Constructors Constructor Description RightsResourceFactory(com.google.inject.Provider<org.eclipse.emf.ecore.xmi.XMLResource> resourceProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.resource.Resource
createResource(org.eclipse.emf.common.util.URI uri)
-
-
-
Field Detail
-
OPTION_CUSTOM_INDENT
protected static final String OPTION_CUSTOM_INDENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
createResource
public org.eclipse.emf.ecore.resource.Resource createResource(org.eclipse.emf.common.util.URI uri)
- Specified by:
createResource
in interfaceorg.eclipse.emf.ecore.resource.Resource.Factory
- Overrides:
createResource
in classorg.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl
-
-