commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1067463 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/DigesterLoader.java
Date Sat, 05 Feb 2011 16:10:27 GMT
Author: simonetripodi
Date: Sat Feb  5 16:10:26 2011
New Revision: 1067463

URL: http://svn.apache.org/viewvc?rev=1067463&view=rev
Log:
added missing method to check if the built Digester will be XInclude|Namespace aware and is
it is validating

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/DigesterLoader.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/DigesterLoader.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/DigesterLoader.java?rev=1067463&r1=1067462&r2=1067463&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/DigesterLoader.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/DigesterLoader.java
Sat Feb  5 16:10:26 2011
@@ -158,6 +158,13 @@ public final class DigesterLoader {
     }
 
     /**
+     * Return the "namespace aware" flag for parsers we create.
+     */
+    public boolean isNamespaceAware() {
+        return this.factory.isNamespaceAware();
+    }
+
+    /**
      * Set the XInclude-aware flag for parsers we create. This additionally
      * requires namespace-awareness.
      *
@@ -170,6 +177,16 @@ public final class DigesterLoader {
     }
 
     /**
+     * Return the XInclude-aware flag for parsers we create;
+     *
+     * @return true, if the XInclude-aware flag for parsers we create is set,
+     *         false otherwise
+     */
+    public boolean isXIncludeAware() {
+        return this.factory.isXIncludeAware();
+    }
+
+    /**
      * Set the validating parser flag.
      *
      * @param validating The new validating parser flag.
@@ -180,6 +197,15 @@ public final class DigesterLoader {
     }
 
     /**
+     * Return the validating parser flag.
+     *
+     * @return true, if the validating parser flag is set, false otherwise
+     */
+    public boolean isValidating() {
+        return this.factory.isValidating();
+    }
+
+    /**
      * Set the XML Schema to be used when parsing.
      *
      * @param schema The {@link Schema} instance to use.



Mime
View raw message