EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pipesandfilters.util]

COVERAGE SUMMARY FOR SOURCE FILE [pipesandfiltersResourceFactoryImpl.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

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

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

[all classes][de.uka.ipd.sdq.pipesandfilters.util]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov