001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: *
007: * The contents of this file are subject to the terms of either the GNU
008: * General Public License Version 2 only ("GPL") or the Common
009: * Development and Distribution License("CDDL") (collectively, the
010: * "License"). You may not use this file except in compliance with the
011: * License. You can obtain a copy of the License at
012: * http://www.netbeans.org/cddl-gplv2.html
013: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
014: * specific language governing permissions and limitations under the
015: * License. When distributing the software, include this License Header
016: * Notice in each file and include the License file at
017: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
018: * particular file as subject to the "Classpath" exception as provided
019: * by Sun in the GPL Version 2 section of the License file that
020: * accompanied this code. If applicable, add the following below the
021: * License Header, with the fields enclosed by brackets [] replaced by
022: * your own identifying information:
023: * "Portions Copyrighted [year] [name of copyright owner]"
024: *
025: * Contributor(s):
026: *
027: * The Original Software is NetBeans. The Initial Developer of the Original
028: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
029: * Microsystems, Inc. All Rights Reserved.
030: *
031: * If you wish your version of this file to be governed by only the CDDL
032: * or only the GPL Version 2, indicate your decision by adding
033: * "[Contributor] elects to include this software in this distribution
034: * under the [CDDL or GPL Version 2] license." If you do not indicate a
035: * single choice of license, a recipient has the option to distribute
036: * your version of this file under either the CDDL, the GPL Version 2 or
037: * to extend the choice of license to its licensees as provided above.
038: * However, if you add GPL Version 2 code and therefore, elected the GPL
039: * Version 2 license, then the option applies only if the new code is
040: * made subject to such option by the copyright holder.
041: */
042:
043: package org.netbeans.modules.j2me.cdc.project.ricoh.dalp;
044:
045: import org.xml.sax.*;
046:
047: public interface DalpParserHandler {
048:
049: /**
050: *
051: * A data element event handling method.
052: * @param data value or null
053: * @param meta attributes
054: */
055: public void handle_application_ver(final java.lang.String data,
056: final Attributes meta) throws SAXException;
057:
058: /**
059: *
060: * An empty element event handling method.
061: * @param data value or null
062: */
063: public void handle_jar(final Attributes meta) throws SAXException;
064:
065: /**
066: *
067: * An empty element event handling method.
068: * @param data value or null
069: */
070: public void handle_dsdk(final Attributes meta) throws SAXException;
071:
072: /**
073: *
074: * A data element event handling method.
075: * @param data value or null
076: * @param meta attributes
077: */
078: public void handle_vendor(final java.lang.String data,
079: final Attributes meta) throws SAXException;
080:
081: /**
082: *
083: * An empty element event handling method.
084: * @param data value or null
085: */
086: public void handle_install(final Attributes meta)
087: throws SAXException;
088:
089: /**
090: *
091: * A data element event handling method.
092: * @param data value or null
093: * @param meta attributes
094: */
095: public void handle_encode_file(final java.lang.String data,
096: final Attributes meta) throws SAXException;
097:
098: /**
099: *
100: * A container element start event handling method.
101: * @param meta attributes
102: */
103: public void start_dalp(final Attributes meta) throws SAXException;
104:
105: /**
106: *
107: * A container element end event handling method.
108: */
109: public void end_dalp() throws SAXException;
110:
111: /**
112: *
113: * A data element event handling method.
114: * @param data value or null
115: * @param meta attributes
116: */
117: public void handle_title(final java.lang.String data,
118: final Attributes meta) throws SAXException;
119:
120: /**
121: *
122: * A container element start event handling method.
123: * @param meta attributes
124: */
125: public void start_resources(final Attributes meta)
126: throws SAXException;
127:
128: /**
129: *
130: * A container element end event handling method.
131: */
132: public void end_resources() throws SAXException;
133:
134: /**
135: *
136: * A data element event handling method.
137: * @param data value or null
138: * @param meta attributes
139: */
140: public void handle_telephone(final java.lang.String data,
141: final Attributes meta) throws SAXException;
142:
143: /**
144: *
145: * An empty element event handling method.
146: * @param data value or null
147: */
148: public void handle_offline_allowed(final Attributes meta)
149: throws SAXException;
150:
151: /**
152: *
153: * An empty element event handling method.
154: * @param data value or null
155: */
156: public void handle_application_desc(final Attributes meta)
157: throws SAXException;
158:
159: /**
160: *
161: * A data element event handling method.
162: * @param data value or null
163: * @param meta attributes
164: */
165: public void handle_fax(final java.lang.String data,
166: final Attributes meta) throws SAXException;
167:
168: /**
169: *
170: * An empty element event handling method.
171: * @param data value or null
172: */
173: public void handle_all_permissions(final Attributes meta)
174: throws SAXException;
175:
176: /**
177: *
178: * A data element event handling method.
179: * @param data value or null
180: * @param meta attributes
181: */
182: public void handle_e_mail(final java.lang.String data,
183: final Attributes meta) throws SAXException;
184:
185: /**
186: *
187: * A data element event handling method.
188: * @param data value or null
189: * @param meta attributes
190: */
191: public void handle_product_id(final java.lang.String data,
192: final Attributes meta) throws SAXException;
193:
194: /**
195: *
196: * A container element start event handling method.
197: * @param meta attributes
198: */
199: public void start_information(final Attributes meta)
200: throws SAXException;
201:
202: /**
203: *
204: * A container element end event handling method.
205: */
206: public void end_information() throws SAXException;
207:
208: /**
209: *
210: * A data element event handling method.
211: * @param data value or null
212: * @param meta attributes
213: */
214: public void handle_icon(final java.lang.String data,
215: final Attributes meta) throws SAXException;
216:
217: /**
218: *
219: * A data element event handling method.
220: * @param data value or null
221: * @param meta attributes
222: */
223: public void handle_description(final java.lang.String data,
224: final Attributes meta) throws SAXException;
225:
226: /**
227: *
228: * A container element start event handling method.
229: * @param meta attributes
230: */
231: public void start_security(final Attributes meta)
232: throws SAXException;
233:
234: /**
235: *
236: * A container element end event handling method.
237: */
238: public void end_security() throws SAXException;
239:
240: public void handle_argument(final java.lang.String data,
241: Attributes attrs) throws SAXException;
242: }
|