|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.utils.DefaultErrorHandler | +--org.apache.xalan.xpath.xml.ProblemListenerDefault
This is the interface that the XSL processor calls when it has a problem of some kind, either an error or a warning. Users should ass the XSLTEngineImpl class to setProblemListener if they wish an object instance to be called when a problem event occurs.
Fields inherited from interface org.apache.xalan.xpath.xml.ProblemListener |
ERROR,
MESSAGE,
QUERYENGINE,
WARNING,
XMLPARSER,
XPATHPARSER,
XPATHPROCESSOR,
XSLPROCESSOR |
Constructor Summary | |
ProblemListenerDefault()
Deprecated. |
|
ProblemListenerDefault(ProblemListener l)
Deprecated. |
Method Summary | |
void |
error(org.xml.sax.SAXParseException exception)
Deprecated. |
void |
error(javax.xml.transform.TransformerException exception)
Deprecated. |
void |
fatalError(org.xml.sax.SAXParseException exception)
Deprecated. |
void |
fatalError(javax.xml.transform.TransformerException exception)
Deprecated. |
org.xml.sax.ErrorHandler |
getErrorHandler()
Deprecated. |
ProblemListener |
getProblemListener()
Deprecated. |
boolean |
message(java.lang.String msg)
Deprecated. Function that is called to issue a message. |
boolean |
problem(short where,
short classification,
java.lang.Object styleNode,
org.w3c.dom.Node sourceNode,
java.lang.String msg,
java.lang.String id,
int lineNo,
int charOffset)
Deprecated. Function that is called when a problem event occurs. |
void |
setProblemListener(ProblemListener l)
Deprecated. |
void |
warning(org.xml.sax.SAXParseException exception)
Deprecated. |
void |
warning(javax.xml.transform.TransformerException exception)
Deprecated. |
Methods inherited from class org.apache.xml.utils.DefaultErrorHandler |
ensureLocationSet,
printLocation,
printLocation |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ProblemListenerDefault()
public ProblemListenerDefault(ProblemListener l)
Method Detail |
public void setProblemListener(ProblemListener l)
public org.xml.sax.ErrorHandler getErrorHandler()
public ProblemListener getProblemListener()
public boolean message(java.lang.String msg)
msg
- A string message to output.public boolean problem(short where, short classification, java.lang.Object styleNode, org.w3c.dom.Node sourceNode, java.lang.String msg, java.lang.String id, int lineNo, int charOffset) throws org.xml.sax.SAXException
where
- Either and XMLPARSER, XSLPROCESSOR, or QUERYENGINE.classification
- Either ERROR or WARNING.styleNode
- The style tree node where the problem
occurred. May be null.sourceNode
- The source tree node where the problem
occurred. May be null.msg
- A string message explaining the problem.lineNo
- The line number where the problem occurred,
if it is known. May be zero.charOffset
- The character offset where the problem,
occurred if it is known. May be zero.public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
public void warning(javax.xml.transform.TransformerException exception) throws javax.xml.transform.TransformerException
public void error(javax.xml.transform.TransformerException exception) throws javax.xml.transform.TransformerException
public void fatalError(javax.xml.transform.TransformerException exception) throws javax.xml.transform.TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |