public class JBossXSEntityResolver extends Object implements XMLEntityResolver
Constructor and Description |
---|
JBossXSEntityResolver(EntityResolver resolver,
Map<String,URL> schemaLocationByNamespace) |
Modifier and Type | Method and Description |
---|---|
XMLInputSource |
resolveEntity(XMLResourceIdentifier resId)
Resolves an external parsed entity.
|
public JBossXSEntityResolver(EntityResolver resolver, Map<String,URL> schemaLocationByNamespace)
public XMLInputSource resolveEntity(XMLResourceIdentifier resId) throws XNIException, IOException
resolveEntity
in interface XMLEntityResolver
resId
- location of the XML resource to resolveXNIException
- Thrown on general error.IOException
- Thrown if resolved entity stream cannot be
opened or some other i/o error occurs.XMLResourceIdentifier
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.