com.sun.msv.reader.xmlschema
Class WSDLSchemaReader

java.lang.Object
  extended by com.sun.msv.reader.xmlschema.WSDLSchemaReader

public final class WSDLSchemaReader
extends Object

A utility class that reads all the schemas from a WSDL.


Method Summary
static XMLSchemaGrammar read(Source wsdlSource, SAXParserFactory factory, GrammarReaderController2 controller)
          Read the schemas from a WSDL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public static XMLSchemaGrammar read(Source wsdlSource,
                                    SAXParserFactory factory,
                                    GrammarReaderController2 controller)
                             throws XPathExpressionException,
                                    TransformerConfigurationException,
                                    TransformerException
Read the schemas from a WSDL.

Parameters:
wsdlSource - the WSDL, in any of the TRaX sources.
factory - a SAX parser factory, used to obtain a SAX parser used internally in the reading process.
controller - Object to handle errors, warnings, and provide a resolver for non-local schemas.
Returns:
the MSV grammar.
Throws:
XPathExpressionException
TransformerException
TransformerConfigurationException


MSV