org.apache.cxf.wstx_msv_validation
Class ResolvingGrammarReaderController
java.lang.Object
org.apache.cxf.wstx_msv_validation.ResolvingGrammarReaderController
- All Implemented Interfaces:
- LSResourceResolver
public class ResolvingGrammarReaderController
- extends Object
- implements 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)
warning
public void warning(Locator[] locs,
String errorMessage)
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Throws:
SAXException
IOException
getLSResourceResolver
public LSResourceResolver getLSResourceResolver()
resolveResource
public LSInput resolveResource(String type,
String namespaceURI,
String publicId,
String systemId,
String resolveBaseURI)
- Specified by:
resolveResource
in interface LSResourceResolver
Apache CXF