|
GXPARSE hosted by |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageListener<T extends Parser>
Message listener interface for XML processing applications that are driven
by an XML push Parser
.
Method Summary | |
---|---|
void |
error(T parser,
String description,
Location location,
Exception exception)
Receive notification of a recoverable error. |
void |
fatalError(T parser,
String description,
Location location,
Exception exception)
Receive notification of a non-recoverable error. |
void |
warning(T parser,
String description,
Location location,
Exception exception)
Receive notification of a warning. |
Method Detail |
---|
void warning(T parser, String description, Location location, Exception exception) throws ListenerException, IOException
Receive notification of a warning.
parser
- The Parser
that invoked this
methoddescription
- A summary of the warning information (may be an
empty String).location
- Information about the location in the inputexception
- Additional information from the underlying
parser. The information will depend on the
Parser
implementation. The
parameter may be null, and the underlying
parser may not have actually thrown an
exception.
ListenerException
IOException
void error(T parser, String description, Location location, Exception exception) throws ListenerException, IOException
Receive notification of a recoverable error.
parser
- The Parser
that invoked this
methoddescription
- A summary of the warning information (may be an
empty String).location
- Information about the location in the inputexception
- Additional information from the underlying
parser. The information will depend on the
Parser
implementation. The
parameter may be null, and the underlying
parser may not have actually thrown an
exception.
ListenerException
IOException
void fatalError(T parser, String description, Location location, Exception exception) throws ListenerException, IOException
Receive notification of a non-recoverable error.
parser
- The Parser
that invoked this
methoddescription
- A summary of the warning information (may be an
empty String).location
- Information about the location in the inputexception
- Additional information from the underlying
parser. The information will depend on the
Parser
implementation. The
parameter may be null, and the underlying
parser may not have actually thrown an
exception.
ListenerException
IOException
|
GXPARSE download | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |