Skip navigation links
com.thortech.xl.gc.util
Class XMLValidationErrhandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.thortech.xl.gc.util.XMLValidationErrhandler
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
-
public class XMLValidationErrhandler
- extends org.xml.sax.helpers.DefaultHandler
This class is the ErrorHandler needed by the Provider XML validation process (w.r.t Providers-def.xsd). This process is carried out in ProviderFacade.ProviderFacade()
Method Summary |
void |
error(org.xml.sax.SAXParseException exception)
|
void |
fatalError(org.xml.sax.SAXParseException exception)
|
void |
warning(org.xml.sax.SAXParseException exception)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validationError
public boolean validationError
saxParseException
public org.xml.sax.SAXParseException saxParseException
XMLValidationErrhandler
public XMLValidationErrhandler()
error
public void error(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
-
- Specified by:
error
in interface org.xml.sax.ErrorHandler
- Overrides:
error
in class org.xml.sax.helpers.DefaultHandler
-
- 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
- Overrides:
fatalError
in class org.xml.sax.helpers.DefaultHandler
-
- 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
- Overrides:
warning
in class org.xml.sax.helpers.DefaultHandler
-
- Throws:
org.xml.sax.SAXException
Skip navigation links
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.