org.jaggeryjs.modules.ws.util
Class XSLTTransformer

java.lang.Object
  extended by org.jaggeryjs.modules.ws.util.XSLTTransformer

public class XSLTTransformer
extends Object


Field Summary
static String JSSTUB_XSL_LOCATION
           
static String WSDL10TO20_XSL_LOCATION
           
static String WSDL2SIG_XSL_LOCATION
           
 
Constructor Summary
XSLTTransformer()
           
 
Method Summary
static void generateStub(Source xmlIn, Result result, Map paramMap)
           
static DOMSource getSigStream(InputStream wsdlInStream, Map paramMap)
           
static InputStream getWSDL2(InputStream wsdl1InStream, Map paramMap)
           
static void transform(Source xmlIn, Source xslIn, Result result, Map paramMap, URIResolver uriResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WSDL2SIG_XSL_LOCATION

public static final String WSDL2SIG_XSL_LOCATION
See Also:
Constant Field Values

JSSTUB_XSL_LOCATION

public static final String JSSTUB_XSL_LOCATION
See Also:
Constant Field Values

WSDL10TO20_XSL_LOCATION

public static final String WSDL10TO20_XSL_LOCATION
See Also:
Constant Field Values
Constructor Detail

XSLTTransformer

public XSLTTransformer()
Method Detail

getSigStream

public static DOMSource getSigStream(InputStream wsdlInStream,
                                     Map paramMap)
                              throws TransformerFactoryConfigurationError,
                                     TransformerException,
                                     ParserConfigurationException
Throws:
TransformerFactoryConfigurationError
TransformerException
ParserConfigurationException

generateStub

public static void generateStub(Source xmlIn,
                                Result result,
                                Map paramMap)
                         throws TransformerException
Throws:
TransformerException

getWSDL2

public static InputStream getWSDL2(InputStream wsdl1InStream,
                                   Map paramMap)
                            throws TransformerException,
                                   ParserConfigurationException
Throws:
TransformerException
ParserConfigurationException

transform

public static void transform(Source xmlIn,
                             Source xslIn,
                             Result result,
                             Map paramMap,
                             URIResolver uriResolver)
                      throws TransformerException
Throws:
TransformerException


Copyright © 2015 WSO2 Inc. All rights reserved.