Class SchemaHandler
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.schema.SchemaHandler
-
- All Implemented Interfaces:
EntityResolver
,ErrorHandler
public class SchemaHandler extends Object implements ErrorHandler, EntityResolver
ImplementsEntityResolver
andErrorHandler
that reports sax errors to log.- Author:
- Vilo Repan
-
-
Constructor Summary
Constructors Constructor Description SchemaHandler(EntityResolver entityResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(SAXParseException e)
void
fatalError(SAXParseException e)
InputSource
resolveEntity(String publicId, String systemId)
void
warning(SAXParseException e)
-
-
-
Constructor Detail
-
SchemaHandler
public SchemaHandler(EntityResolver entityResolver)
-
-
Method Detail
-
warning
public void warning(SAXParseException e)
- Specified by:
warning
in interfaceErrorHandler
-
error
public void error(SAXParseException e) throws SAXException
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
public void fatalError(SAXParseException e) throws SAXException
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-
resolveEntity
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
- Specified by:
resolveEntity
in interfaceEntityResolver
- Throws:
SAXException
IOException
-
-