/** * Create a new SchemaResolverDeployer. * * @param output the output * @throws IllegalArgumentException for a null output */ public JBossXBDeployer(Class<T> output) { super(output); helper = createHelper(); }
/** * Get the useValidation. * * @return the useValidation. */ public boolean isUseValidation() { return getHelper().isUseValidation(); }
/** * Create the helper. * * @return new helper instance */ protected JBossXBHelper<T> createHelper() { return new JBossXBHelper<T>(getOutput()); }
public void setFeature(String featureName, Boolean flag) throws Exception { getHelper().setFeature(featureName, flag); } };
/** * Set the useSchemaValidation. * * @param useSchemaValidation the useSchemaValidation. */ public void setUseSchemaValidation(boolean useSchemaValidation) { getHelper().setUseSchemaValidation(useSchemaValidation); }
/** * This property controls whether the (underlying) parser errors should be * logged as warnings or should they terminate parsing with errors. * The default is to terminate parsing by re-throwing parser errors. * * @return false if parser errors should be logged as warnings, true otherwise */ public boolean isWarnOnParserErrors() { return getHelper().isWarnOnParserErrors(); }
/** * Set the useValidation. * * @param useValidation the useValidation. */ public void setUseValidation(boolean useValidation) { getHelper().setUseValidation(useValidation); }
/** * Get the useSchemaValidation. * * @return the useSchemaValidation. */ public boolean isUseSchemaValidation() { return getHelper().isUseSchemaValidation(); }
/** * Set warn on errors flag. * * @param warnOnParserErrors the warn on errors flag */ public void setWarnOnParserErrors(boolean warnOnParserErrors) { getHelper().setWarnOnParserErrors(warnOnParserErrors); } }