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/02 23:24:49 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/jaxp DocumentBuilderFactoryImpl.java

mrglavas    2005/05/02 14:24:48

  Modified:    java/src/org/apache/xerces/jaxp
                        DocumentBuilderFactoryImpl.java
  Log:
  Adding in stubs for getFeature/setFeature so that the code compiles with JAXP 1.3.
  
  Revision  Changes    Path
  1.15      +12 -3     xml-xerces/java/src/org/apache/xerces/jaxp/DocumentBuilderFactoryImpl.java
  
  Index: DocumentBuilderFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/jaxp/DocumentBuilderFactoryImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- DocumentBuilderFactoryImpl.java	24 Feb 2004 23:15:58 -0000	1.14
  +++ DocumentBuilderFactoryImpl.java	2 May 2005 21:24:48 -0000	1.15
  @@ -1,5 +1,5 @@
   /*
  - * Copyright 2000-2002,2004 The Apache Software Foundation.
  + * Copyright 2000-2002,2004,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.
  @@ -14,7 +14,6 @@
    * limitations under the License.
    */
   
  -
   package org.apache.xerces.jaxp;
   
   import javax.xml.parsers.DocumentBuilderFactory;
  @@ -122,4 +121,14 @@
               }
           }
       }
  +    
  +    // TODO: Add in implementation. This is just a stub so that the code complies with JAXP 1.3.
  +    public boolean getFeature(String name) 
  +        throws ParserConfigurationException {
  +        return false;
  +    }
  +    
  +    // TODO: Add in implementation. This is just a stub so that the code complies with JAXP 1.3.
  +    public void setFeature(String name, boolean value) 
  +        throws ParserConfigurationException {}
   }
  
  
  

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