1   /*
2    * Copyright (C) The Spice Group. All rights reserved.
3    *
4    * This software is published under the terms of the Spice
5    * Software License version 1.1, a copy of which has been included
6    * with this distribution in the LICENSE.txt file.
7    */
8   package org.codehaus.dna.impl;
9   
10  import org.codehaus.dna.Configuration;
11  import org.codehaus.dna.impl.SAXConfigurationHandler;
12  
13  /***
14   *
15   * @author Peter Donald
16   * @version $Revision: 1.1 $ $Date: 2004/04/18 20:13:44 $
17   */
18  class MockSAXConfigurationHandler
19      extends SAXConfigurationHandler
20  {
21      public static final String REPLACEMENT = "INTERCEPT!";
22  
23      protected String processAttributeText( Configuration configuration,
24                                             String name,
25                                             String value )
26      {
27          return REPLACEMENT;
28      }
29  
30      protected String processValueText( Configuration configuration,
31                                         String value )
32      {
33          return REPLACEMENT;
34      }
35  }