com.sun.msv.reader.xmlschema
Class WSDLGrammarReaderController
java.lang.Object
com.sun.msv.reader.xmlschema.WSDLGrammarReaderController
- All Implemented Interfaces:
- GrammarReaderController, GrammarReaderController2, LSResourceResolver, EntityResolver
public class WSDLGrammarReaderController
- extends Object
- implements GrammarReaderController2, LSResourceResolver
Catch error messages and resolve schema locations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDLGrammarReaderController
public WSDLGrammarReaderController(GrammarReaderController2 nextController,
String baseURI,
Map<String,EmbeddedSchema> sources)
- create the resolving controller.
- Parameters:
baseURI
- URI of the WSDL.sources
-
error
public void error(Locator[] locs,
String msg,
Exception nestedException)
- Specified by:
error
in interface GrammarReaderController
warning
public void warning(Locator[] locs,
String errorMessage)
- Specified by:
warning
in interface GrammarReaderController
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
- Specified by:
resolveEntity
in interface EntityResolver
getLSResourceResolver
public LSResourceResolver getLSResourceResolver()
- Specified by:
getLSResourceResolver
in interface GrammarReaderController2
resolveResource
public LSInput resolveResource(String type,
String namespaceURI,
String publicId,
String systemId,
String baseURI)
- Specified by:
resolveResource
in interface LSResourceResolver
MSV