org.cip4.jdflib.core
Class XMLErrorHandler

java.lang.Object
  extended by org.cip4.jdflib.core.XMLErrorHandler
All Implemented Interfaces:
ErrorHandler

public class XMLErrorHandler
extends Object
implements ErrorHandler

Author:
Rainer Prosi, Heidelberger Druckmaschinen *

Constructor Summary
XMLErrorHandler()
           
 
Method Summary
 void cleanXML(String schemaLocation)
          remove duplicate warnings from the list and set schemaloction
 void error(SAXParseException exception)
           
 void fatalError(SAXParseException exception)
           
 XMLDoc getXMLOutput()
           
 void warning(SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLErrorHandler

public XMLErrorHandler()
Method Detail

warning

public void warning(SAXParseException exception)
Specified by:
warning in interface ErrorHandler
Parameters:
exception -
See Also:
ErrorHandler.warning(org.xml.sax.SAXParseException)

error

public void error(SAXParseException exception)
Specified by:
error in interface ErrorHandler
Parameters:
exception -
See Also:
ErrorHandler.error(org.xml.sax.SAXParseException)

fatalError

public void fatalError(SAXParseException exception)
Specified by:
fatalError in interface ErrorHandler
Parameters:
exception - SAXParseException
Throws:
JDFException - - if fatal error occurs

getXMLOutput

public XMLDoc getXMLOutput()
Returns:

cleanXML

public void cleanXML(String schemaLocation)
remove duplicate warnings from the list and set schemaloction

Parameters:
schemaLocation -


Copyright © 2013. All Rights Reserved.