View Javadoc

1   /*
2    * Copyright 2005 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at 
7    * 
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software 
11   * distributed under the License is distributed on an "AS IS" BASIS, 
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
13   * See the License for the specific language governing permissions and 
14   * limitations under the License.
15   */
16  
17  /*
18   * File:           JDOHandler.java
19   * Date:           July 3, 2001  2:16 PM
20   *
21   * @author  michael
22   * @version generated by FFJ XML module
23   */
24  package org.apache.jdo.impl.model.jdo.xml;
25  
26  import java.util.Collection;
27  import org.xml.sax.*;
28  
29  public interface JDOHandler 
30  {
31      
32      /***
33       * A container element start event handling method.
34       * @param meta attributes
35       */
36      public void start_jdo(final Attributes meta)
37          throws SAXException;
38      
39      /***
40       * A container element end event handling method.
41       */
42      public void end_jdo() 
43          throws SAXException;
44      
45      /***
46       * A container element start event handling method.
47       * @param meta attributes
48       */
49      publicong> void start_package(final Attributes meta) 
50          throws SAXException;
51      
52      /***
53       * A container element end event handling method.
54       */
55      publicong> void end_package() 
56          throws SAXException;
57      
58      /***
59       * A container element start event handling method.
60       * @param meta attributes
61       */
62      public void start_class(final Attributes meta) 
63          throws SAXException;
64      
65      /***
66       * A container element end event handling method.
67       */
68      public void end_class() 
69          throws SAXException;
70      
71      /***
72       * A container element start event handling method.
73       * @param meta attributes
74       */
75      public void start_field(final Attributes meta) 
76          throws SAXException;
77      
78      /***
79       * A container element end event handling method.
80       */
81      public void end_field() 
82          throws SAXException;
83      
84      /***
85       * A container element start event handling method.
86       * @param meta attributes
87       */
88      public void start_collection(final Attributes meta) 
89          throws SAXException;
90      
91      /***
92       * A container element end event handling method.
93       */
94      public void end_collection() 
95          throws SAXException;
96         
97      /***
98       * A container element start event handling method.
99       * @param meta attributes
100      */
101     public void start_array(final Attributes meta) 
102         throws SAXException;
103     
104     /***
105      * A container element end event handling method.
106      */
107     public void end_array() 
108         throws SAXException;
109     
110     /***
111      * A container element start event handling method.
112      * @param meta attributes
113      */
114     public void start_map(final Attributes meta) 
115         throws SAXException;
116     
117     /***
118      * A container element end event handling method.
119      */
120     public void end_map()   
121         throws SAXException;
122     
123     /***
124      * A container element start event handling method.
125      * @param meta attributes
126      */
127     public void start_extension(final Attributes meta) 
128         throws SAXException;
129     
130     /***
131      * A container element end event handling method.
132      */
133     public void end_extension() 
134         throws SAXException;
135 
136     /***
137      *
138      */
139     public Collection handledJDOClasses();
140 }