com.jaxfront.swing.ui.tools
Class SAXValidator.SAXErrorHandler

java.lang.Object
  extended by com.jaxfront.swing.ui.tools.SAXValidator.SAXErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler
Enclosing class:
SAXValidator

public class SAXValidator.SAXErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

Inner class for dummy error handling only

Author:
SRZMSV

Field Summary
 org.xml.sax.SAXParseException saxParseException
           
 boolean validationError
           
 
Constructor Summary
SAXValidator.SAXErrorHandler()
           
 
Method Summary
 void dump()
           
 void error(org.xml.sax.SAXParseException exception)
           
 void fatalError(org.xml.sax.SAXParseException exception)
           
 java.util.Vector getErrors()
           
 java.util.Vector getFatals()
           
 java.util.Vector getWarnings()
           
 boolean hasMessages()
           
 void warning(org.xml.sax.SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validationError

public boolean validationError

saxParseException

public org.xml.sax.SAXParseException saxParseException
Constructor Detail

SAXValidator.SAXErrorHandler

public SAXValidator.SAXErrorHandler()
Method Detail

error

public void error(org.xml.sax.SAXParseException exception)
           throws org.xml.sax.SAXException
Specified by:
error in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException

fatalError

public void fatalError(org.xml.sax.SAXParseException exception)
                throws org.xml.sax.SAXException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException

warning

public void warning(org.xml.sax.SAXParseException exception)
             throws org.xml.sax.SAXException
Specified by:
warning in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException

getFatals

public java.util.Vector getFatals()

getWarnings

public java.util.Vector getWarnings()

getErrors

public java.util.Vector getErrors()

hasMessages

public boolean hasMessages()

dump

public void dump()