com.princexml
Interface PrinceEvents


public interface PrinceEvents

The PrinceEvents interface can be used to receive warning and error messages from Prince.


Method Summary
 void onMessage(String msgType, String msgLocation, String msgText)
          This method will be called when a warning or error message is received from Prince.
 

Method Detail

onMessage

void onMessage(String msgType,
               String msgLocation,
               String msgText)
This method will be called when a warning or error message is received from Prince.

Parameters:
msgType - The type of the message ("inf", "wrn", or "err").
msgLocation - The name of the file that the message refers to. This may be empty if the message does not refer to any particular file.
msgText - The text of the message.