public abstract class EntityCatalog extends Object implements EntityResolver
getDefault()to get the master instance in system. Any parser working with unknown XML documents should use it to avoid unnecessary Internet connections.
You can register your own instances via lookup to add to the resolver pool, but for reasons of performance and predictability during startup it is best to provide the entity (e.g. some DTD you define) as the contents of a file in the system filesystem, in the /xml/entities/ folder, where the file path beneath this folder is based on the public ID as follows:
It is recommended that the entity file in /xml/entities/ also be given a file
hint.originalPublicID with a string value giving the public ID.
org.netbeans.modules.xml.catalog to display the entry properly.
|Modifier and Type||Field and Description|
Better to register entities individually by layer as described in class documentation.
|Modifier||Constructor and Description|
Default constructor for subclasses (generally discouraged).
|Modifier and Type||Method and Description|
Get a master entity catalog which can delegate to any others that have been registered via lookup.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@Deprecated public static final String PUBLIC_ID
EntityCatalog, so could be registered under
public static EntityCatalog getDefault()
Built on January 22 2020. | Copyright © 2017-2020 Apache Software Foundation. All Rights Reserved.