org.wso2.registry.jdbc.mediatypes.builtin.utils
Class WSDLFileProcessor

java.lang.Object
  extended by org.wso2.registry.jdbc.mediatypes.builtin.utils.WSDLFileProcessor

public class WSDLFileProcessor
extends java.lang.Object


Field Summary
static java.lang.String IMPORT_TAG
           
static java.lang.String INCLUDE_TAG
           
 
Constructor Summary
WSDLFileProcessor(DefaultMediaTypeHandler defaultMediaTypeHandler)
           
 
Method Summary
 void calculateWSDLNamesAndChangeTypes(javax.wsdl.Definition wsdlDefinition, java.util.Map processedWSDLMap, java.util.Map processedScheamMap, java.util.Set visitedWSDLs)
          saves the given wsdl definition file with its imported wsdls and imported and included schemas.
 void saveWSDLFileToRegistry(javax.wsdl.Definition wsdlDefinition, java.util.Map processedWSDLMap, java.util.Set visitedWSDLs, java.lang.String registryBasePath)
           
 void saveWSDLFileToRegistry(java.lang.String location, java.lang.String registryBasePath)
          saves a wsdl file including its imports and imported schemas.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMPORT_TAG

public static final java.lang.String IMPORT_TAG
See Also:
Constant Field Values

INCLUDE_TAG

public static final java.lang.String INCLUDE_TAG
See Also:
Constant Field Values
Constructor Detail

WSDLFileProcessor

public WSDLFileProcessor(DefaultMediaTypeHandler defaultMediaTypeHandler)
Method Detail

saveWSDLFileToRegistry

public void saveWSDLFileToRegistry(java.lang.String location,
                                   java.lang.String registryBasePath)
                            throws RegistryException
saves a wsdl file including its imports and imported schemas.

Parameters:
location -
Throws:
javax.wsdl.WSDLException
RegistryException

calculateWSDLNamesAndChangeTypes

public void calculateWSDLNamesAndChangeTypes(javax.wsdl.Definition wsdlDefinition,
                                             java.util.Map processedWSDLMap,
                                             java.util.Map processedScheamMap,
                                             java.util.Set visitedWSDLs)
saves the given wsdl definition file with its imported wsdls and imported and included schemas.

Parameters:
wsdlDefinition - - wsdl file to save
processedWSDLMap - - map with original source URI vs new uris for wsdls
processedScheamMap - - map with orignal source URI vs new uris for schemas

saveWSDLFileToRegistry

public void saveWSDLFileToRegistry(javax.wsdl.Definition wsdlDefinition,
                                   java.util.Map processedWSDLMap,
                                   java.util.Set visitedWSDLs,
                                   java.lang.String registryBasePath)
                            throws RegistryException
Throws:
RegistryException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.