XML for Java Compatibility API 2.0.11

com.ibm.xml.parser
Interface ReferenceHandler


public abstract interface ReferenceHandler

An interface for receiving control when a General Reference is recognized by the XML4J parser. This interface is useful to applications which are sensitive to the existence of General References and want to receive control prior to and after the XML4J parser expands the General Reference in favor of its children in the document object tree.

Refer to GeneralReference for details.

Version:
Revision: 86 1.4 src/com/ibm/xml/parser/ReferenceHandler.java, parser, xml4j2, xml4j2_0_11
See Also:
GeneralReference

Method Summary
 void endReference(java.lang.String entityName)
          Interface to be implemented for receiving control after all entity streams for a General Reference have been parsed.
 void startReference(java.lang.String entityName)
          Interface to be implemented for receiving control when a General Reference is recognized by the XML4J parser.
 

Method Detail

startReference

public void startReference(java.lang.String entityName)
Interface to be implemented for receiving control when a General Reference is recognized by the XML4J parser. Control is received prior to parsing any entity streams.
Parameters:
entityName - The name of the entity being referred to by the General Reference.
See Also:
endReference(java.lang.String), GeneralReference

endReference

public void endReference(java.lang.String entityName)
Interface to be implemented for receiving control after all entity streams for a General Reference have been parsed.
Parameters:
entityName - The name of the entity being referred to by the General Reference.
See Also:
startReference(java.lang.String), GeneralReference

XML for Java Compatibility API 2.0.11