public ErrorHandler getErrorHandler() { return actual.getErrorHandler(); }
@Nullable public ErrorHandler getErrorHandler () { return m_aSchemaFactory.getErrorHandler (); }
/** * Utility method to get the validator for a given schema using the error * handler provided in the constructor. * * @param aSchema * The schema for which the validator is to be retrieved. May not be * <code>null</code>. * @return The validator and never <code>null</code>. */ @Nonnull public final Validator getValidatorFromSchema (@Nonnull final Schema aSchema) { ValueEnforcer.notNull (aSchema, "Schema"); final Validator aValidator = aSchema.newValidator (); aValidator.setErrorHandler (m_aSchemaFactory.getErrorHandler ()); return aValidator; }
sf.getErrorHandler().warning( new SAXParseException(Messages.format( Messages.ERR_GENERAL_SCHEMA_CORRECTNESS_ERROR,re.getMessage()),
sf.getErrorHandler().warning( new SAXParseException(Messages.format( Messages.ERR_GENERAL_SCHEMA_CORRECTNESS_ERROR,e.getMessage()),
sf.getErrorHandler().warning( new SAXParseException(Messages.format( Messages.ERR_GENERAL_SCHEMA_CORRECTNESS_ERROR,e.getMessage()),
sf.getErrorHandler().warning( new SAXParseException(Messages.format( Messages.ERR_GENERAL_SCHEMA_CORRECTNESS_ERROR,re.getMessage()),
sf.getErrorHandler().warning( new SAXParseException(Messages.format( Messages.ERR_GENERAL_SCHEMA_CORRECTNESS_ERROR,re.getMessage()),