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
ImplementsEntityResolverandErrorHandlerthat 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 voiderror(SAXParseException e)voidfatalError(SAXParseException e)InputSourceresolveEntity(String publicId, String systemId)voidwarning(SAXParseException e)
-
-
-
Constructor Detail
-
SchemaHandler
public SchemaHandler(EntityResolver entityResolver)
-
-
Method Detail
-
warning
public void warning(SAXParseException e) throws SAXException
- Specified by:
warningin interfaceErrorHandler- Throws:
SAXException
-
error
public void error(SAXParseException e) throws SAXException
- Specified by:
errorin interfaceErrorHandler- Throws:
SAXException
-
fatalError
public void fatalError(SAXParseException e) throws SAXException
- Specified by:
fatalErrorin interfaceErrorHandler- Throws:
SAXException
-
resolveEntity
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
- Specified by:
resolveEntityin interfaceEntityResolver- Throws:
SAXExceptionIOException
-
-