edu.uga.cs.lsdis.sawsdl.util
Class SAWSDLUtility

java.lang.Object
  extended by edu.uga.cs.lsdis.sawsdl.util.SAWSDLUtility

public class SAWSDLUtility
extends java.lang.Object

A utility class for the users to easily create and modify SAWSDL object structures This includes methods to get all elements with model references, all schema elements with model references and so on.


Constructor Summary
SAWSDLUtility()
           
 
Method Summary
static Definition getDefinitionFromFile(java.io.File f)
          A utility method to get the sawsdl.Definition direclty.
static Definition getDefinitionFromFile(java.io.File f, javax.wsdl.factory.WSDLFactory factory)
          A utility method to get the sawsdl.Definition direclty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAWSDLUtility

public SAWSDLUtility()
Method Detail

getDefinitionFromFile

public static Definition getDefinitionFromFile(java.io.File f,
                                               javax.wsdl.factory.WSDLFactory factory)
                                        throws javax.wsdl.WSDLException
A utility method to get the sawsdl.Definition direclty. This method Takes care of creating the factories

Parameters:
f - - the file to load the definition from
factory - - The WSDL factory object
Returns:
Definition he definition object
Throws:
javax.wsdl.WSDLException - in case of any exceptional behavior

getDefinitionFromFile

public static Definition getDefinitionFromFile(java.io.File f)
                                        throws javax.wsdl.WSDLException
A utility method to get the sawsdl.Definition direclty. This method Takes care of creating the factory assuming the system properties has been set priorly

Parameters:
f - - the file to load the definition from
Returns:
Definition he definition object
Throws:
javax.wsdl.WSDLException - in case of any exceptional behavior


Copyright © 2007. All Rights Reserved.