public class X4OEntityResolver extends Object implements EntityResolver
Constructor and Description |
---|
X4OEntityResolver(X4OLanguageContext elementContext)
Creates an X4OEntityResolver for a language.
|
Modifier and Type | Method and Description |
---|---|
InputSource |
resolveEntity(String publicId,
String systemId)
Try to resolve xml entities by systemId.
|
public X4OEntityResolver(X4OLanguageContext elementContext)
elementContext
- The x4o language to resolve entities for.public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException
resolveEntity
in interface EntityResolver
publicId
- The public id to search for.systemId
- The system id to search for.IOException
- When resource could not be read.SAXException
- When exception is thrown.Copyright © 2004-2013 X4O. All Rights Reserved.