| Modifier and Type | Field and Description |
|---|---|
| protected static final String | ERROR_REPORTER
Property identifier: error reporter. |
| protected Entity. | |
| protected Map | fEntities
Entities. |
| private XMLEntityManager | |
| protected XMLErrorReporter | fErrorReporter
Error reporter. |
| protected boolean | |
| protected PropertyManager | |
| protected boolean | fWarnDuplicateEntityDef
warn on duplicate Entity declaration. |
| private static char[] | |
| private static char[] | |
| private static String | |
| private static char[] | |
| private static boolean[] | |
| private static String | |
| protected static final String | WARN_ON_DUPLICATE_ENTITYDEF
Feature identifier: warn on duplicate EntityDef |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addExternalEntity(String
The name of the entity. name, String The public identifier of the entity. publicId, String The system identifier of the entity. literalSystemId, String The base system identifier of the entity.
This is the system identifier of the entity
where the entity being added and
is used to expand the system identifier when
the system identifier is a relative URI.
When null the system identifier of the first
external entity on the stack is used instead. baseSystemId)Adds an external entity declaration. |
| public void | addInternalEntity(String
The name of the entity. name, String The text of the entity. text)Adds an internal entity declaration. |
| public void | |
| public void | |
| public static String | Returns: Returns the URI string representing the expanded system identifier. A null value indicates that the given system identifier is already expanded.The systemId to be expanded. systemId)Expands a system id and returns the system id as a URI, if it can be expanded. |
| public static String | Returns: Returns the URI string representing the expanded system identifier. A null value indicates that the given system identifier is already expanded.The systemId to be expanded. systemId, String baseSystemId)Expands a system id and returns the system id as a URI, if it can be expanded. |
| protected static String | |
| public Map | |
| public Entity | |
| private static synchronized String | |
| public boolean | Returns: True if the entity is declared, false otherwise.The name of the entity to check. entityName)Checks whether an entity given by name is declared. |
| public boolean | Returns: True if the entity was declared in the external subset, false otherwise (including when the entity is not declared).The name of the entity to check. entityName)Checks whether the declaration of an entity given by name is // in the external subset. |
| public boolean | Returns: True if the entity is external, false otherwise (including when the entity is not declared).The name of the entity to check. entityName)Checks whether an entity given by name is external. |
| public boolean | Returns: True if the entity is unparsed, false otherwise (including when the entity is not declared).The name of the entity to check. entityName)Checks whether an entity given by name is unparsed. |
| public void | |
| public void | |
| public void | |
| public void |
| ERROR_REPORTER | back to summary |
|---|---|
| protected static final String ERROR_REPORTER Property identifier: error reporter. | |
| fCurrentEntity | back to summary |
|---|---|
| protected Entity. | |
| fEntities | back to summary |
|---|---|
| protected Map<String, Entity> fEntities Entities. | |
| fEntityManager | back to summary |
|---|---|
| private XMLEntityManager fEntityManager | |
| fErrorReporter | back to summary |
|---|---|
| protected XMLErrorReporter fErrorReporter Error reporter. This property identifier is: http://apache.org/xml/properties/internal/error-reporter | |
| fInExternalSubset | back to summary |
|---|---|
| protected boolean fInExternalSubset | |
| fPropertyManager | back to summary |
|---|---|
| protected PropertyManager fPropertyManager | |
| fWarnDuplicateEntityDef | back to summary |
|---|---|
| protected boolean fWarnDuplicateEntityDef warn on duplicate Entity declaration. http://apache.org/xml/features/warn-on-duplicate-entitydef | |
| gAfterEscaping1 | back to summary |
|---|---|
| private static char[] gAfterEscaping1 | |
| gAfterEscaping2 | back to summary |
|---|---|
| private static char[] gAfterEscaping2 | |
| gEscapedUserDir | back to summary |
|---|---|
| private static String gEscapedUserDir | |
| gHexChs | back to summary |
|---|---|
| private static char[] gHexChs | |
| gNeedEscaping | back to summary |
|---|---|
| private static boolean[] gNeedEscaping | |
| gUserDir | back to summary |
|---|---|
| private static String gUserDir | |
| WARN_ON_DUPLICATE_ENTITYDEF | back to summary |
|---|---|
| protected static final String WARN_ON_DUPLICATE_ENTITYDEF Feature identifier: warn on duplicate EntityDef | |
| XMLEntityStorage | back to summary |
|---|---|
| public XMLEntityStorage(PropertyManager propertyManager) Creates a new instance of XMLEntityStorage | |
| XMLEntityStorage | back to summary |
|---|---|
| public XMLEntityStorage(XMLEntityManager entityManager) Creates a new instance of XMLEntityStorage | |
| addExternalEntity | back to summary |
|---|---|
| public void addExternalEntity(String name, String publicId, String literalSystemId, String baseSystemId) Adds an external entity declaration. Note This method ignores subsequent entity declarations. Note The name should be a unique symbol. The SymbolTable can be used for this purpose.
| |
| addInternalEntity | back to summary |
|---|---|
| public void addInternalEntity(String name, String text) Adds an internal entity declaration. Note This method ignores subsequent entity declarations. Note The name should be a unique symbol. The SymbolTable can be used for this purpose.
| |
| addUnparsedEntity | back to summary |
|---|---|
| public void addUnparsedEntity(String name, String publicId, String systemId, String baseSystemId, String notation) Adds an unparsed entity declaration. Note This method ignores subsequent entity declarations. Note The name should be a unique symbol. The SymbolTable can be used for this purpose.
| |
| endExternalSubset | back to summary |
|---|---|
| public void endExternalSubset() | |
| expandSystemId | back to summary |
|---|---|
| public static String expandSystemId(String systemId) Expands a system id and returns the system id as a URI, if it can be expanded. A return value of null means that the identifier is already expanded. An exception thrown indicates a failure to expand the id. | |
| expandSystemId | back to summary |
|---|---|
| public static String expandSystemId(String systemId, String baseSystemId) Expands a system id and returns the system id as a URI, if it can be expanded. A return value of null means that the identifier is already expanded. An exception thrown indicates a failure to expand the id. | |
| fixURI | back to summary |
|---|---|
| protected static String fixURI(String str) Fixes a platform dependent filename to standard URI form. | |
| getEntities | back to summary |
|---|---|
| public Map | |
| getEntity | back to summary |
|---|---|
| public Entity getEntity(String name) Returns entity declaration.
| |
| getUserDir | back to summary |
|---|---|
| private static synchronized String getUserDir() | |
| isDeclaredEntity | back to summary |
|---|---|
| public boolean isDeclaredEntity(String entityName) Checks whether an entity given by name is declared.
| |
| isEntityDeclInExternalSubset | back to summary |
|---|---|
| public boolean isEntityDeclInExternalSubset(String entityName) Checks whether the declaration of an entity given by name is // in the external subset.
| |
| isExternalEntity | back to summary |
|---|---|
| public boolean isExternalEntity(String entityName) Checks whether an entity given by name is external.
| |
| isUnparsedEntity | back to summary |
|---|---|
| public boolean isUnparsedEntity(String entityName) Checks whether an entity given by name is unparsed.
| |
| reset | back to summary |
|---|---|
| public void reset(PropertyManager propertyManager) | |
| reset | back to summary |
|---|---|
| public void reset() | |
| reset | back to summary |
|---|---|
| public void reset(XMLComponentManager componentManager) throws XMLConfigurationException Resets the component. The component can query the component manager about any features and properties that affect the operation of the component.
| |
| startExternalSubset | back to summary |
|---|---|
| public void startExternalSubset() | |