1 package org.andromda.repositories.mdr;
2
3 import javax.jmi.reflect.RefPackage;
4 import org.netbeans.api.xmi.XMIReferenceResolver;
5 import org.netbeans.lib.jmi.xmi.InputConfig;
6
7
8
9
10
11 public class MDRXmiReferenceResolver
12 extends InputConfig
13 {
14 private XMIReferenceResolver referenceResolver;
15
16
17
18
19
20
21
22 public MDRXmiReferenceResolver(
23 RefPackage[] extents,
24 String[] moduleSearchPath)
25 {
26 this.referenceResolver = new MDRXmiReferenceResolverContext(extents, this, moduleSearchPath);
27 }
28
29
30
31
32 public void setReferenceResolver(XMIReferenceResolver arg0)
33 {
34 throw new IllegalStateException("MDRXmiReferenceResolver.setReferenceResolver must not be implemented!");
35 }
36
37
38
39
40 public XMIReferenceResolver getReferenceResolver()
41 {
42 return referenceResolver;
43 }
44 }