com.evolveum.midpoint.prism.schema
Class SchemaHandler

java.lang.Object
  extended by com.evolveum.midpoint.prism.schema.SchemaHandler
All Implemented Interfaces:
EntityResolver, ErrorHandler

public class SchemaHandler
extends Object
implements ErrorHandler, EntityResolver

Implements EntityResolver and ErrorHandler that reports sax errors to log.

Author:
Vilo Repan

Constructor Summary
SchemaHandler(EntityResolver entityResolver)
           
 
Method Summary
 void error(SAXParseException e)
           
 void fatalError(SAXParseException e)
           
 InputSource resolveEntity(String publicId, String systemId)
           
 void warning(SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaHandler

public SchemaHandler(EntityResolver entityResolver)
Method Detail

warning

public void warning(SAXParseException e)
             throws SAXException
Specified by:
warning in interface ErrorHandler
Throws:
SAXException

error

public void error(SAXParseException e)
           throws SAXException
Specified by:
error in interface ErrorHandler
Throws:
SAXException

fatalError

public void fatalError(SAXParseException e)
                throws SAXException
Specified by:
fatalError in interface ErrorHandler
Throws:
SAXException

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException,
                                 IOException
Specified by:
resolveEntity in interface EntityResolver
Throws:
SAXException
IOException


Copyright © 2013 evolveum. All Rights Reserved.