FileDocCategorySizeDatePackage
XMLEntityHandler.javaAPI DocApache Xerces 3.0.12998Fri Sep 14 20:33:52 BST 2007org.apache.xerces.impl

XMLEntityHandler

public interface XMLEntityHandler
The entity handler interface defines methods to report information about the start and end of entities.
xerces.internal
see
org.apache.xerces.impl.XMLEntityScanner
author
Andy Clark, IBM
version
$Id: XMLEntityHandler.java 446761 2006-09-15 21:59:29Z mrglavas $

Fields Summary
Constructors Summary
Methods Summary
public voidendEntity(java.lang.String name, org.apache.xerces.xni.Augmentations augs)
This method notifies the end of an entity. The DTD has the pseudo-name of "[dtd]" parameter entity names start with '%'; and general entities are just specified by their name.

param
name The name of the entity.
param
augs Additional information that may include infoset augmentations
throws
XNIException Thrown by handler to signal an error.

public voidstartEntity(java.lang.String name, org.apache.xerces.xni.XMLResourceIdentifier identifier, java.lang.String encoding, org.apache.xerces.xni.Augmentations augs)
This method notifies of the start of an entity. The DTD has the pseudo-name of "[dtd]" parameter entity names start with '%'; and general entities are just specified by their name.

param
name The name of the entity.
param
identifier The resource identifier.
param
encoding The auto-detected IANA encoding name of the entity stream. This value will be null in those situations where the entity encoding is not auto-detected (e.g. internal entities or a document entity that is parsed from a java.io.Reader).
param
augs Additional information that may include infoset augmentations
throws
XNIException Thrown by handler to signal an error.