public class SchemaEntityResolver extends Object implements EntityResolver
| Constructor and Description |
|---|
SchemaEntityResolver(String[] schemas)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InputSource |
resolveEntity(String publicId,
String systemId)
The Parser will call this method before opening any external entity
except the top-level document entity.
|
public SchemaEntityResolver(String[] schemas)
schemas - the name of the schemas to resolve.public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException
resolveEntity in interface EntityResolverpublicId - The public identifier of the external entity being
referenced, or null if none was supplied.systemId - The system identifier of the external entity being
referenced.SAXException - Any SAX exception, possibly wrapping another
exception.IOException - A Java-specific IO exception, possibly the result of
creating a new InputStream or Reader for the InputSource.Copyright © 2007-2013 OW2 Consortium. All Rights Reserved.