Package com.sun.msv.reader.xmlschema
Class WSDLSchemaReader
java.lang.Object
com.sun.msv.reader.xmlschema.WSDLSchemaReader
A utility class that reads all the schemas from a WSDL.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XMLSchemaGrammar
read
(Source wsdlSource, SAXParserFactory factory, GrammarReaderController2 controller) Read the schemas from a WSDL.
-
Constructor Details
-
WSDLSchemaReader
private WSDLSchemaReader()
-
-
Method Details
-
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
-