The ErrorStorer maps Nodes to errors.It receives a reference
to the ErrorTreeFactory in the Constructor.When
error is called, it asks the
ErrorTreeFactory for the current node, and uses this as the
"key" of a Hashtable, with the error as a value.The error
value is wrapped up nicely in an ParseError object.It
is used in the XML Tutorial to illustrate how to implement
the ErrorListener to provide error storage for later reference.
The ErrorStorer maps Nodes to errors.It receives a reference
to the ErrorTreeFactory in the Constructor.When
error is called, it asks the
ErrorTreeFactory for the current node, and uses this as the
"key" of a Hashtable, with the error as a value.The error
value is wrapped up nicely in an ParseError object.It
is used in the XML Tutorial to illustrate how to implement
the ErrorListener to provide error storage for later reference.