public class XMLErrorHandler extends Object implements ErrorHandler
| Constructor and Description |
|---|
XMLErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanXML(String schemaLocation)
remove duplicate warnings from the list and set schemaloction
|
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
XMLDoc |
getXMLOutput() |
void |
reset() |
void |
setInputSource(InputSource inSource) |
void |
setParser(XMLParser parser)
Setter for parser attribute.
|
String |
toString() |
void |
warning(SAXParseException exception) |
public void warning(SAXParseException exception)
warning in interface ErrorHandlerexception - ErrorHandler.warning(org.xml.sax.SAXParseException)public void error(SAXParseException exception)
error in interface ErrorHandlerexception - ErrorHandler.error(org.xml.sax.SAXParseException)public void fatalError(SAXParseException exception)
fatalError in interface ErrorHandlerexception - SAXParseExceptionJDFException - - if fatal error occurspublic XMLDoc getXMLOutput()
public void cleanXML(String schemaLocation)
schemaLocation - public String toString()
toString in class ObjectObject.toString()public void setParser(XMLParser parser)
parser - the parser to setpublic void setInputSource(InputSource inSource)
inSource - public void reset()
Copyright © 2015. All rights reserved.