[jboss-cvs] JBossAS SVN: r109730 - projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/deployer.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Dec 6 12:19:54 EST 2010


Author: alesj
Date: 2010-12-06 12:19:54 -0500 (Mon, 06 Dec 2010)
New Revision: 109730

Modified:
   projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/deployer/JBossXBDeployer.java
Log:
Prepare for new XB release.


Modified: projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/deployer/JBossXBDeployer.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/deployer/JBossXBDeployer.java	2010-12-06 16:27:25 UTC (rev 109729)
+++ projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/deployer/JBossXBDeployer.java	2010-12-06 17:19:54 UTC (rev 109730)
@@ -124,4 +124,26 @@
    {
       getHelper().setUseValidation(useValidation);
    }
+
+   /**
+    * 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 false; // getHelper().isWarnOnParserErrors();
+   }
+
+   /**
+    * Set warn on errors flag.
+    *
+    * @param warnOnParserErrors the warn on errors flag
+    */
+   public void setWarnOnParserErrors(boolean warnOnParserErrors)
+   {
+      // getHelper().setWarnOnParserErrors(warnOnParserErrors);
+   }
 }
\ No newline at end of file



More information about the jboss-cvs-commits mailing list