public final class BerliozEntityResolver extends Object implements EntityResolver
Berlioz public identifiers should match the following:
-//Weborganic//DTD::Berlioz [name_of_schema]//EN
Note: this resolver also accepts the alias prefix -//Berlioz//DTD::
.
Modifier and Type | Field and Description |
---|---|
static String |
PUBLIC_ID_PREFIX
The prefix used by Berlioz for all public identifiers.
|
Modifier and Type | Method and Description |
---|---|
static BerliozEntityResolver |
getInstance()
Returns an entity resolver instance.
|
InputSource |
resolveEntity(String publicId,
String systemId) |
protected static String |
toFileName(String publicId)
Returns the file name for the specified public ID.
|
public static final String PUBLIC_ID_PREFIX
public InputSource resolveEntity(String publicId, String systemId) throws SAXException
resolveEntity
in interface EntityResolver
publicId
- The public identifier for the entity.systemId
- The system identifier for the entity.SAXException
- If the library has not been defined.EntityResolver.resolveEntity(String, String)
public static BerliozEntityResolver getInstance()
Copyright © 2016 Allette Systems. All rights reserved.