Package com.sun.msv.reader.xmlschema
Class WSDLSchemaReader
- java.lang.Object
-
- 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XMLSchemaGrammar
read(Source wsdlSource, SAXParserFactory factory, GrammarReaderController2 controller)
Read the schemas from a WSDL.
-
-
-
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
-
-