|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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.
Field Summary | |
private TransformerImpl |
m_transformer
Transformer instance |
private static XSLMessages |
m_XSLMessages
XSLMessages instance, sets things up for issuing messages |
Constructor Summary | |
MsgMgr(TransformerImpl transformer)
Create a message manager object. |
Method Summary | |
void |
error(javax.xml.transform.SourceLocator srcLctr,
org.w3c.dom.Node styleNode,
org.w3c.dom.Node sourceNode,
String msg)
Tell the user of an error, and probably throw an exception. |
void |
error(javax.xml.transform.SourceLocator srcLctr,
org.w3c.dom.Node styleNode,
org.w3c.dom.Node sourceNode,
String msg,
Object[] args)
Tell the user of an error, and probably throw an exception. |
void |
error(javax.xml.transform.SourceLocator srcLctr,
String msg)
Tell the user of an error, and probably throw an exception. |
void |
error(javax.xml.transform.SourceLocator srcLctr,
String msg,
Exception e)
Tell the user of an error, and probably throw an exception. |
void |
error(javax.xml.transform.SourceLocator srcLctr,
String msg,
Object[] args)
Tell the user of an error, and probably throw an exception. |
void |
error(javax.xml.transform.SourceLocator srcLctr,
String msg,
Object[] args,
Exception e)
Tell the user of an error, and probably throw an exception. |
void |
message(javax.xml.transform.SourceLocator srcLctr,
String msg,
boolean terminate)
Warn the user of a problem. |
void |
warn(javax.xml.transform.SourceLocator srcLctr,
org.w3c.dom.Node styleNode,
org.w3c.dom.Node sourceNode,
String msg)
Warn the user of a problem. |
void |
warn(javax.xml.transform.SourceLocator srcLctr,
org.w3c.dom.Node styleNode,
org.w3c.dom.Node sourceNode,
String msg,
Object[] args)
Warn the user of a problem. |
void |
warn(javax.xml.transform.SourceLocator srcLctr,
String msg)
Warn the user of a problem. |
void |
warn(javax.xml.transform.SourceLocator srcLctr,
String msg,
Object[] args)
Warn the user of a problem. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private TransformerImpl m_transformer
private static XSLMessages m_XSLMessages
Constructor Detail |
public MsgMgr(TransformerImpl transformer)
transformer
- non transformer instanceMethod Detail |
public void message(javax.xml.transform.SourceLocator srcLctr, String msg, boolean terminate) throws javax.xml.transform.TransformerException
msg
- The message text to issueterminate
- Flag indicating whether to terminate this process
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
public void warn(javax.xml.transform.SourceLocator srcLctr, String msg) throws javax.xml.transform.TransformerException
msg
- Message text to issue
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
public void warn(javax.xml.transform.SourceLocator srcLctr, String msg, Object[] args) throws javax.xml.transform.TransformerException
msg
- Message text to issueargs
- Arguments to pass to the message
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
public void warn(javax.xml.transform.SourceLocator srcLctr, org.w3c.dom.Node styleNode, org.w3c.dom.Node sourceNode, String msg) throws javax.xml.transform.TransformerException
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issue
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
public void warn(javax.xml.transform.SourceLocator srcLctr, org.w3c.dom.Node styleNode, org.w3c.dom.Node sourceNode, String msg, Object[] args) throws javax.xml.transform.TransformerException
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issueargs
- Arguments to pass to the message
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
public void error(javax.xml.transform.SourceLocator srcLctr, String msg) throws javax.xml.transform.TransformerException
msg
- Message text to issue
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
public void error(javax.xml.transform.SourceLocator srcLctr, String msg, Object[] args) throws javax.xml.transform.TransformerException
msg
- Message text to issueargs
- Arguments to be passed to the message
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
public void error(javax.xml.transform.SourceLocator srcLctr, String msg, Exception e) throws javax.xml.transform.TransformerException
msg
- Message text to issuee
- Exception to throw
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
public void error(javax.xml.transform.SourceLocator srcLctr, String msg, Object[] args, Exception e) throws javax.xml.transform.TransformerException
msg
- Message text to issueargs
- Arguments to use in messagee
- Exception to throw
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
public void error(javax.xml.transform.SourceLocator srcLctr, org.w3c.dom.Node styleNode, org.w3c.dom.Node sourceNode, String msg) throws javax.xml.transform.TransformerException
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issue
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
public void error(javax.xml.transform.SourceLocator srcLctr, org.w3c.dom.Node styleNode, org.w3c.dom.Node sourceNode, String msg, Object[] args) throws javax.xml.transform.TransformerException
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issueargs
- Arguments to use in message
XSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.
javax.xml.transform.TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |