FileDocCategorySizeDatePackage
XMLEntityHandler.javaAPI DocJava SE 6 API5050Tue Jun 10 00:22:38 BST 2008com.sun.org.apache.xerces.internal.impl

XMLEntityHandler

public interface XMLEntityHandler
The entity handler interface defines methods to report information about the start and end of entities.
xerces.internal
see
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner
author
Andy Clark, IBM
version
$Id: XMLEntityHandler.java,v 1.1.2.1 2005/08/01 03:34:12 jeffsuttor Exp $

Fields Summary
Constructors Summary
Methods Summary
public voidendEntity(java.lang.String name, com.sun.org.apache.xerces.internal.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
IOException This exception might be thrown when there is premature end of entity
throws
XNIException Thrown by handler to signal an error.

public voidstartEntity(java.lang.String name, com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier identifier, java.lang.String encoding, com.sun.org.apache.xerces.internal.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.