EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][edu.kit.ipd.sdq.completionfeaturemodel.util]

COVERAGE SUMMARY FOR SOURCE FILE [completionfeaturemodelResourceFactoryImpl.java]

nameclass, %method, %block, %line, %
completionfeaturemodelResourceFactoryImpl.java0%   (0/1)0%   (0/2)0%   (0/46)0%   (0/10)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class completionfeaturemodelResourceFactoryImpl0%   (0/1)0%   (0/2)0%   (0/46)0%   (0/10)
completionfeaturemodelResourceFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
createResource (URI): Resource 0%   (0/1)0%   (0/43)0%   (0/8)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package edu.kit.ipd.sdq.completionfeaturemodel.util;
8 
9import org.eclipse.emf.common.util.URI;
10import org.eclipse.emf.ecore.resource.Resource;
11import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
12import org.eclipse.emf.ecore.xmi.XMLResource;
13 
14/**
15 * <!-- begin-user-doc -->
16 * The <b>Resource Factory</b> associated with the package.
17 * <!-- end-user-doc -->
18 * @see edu.kit.ipd.sdq.completionfeaturemodel.util.completionfeaturemodelResourceImpl
19 * @generated
20 */
21public class completionfeaturemodelResourceFactoryImpl extends ResourceFactoryImpl {
22        /**
23         * Creates an instance of the resource factory.
24         * <!-- begin-user-doc -->
25         * <!-- end-user-doc -->
26         * @generated
27         */
28        public completionfeaturemodelResourceFactoryImpl() {
29                super();
30        }
31 
32        /**
33         * Creates an instance of the resource.
34         * <!-- begin-user-doc -->
35         * <!-- end-user-doc -->
36         * @generated
37         */
38        @Override
39        public Resource createResource(URI uri) {
40                XMLResource result = new completionfeaturemodelResourceImpl(uri);
41                result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
42                result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
43 
44                result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
45 
46                result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
47                result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
48 
49                result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
50                return result;
51        }
52 
53} //completionfeaturemodelResourceFactoryImpl

[all classes][edu.kit.ipd.sdq.completionfeaturemodel.util]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov