org.apache.cxf.staxutils.validation
Class ResolvingGrammarReaderController
java.lang.Object
org.apache.cxf.staxutils.validation.ResolvingGrammarReaderController
- All Implemented Interfaces:
- com.sun.msv.reader.GrammarReaderController, com.sun.msv.reader.GrammarReaderController2, LSResourceResolver, EntityResolver
public class ResolvingGrammarReaderController
- extends Object
- implements com.sun.msv.reader.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 |
ResolvingGrammarReaderController
public ResolvingGrammarReaderController(String baseURI,
Map<String,EmbeddedSchema> sources)
error
public void error(Locator[] locs,
String msg,
Exception nestedException)
- Specified by:
error
in interface com.sun.msv.reader.GrammarReaderController
warning
public void warning(Locator[] locs,
String errorMessage)
- Specified by:
warning
in interface com.sun.msv.reader.GrammarReaderController
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity
in interface EntityResolver
- Throws:
SAXException
IOException
getLSResourceResolver
public LSResourceResolver getLSResourceResolver()
- Specified by:
getLSResourceResolver
in interface com.sun.msv.reader.GrammarReaderController2
resolveResource
public LSInput resolveResource(String type,
String namespaceURI,
String publicId,
String systemId,
String resolveBaseURI)
- Specified by:
resolveResource
in interface LSResourceResolver
Apache CXF