Mercurial > repos > ganjoo > webservice_toolsuite
diff WebServiceToolWorkflow/lib/SAWADLParser/src/edu/uga/cs/lsdis/meteors/wadls/factory/WADLFactoryImpl.java @ 0:d5cd409b8a18 default tip
Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author | ganjoo |
---|---|
date | Tue, 07 Jun 2011 18:00:50 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/lib/SAWADLParser/src/edu/uga/cs/lsdis/meteors/wadls/factory/WADLFactoryImpl.java Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,52 @@ +/* + * (c) Copyright IBM Corp 2001, 2005 + */ + +package edu.uga.cs.lsdis.meteors.wadls.factory; + +import javax.wadls.*; +import javax.wadls.extensions.*; +import javax.wadls.factory.*; +import javax.wadls.xml.*; + +import edu.uga.cs.lsdis.meteors.wadls.*; +import edu.uga.cs.lsdis.meteors.wadls.xml.*; + +/** + * This class is a concrete implementation of the abstract class + * WSDLFactory. Some ideas used here have been shamelessly + * copied from the wonderful JAXP and Xerces work. + * + * @author Matthew J. Duftler (duftler@us.ibm.com) + */ +public class WADLFactoryImpl extends WADLFactory +{ + /** + * Create a new instance of a Definition, with an instance + * of a PopulatedExtensionRegistry as its ExtensionRegistry. + * + * @see edu.uga.cs.lsdis.meteors.wadls.extensions.PopulatedExtensionRegistry + */ + public Application newApplication() + { + Application app = new ApplicationImpl(); + return app; + } + + /** + * Create a new instance of a WSDLReader. + */ + public WADLReader newWADLReader() + { + return new WADLReaderImpl(); + } + + /** + * Create a new instance of a WSDLWriter. + */ + public WADLWriter newWADLWriter() + { + return new WADLWriterImpl(); + } + +} \ No newline at end of file