01: /*
02: * Copyright (C) The Spice Group. All rights reserved.
03: *
04: * This software is published under the terms of the Spice
05: * Software License version 1.1, a copy of which has been included
06: * with this distribution in the LICENSE.txt file.
07: */
08: package org.codehaus.dna.impl;
09:
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 extends SAXConfigurationHandler {
19: public static final String REPLACEMENT = "INTERCEPT!";
20:
21: protected String processAttributeText(Configuration configuration,
22: String name, String value) {
23: return REPLACEMENT;
24: }
25:
26: protected String processValueText(Configuration configuration,
27: String value) {
28: return REPLACEMENT;
29: }
30: }
|