Package com.sun.msv.reader.xmlschema
Class WSDLSchemaReader
- java.lang.Object
-
- com.sun.msv.reader.xmlschema.WSDLSchemaReader
-
public final class WSDLSchemaReader extends java.lang.ObjectA utility class that reads all the schemas from a WSDL.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classWSDLSchemaReader.SimpleNamespaceContext
-
Constructor Summary
Constructors Modifier Constructor Description privateWSDLSchemaReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XMLSchemaGrammarread(javax.xml.transform.Source wsdlSource, javax.xml.parsers.SAXParserFactory factory, GrammarReaderController2 controller)Read the schemas from a WSDL.
-
-
-
Method Detail
-
read
public static XMLSchemaGrammar read(javax.xml.transform.Source wsdlSource, javax.xml.parsers.SAXParserFactory factory, GrammarReaderController2 controller) throws javax.xml.xpath.XPathExpressionException, javax.xml.transform.TransformerConfigurationException, javax.xml.transform.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:
javax.xml.xpath.XPathExpressionExceptionjavax.xml.transform.TransformerExceptionjavax.xml.transform.TransformerConfigurationException
-
-