You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2005/05/04 05:22:15 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/parsers XML11Configuration.java

mrglavas    2005/05/03 20:22:15

  Modified:    java/src/org/apache/xerces/parsers XML11Configuration.java
  Log:
  Adding a method to allow subclasses to bypass getFeature() on this class.
  
  Revision  Changes    Path
  1.23      +12 -2     xml-xerces/java/src/org/apache/xerces/parsers/XML11Configuration.java
  
  Index: XML11Configuration.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/XML11Configuration.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- XML11Configuration.java	9 Feb 2005 15:34:02 -0000	1.22
  +++ XML11Configuration.java	4 May 2005 03:22:15 -0000	1.23
  @@ -1,5 +1,5 @@
   /*
  - * Copyright 2001-2004 The Apache Software Foundation.
  + * Copyright 2001-2005 The Apache Software Foundation.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
  @@ -1492,5 +1492,15 @@
               f11Initialized = true;
           }
       }
  +    
  +    /** 
  +     * Returns the state of a feature. This method calls getFeature()
  +     * on ParserConfigurationSettings, bypassing getFeature() on this
  +     * class.
  +     */
  +    boolean getFeature0(String featureId)
  +        throws XMLConfigurationException {
  +        return super.getFeature(featureId);
  +    }
   
   } // class XML11Configuration
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org