com.sun.msv.reader.xmlschema
Class WSDLGrammarReaderController

java.lang.Object
  extended by 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.


Constructor Summary
WSDLGrammarReaderController(GrammarReaderController2 nextController, String baseURI, Map<String,EmbeddedSchema> sources)
          create the resolving controller.
 
Method Summary
 void error(Locator[] locs, String msg, Exception nestedException)
           
 LSResourceResolver getLSResourceResolver()
           
 InputSource resolveEntity(String publicId, String systemId)
           
 LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)
           
 void warning(Locator[] locs, String errorMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLGrammarReaderController

public WSDLGrammarReaderController(GrammarReaderController2 nextController,
                                   String baseURI,
                                   Map<String,EmbeddedSchema> sources)
create the resolving controller.

Parameters:
baseURI - URI of the WSDL.
sources -
Method Detail

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