|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.transformer.MsgMgr
This class will manage error messages, warning messages, and other types of message events.
Constructor Summary | |
MsgMgr(TransformerImpl transformer)
Create a message manager object. |
Method Summary | |
void |
error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg)
Tell the user of an error, and probably throw an exception. |
void |
error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
void |
error(SourceLocator srcLctr,
java.lang.String msg)
Tell the user of an error, and probably throw an exception. |
void |
error(SourceLocator srcLctr,
java.lang.String msg,
java.lang.Exception e)
Tell the user of an error, and probably throw an exception. |
void |
error(SourceLocator srcLctr,
java.lang.String msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
void |
error(SourceLocator srcLctr,
java.lang.String msg,
java.lang.Object[] args,
java.lang.Exception e)
Tell the user of an error, and probably throw an exception. |
void |
message(SourceLocator srcLctr,
java.lang.String msg,
boolean terminate)
Warn the user of a problem. |
void |
warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg)
Warn the user of a problem. |
void |
warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg,
java.lang.Object[] args)
Warn the user of a problem. |
void |
warn(SourceLocator srcLctr,
java.lang.String msg)
Warn the user of a problem. |
void |
warn(SourceLocator srcLctr,
java.lang.String msg,
java.lang.Object[] args)
Warn the user of a problem. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public MsgMgr(TransformerImpl transformer)
transformer
- non transformer instanceMethod Detail |
public void message(SourceLocator srcLctr, java.lang.String msg, boolean terminate) throws TransformerException
msg
- The message text to issueterminate
- Flag indicating whether to terminate this processpublic void warn(SourceLocator srcLctr, java.lang.String msg) throws TransformerException
msg
- Message text to issuepublic void warn(SourceLocator srcLctr, java.lang.String msg, java.lang.Object[] args) throws TransformerException
msg
- Message text to issueargs
- Arguments to pass to the messagepublic void warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, java.lang.String msg) throws TransformerException
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issuepublic void warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, java.lang.String msg, java.lang.Object[] args) throws TransformerException
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issueargs
- Arguments to pass to the messagepublic void error(SourceLocator srcLctr, java.lang.String msg) throws TransformerException
msg
- Message text to issuepublic void error(SourceLocator srcLctr, java.lang.String msg, java.lang.Object[] args) throws TransformerException
msg
- Message text to issueargs
- Arguments to be passed to the messagepublic void error(SourceLocator srcLctr, java.lang.String msg, java.lang.Exception e) throws TransformerException
msg
- Message text to issuee
- Exception to throwpublic void error(SourceLocator srcLctr, java.lang.String msg, java.lang.Object[] args, java.lang.Exception e) throws TransformerException
msg
- Message text to issueargs
- Arguments to use in messagee
- Exception to throwpublic void error(SourceLocator srcLctr, Node styleNode, Node sourceNode, java.lang.String msg) throws TransformerException
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issuepublic void error(SourceLocator srcLctr, Node styleNode, Node sourceNode, java.lang.String msg, java.lang.Object[] args) throws TransformerException
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issueargs
- Arguments to use in message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |