KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > batik > parser > NumberListHandler


1 /*
2
3    Copyright 2003 The Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16
17  */

18 package org.apache.batik.parser;
19
20 /**
21  * An handler interface for parsing NumberLists.
22  *
23  * @author tonny@kiyut.com
24  * @version $Id: NumberListHandler.java,v 1.3 2005/03/27 08:58:35 cam Exp $
25  */

26 public interface NumberListHandler {
27     /**
28      * Invoked when the number list attribute starts.
29      * @exception ParseException if an error occures while processing the
30      * number list.
31      */

32     void startNumberList() throws ParseException;
33
34     /**
35      * Invoked when the number list attribute ends.
36      * @exception ParseException if an error occures while processing the
37      * number list.
38      */

39     void endNumberList() throws ParseException;
40     
41     /**
42      * Invoked when the number attribute starts.
43      * @exception ParseException if an error occures while processing
44      * the number
45      */

46     void startNumber() throws ParseException;
47     
48     
49     /**
50      * Invoked when the number attribute ends.
51      * @exception ParseException if an error occures while processing
52      * the number
53      */

54     void endNumber() throws ParseException;
55     
56     /**
57      * Invoked when a float value has been parsed.
58      * @exception ParseException if an error occures while processing
59      * the number
60      */

61     void numberValue(float v) throws ParseException;
62 }
63
Popular Tags