0
|
1 /*
|
|
2 * (c) Copyright IBM Corp 2001, 2005
|
|
3 */
|
|
4
|
|
5 package edu.uga.cs.lsdis.meteors.wadls.factory;
|
|
6
|
|
7 import javax.wadls.*;
|
|
8 import javax.wadls.extensions.*;
|
|
9 import javax.wadls.factory.*;
|
|
10 import javax.wadls.xml.*;
|
|
11
|
|
12 import edu.uga.cs.lsdis.meteors.wadls.*;
|
|
13 import edu.uga.cs.lsdis.meteors.wadls.xml.*;
|
|
14
|
|
15 /**
|
|
16 * This class is a concrete implementation of the abstract class
|
|
17 * WSDLFactory. Some ideas used here have been shamelessly
|
|
18 * copied from the wonderful JAXP and Xerces work.
|
|
19 *
|
|
20 * @author Matthew J. Duftler (duftler@us.ibm.com)
|
|
21 */
|
|
22 public class WADLFactoryImpl extends WADLFactory
|
|
23 {
|
|
24 /**
|
|
25 * Create a new instance of a Definition, with an instance
|
|
26 * of a PopulatedExtensionRegistry as its ExtensionRegistry.
|
|
27 *
|
|
28 * @see edu.uga.cs.lsdis.meteors.wadls.extensions.PopulatedExtensionRegistry
|
|
29 */
|
|
30 public Application newApplication()
|
|
31 {
|
|
32 Application app = new ApplicationImpl();
|
|
33 return app;
|
|
34 }
|
|
35
|
|
36 /**
|
|
37 * Create a new instance of a WSDLReader.
|
|
38 */
|
|
39 public WADLReader newWADLReader()
|
|
40 {
|
|
41 return new WADLReaderImpl();
|
|
42 }
|
|
43
|
|
44 /**
|
|
45 * Create a new instance of a WSDLWriter.
|
|
46 */
|
|
47 public WADLWriter newWADLWriter()
|
|
48 {
|
|
49 return new WADLWriterImpl();
|
|
50 }
|
|
51
|
|
52 } |