KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > snapper > business > xml > SiteImpl


1 /**
2  * This class was generated from a set of XML constraints
3  * by the Enhydra Zeus XML Data Binding Framework. All
4  * source code in this file is constructed specifically
5  * to work with other Zeus-generated classes. If you
6  * modify this file by hand, you run the risk of breaking
7  * this interoperation, as well as introducing errors in
8  * source code compilation.
9  *
10  * * * * * MODIFY THIS FILE AT YOUR OWN RISK * * * * *
11  *
12  * To find out more about the Enhydra Zeus framework, you
13  * can point your browser at <http://zeus.enhydra.org>
14  * where you can download releases, join and discuss Zeus
15  * on user and developer mailing lists, and access source
16  * code. Please report any bugs through that website.
17  */

18 package org.enhydra.snapper.business.xml;
19
20 // Global Implementation Import Statements
21
import java.io.File JavaDoc;
22 import java.io.FileReader JavaDoc;
23 import java.io.FileWriter JavaDoc;
24 import java.io.InputStream JavaDoc;
25 import java.io.InputStreamReader JavaDoc;
26 import java.io.IOException JavaDoc;
27 import java.io.OutputStream JavaDoc;
28 import java.io.OutputStreamWriter JavaDoc;
29 import java.io.Reader JavaDoc;
30 import java.io.Writer JavaDoc;
31 import java.util.HashMap JavaDoc;
32 import java.util.Iterator JavaDoc;
33 import java.util.Map JavaDoc;
34 import org.xml.sax.EntityResolver JavaDoc;
35 import org.xml.sax.ErrorHandler JavaDoc;
36 import org.xml.sax.InputSource JavaDoc;
37 import org.xml.sax.Locator JavaDoc;
38 import org.xml.sax.SAXException JavaDoc;
39 import org.xml.sax.SAXParseException JavaDoc;
40 import org.xml.sax.XMLReader JavaDoc;
41 import org.xml.sax.ext.LexicalHandler JavaDoc;
42 import org.xml.sax.helpers.DefaultHandler JavaDoc;
43 import org.xml.sax.helpers.XMLReaderFactory JavaDoc;
44
45 // Local Implementation Import Statements
46
import java.util.Iterator JavaDoc;
47 import java.util.List JavaDoc;
48 import java.util.LinkedList JavaDoc;
49
50 public class SiteImpl extends DefaultHandler JavaDoc implements Cloneable JavaDoc, Unmarshallable, LexicalHandler JavaDoc, Site {
51
52     private Name name;
53     private ID iD;
54     private IndexDir indexDir;
55     private Download download;
56     private Searched searched;
57     private FileNR fileNR;
58     private QueryNR queryNR;
59     private LastQuery lastQuery;
60     private LastUpdate lastUpdate;
61     private List JavaDoc PathList;
62
63     /** Any DOCTYPE reference/statements. */
64     private String JavaDoc docTypeString;
65
66     /** The encoding for the output document */
67     private String JavaDoc outputEncoding;
68
69     /** The current node in unmarshalling */
70     private Unmarshallable zeus_currentUNode;
71
72     /** The parent node in unmarshalling */
73     private Unmarshallable zeus_parentUNode;
74
75     /** Whether this node has been handled */
76     private boolean zeus_thisNodeHandled = false;
77
78     /** Whether a DTD exists for an unmarshal call */
79     private boolean hasDTD;
80
81     /** Whether validation is occurring */
82     private boolean validate;
83
84     /** The namespace mappings on this element */
85     private Map JavaDoc namespaceMappings;
86
87     /** The EntityResolver for SAX parsing to use */
88     private static EntityResolver JavaDoc entityResolver;
89
90     /** The ErrorHandler for SAX parsing to use */
91     private static ErrorHandler JavaDoc errorHandler;
92
93     private static SiteImpl prototype = null;
94
95     public static void setPrototype(SiteImpl prototype) {
96         SiteImpl.prototype = prototype;
97     }
98     public static SiteImpl newInstance() {
99         try {
100             return (prototype!=null)?(SiteImpl)prototype.clone(): new SiteImpl();
101         } catch (CloneNotSupportedException JavaDoc e) {
102             return null; // never
103
}
104     }
105     public SiteImpl() {
106         PathList = new LinkedList JavaDoc();
107         docTypeString = "";
108         hasDTD = false;
109         validate = false;
110         namespaceMappings = new HashMap JavaDoc();
111     }
112
113     public Name getName() {
114         return name;
115     }
116
117     public void setName(Name name) {
118         this.name = name;
119     }
120
121     public ID getID() {
122         return iD;
123     }
124
125     public void setID(ID iD) {
126         this.iD = iD;
127     }
128
129     public IndexDir getIndexDir() {
130         return indexDir;
131     }
132
133     public void setIndexDir(IndexDir indexDir) {
134         this.indexDir = indexDir;
135     }
136
137     public Download getDownload() {
138         return download;
139     }
140
141     public void setDownload(Download download) {
142         this.download = download;
143     }
144
145     public Searched getSearched() {
146         return searched;
147     }
148
149     public void setSearched(Searched searched) {
150         this.searched = searched;
151     }
152
153     public FileNR getFileNR() {
154         return fileNR;
155     }
156
157     public void setFileNR(FileNR fileNR) {
158         this.fileNR = fileNR;
159     }
160
161     public QueryNR getQueryNR() {
162         return queryNR;
163     }
164
165     public void setQueryNR(QueryNR queryNR) {
166         this.queryNR = queryNR;
167     }
168
169     public LastQuery getLastQuery() {
170         return lastQuery;
171     }
172
173     public void setLastQuery(LastQuery lastQuery) {
174         this.lastQuery = lastQuery;
175     }
176
177     public LastUpdate getLastUpdate() {
178         return lastUpdate;
179     }
180
181     public void setLastUpdate(LastUpdate lastUpdate) {
182         this.lastUpdate = lastUpdate;
183     }
184
185     public List JavaDoc getPathList() {
186         return PathList;
187     }
188
189     public void setPathList(List JavaDoc PathList) {
190         this.PathList = PathList;
191     }
192
193     public void addPath(Path Path) {
194         PathList.add(Path);
195     }
196
197     public void removePath(Path Path) {
198         PathList.remove(Path);
199     }
200
201     public void setDocType(String JavaDoc name, String JavaDoc publicID, String JavaDoc systemID) {
202         try {
203             startDTD(name, publicID, systemID);
204         } catch (SAXException JavaDoc neverHappens) { }
205     }
206
207     public void setOutputEncoding(String JavaDoc outputEncoding) {
208         this.outputEncoding = outputEncoding;
209     }
210
211     public void marshal(File JavaDoc file) throws IOException JavaDoc {
212         // Delegate to the marshal(Writer) method
213
marshal(new FileWriter JavaDoc(file));
214     }
215
216     public void marshal(OutputStream JavaDoc outputStream) throws IOException JavaDoc {
217         // Delegate to the marshal(Writer) method
218
marshal(new OutputStreamWriter JavaDoc(outputStream));
219     }
220
221     public void marshal(Writer JavaDoc writer) throws IOException JavaDoc {
222         // Write out the XML declaration
223
writer.write("<?xml version=\"1.0\" ");
224         if (outputEncoding != null) {
225             writer.write("encoding=\"");
226             writer.write(outputEncoding);
227             writer.write("\"?>\n\n");
228
229         } else {
230             writer.write("encoding=\"UTF-8\"?>\n\n");
231
232         }
233         // Handle DOCTYPE declaration
234
writer.write(docTypeString);
235         writer.write("\n");
236         // Now start the recursive writing
237
writeXMLRepresentation(writer, "");
238
239         // Close up
240
writer.flush();
241         writer.close();
242     }
243
244     protected void writeXMLRepresentation(Writer JavaDoc writer,
245                                           String JavaDoc indent)
246         throws IOException JavaDoc {
247
248         writer.write(indent);
249         writer.write("<Site");
250
251         // Handle namespace mappings (if needed)
252
for (Iterator JavaDoc i = namespaceMappings.keySet().iterator(); i.hasNext(); ) {
253             String JavaDoc prefix = (String JavaDoc)i.next();
254             String JavaDoc uri = (String JavaDoc)namespaceMappings.get(prefix);
255             writer.write(" xmlns");
256             if (!prefix.trim().equals("")) {
257                 writer.write(":");
258                 writer.write(prefix);
259             }
260             writer.write("=\"");
261             writer.write(uri);
262             writer.write("\"\n ");
263         }
264
265         // Handle attributes (if needed)
266
writer.write(">");
267         writer.write("\n");
268
269         // Handle child elements
270
if (name != null) {
271             ((NameImpl)name).writeXMLRepresentation(writer,
272                 new StringBuffer JavaDoc(indent).append(" ").toString());
273         }
274
275         if (iD != null) {
276             ((IDImpl)iD).writeXMLRepresentation(writer,
277                 new StringBuffer JavaDoc(indent).append(" ").toString());
278         }
279
280         if (indexDir != null) {
281             ((IndexDirImpl)indexDir).writeXMLRepresentation(writer,
282                 new StringBuffer JavaDoc(indent).append(" ").toString());
283         }
284
285         if (download != null) {
286             ((DownloadImpl)download).writeXMLRepresentation(writer,
287                 new StringBuffer JavaDoc(indent).append(" ").toString());
288         }
289
290         if (searched != null) {
291             ((SearchedImpl)searched).writeXMLRepresentation(writer,
292                 new StringBuffer JavaDoc(indent).append(" ").toString());
293         }
294
295         if (fileNR != null) {
296             ((FileNRImpl)fileNR).writeXMLRepresentation(writer,
297                 new StringBuffer JavaDoc(indent).append(" ").toString());
298         }
299
300         if (queryNR != null) {
301             ((QueryNRImpl)queryNR).writeXMLRepresentation(writer,
302                 new StringBuffer JavaDoc(indent).append(" ").toString());
303         }
304
305         if (lastQuery != null) {
306             ((LastQueryImpl)lastQuery).writeXMLRepresentation(writer,
307                 new StringBuffer JavaDoc(indent).append(" ").toString());
308         }
309
310         if (lastUpdate != null) {
311             ((LastUpdateImpl)lastUpdate).writeXMLRepresentation(writer,
312                 new StringBuffer JavaDoc(indent).append(" ").toString());
313         }
314
315         for (Iterator JavaDoc i=PathList.iterator(); i.hasNext(); ) {
316             PathImpl path = (PathImpl)i.next();
317             path.writeXMLRepresentation(writer,
318                 new StringBuffer JavaDoc(indent).append(" ").toString());
319         }
320         writer.write(indent);
321         writer.write("</Site>\n");
322     }
323
324     private String JavaDoc escapeAttributeValue(String JavaDoc attributeValue) {
325         String JavaDoc returnValue = attributeValue;
326         for (int i = 0; i < returnValue.length(); i++) {
327             char ch = returnValue.charAt(i);
328             if (ch == '"') {
329                 returnValue = new StringBuffer JavaDoc()
330                     .append(returnValue.substring(0, i))
331                     .append("&quot;")
332                     .append(returnValue.substring(i+1))
333                     .toString();
334             }
335         }
336         return returnValue;
337     }
338
339     private String JavaDoc escapeTextValue(String JavaDoc textValue) {
340         String JavaDoc returnValue = textValue;
341         for (int i = 0; i < returnValue.length(); i++) {
342             char ch = returnValue.charAt(i);
343             if (ch == '<') {
344                 returnValue = new StringBuffer JavaDoc()
345                     .append(returnValue.substring(0, i))
346                     .append("&lt;")
347                     .append(returnValue.substring(i+1))
348                     .toString();
349             } else if (ch == '>') {
350                 returnValue = new StringBuffer JavaDoc()
351                     .append(returnValue.substring(0, i))
352                     .append("&gt;")
353                     .append(returnValue.substring(i+1))
354                     .toString();
355             }
356         }
357         return returnValue;
358     }
359
360     /**
361      * <p>
362      * This sets a SAX <code>EntityResolver</code> for this unmarshalling process.
363      * </p>
364      *
365      * @param resolver the entity resolver to use.
366      */

367     public static void setEntityResolver(EntityResolver JavaDoc resolver) {
368         entityResolver = resolver;
369     }
370
371     /**
372      * <p>
373      * This sets a SAX <code>ErrorHandler</code> for this unmarshalling process.
374      * </p>
375      *
376      * @param handler the entity resolver to use.
377      */

378     public static void setErrorHandler(ErrorHandler JavaDoc handler) {
379         errorHandler = handler;
380     }
381
382     public static Site unmarshal(File JavaDoc file) throws IOException JavaDoc {
383         // Delegate to the unmarshal(Reader) method
384
return unmarshal(new FileReader JavaDoc(file));
385     }
386
387     public static Site unmarshal(File JavaDoc file, boolean validate) throws IOException JavaDoc {
388         // Delegate to the unmarshal(Reader) method
389
return unmarshal(new FileReader JavaDoc(file), validate);
390     }
391
392     public static Site unmarshal(InputStream JavaDoc inputStream) throws IOException JavaDoc {
393         // Delegate to the unmarshal(Reader) method
394
return unmarshal(new InputStreamReader JavaDoc(inputStream));
395     }
396
397     public static Site unmarshal(InputStream JavaDoc inputStream, boolean validate) throws IOException JavaDoc {
398         // Delegate to the unmarshal(Reader) method
399
return unmarshal(new InputStreamReader JavaDoc(inputStream), validate);
400     }
401
402     public static Site unmarshal(Reader JavaDoc reader) throws IOException JavaDoc {
403         // Delegate with default validation value
404
return unmarshal(reader, false);
405     }
406
407     public static Site unmarshal(Reader JavaDoc reader, boolean validate) throws IOException JavaDoc {
408         SiteImpl site = SiteImpl.newInstance();
409         site.setValidating(validate);
410         site.setCurrentUNode(site);
411         site.setParentUNode(null);
412         // Load the XML parser
413
XMLReader JavaDoc parser = null;
414         String JavaDoc parserClass = System.getProperty("org.xml.sax.driver",
415             "org.apache.xerces.parsers.SAXParser");
416         try {
417             parser = XMLReaderFactory.createXMLReader(parserClass);
418
419             // Set entity resolver, if needed
420
if (entityResolver != null) {
421                 parser.setEntityResolver(entityResolver);
422             }
423
424             // Set error handler
425
parser.setErrorHandler(site);
426
427             // Register lexical handler
428
parser.setProperty("http://xml.org/sax/properties/lexical-handler", site);
429
430             // Register content handler
431
parser.setContentHandler(site);
432         } catch (SAXException JavaDoc e) {
433             throw new IOException JavaDoc("Could not load XML parser: " +
434                 e.getMessage());
435         }
436
437         InputSource JavaDoc inputSource = new InputSource JavaDoc(reader);
438         try {
439             parser.setFeature("http://xml.org/sax/features/validation", new Boolean JavaDoc(validate).booleanValue());
440             parser.setFeature("http://xml.org/sax/features/namespaces", true);
441             parser.setFeature("http://xml.org/sax/features/namespace-prefixes", false);
442             parser.parse(inputSource);
443         } catch (SAXException JavaDoc e) {
444             throw new IOException JavaDoc("Error parsing XML document: " +
445                 e.getMessage());
446         }
447
448         // Return the resultant object
449
return site;
450     }
451
452     public Unmarshallable getParentUNode() {
453         return zeus_parentUNode;
454     }
455
456     public void setParentUNode(Unmarshallable parentUNode) {
457         this.zeus_parentUNode = parentUNode;
458     }
459
460     public Unmarshallable getCurrentUNode() {
461         return zeus_currentUNode;
462     }
463
464     public void setCurrentUNode(Unmarshallable currentUNode) {
465         this.zeus_currentUNode = currentUNode;
466     }
467
468     public void setValidating(boolean validate) {
469         this.validate = validate;
470     }
471
472     public void startDocument() throws SAXException JavaDoc {
473         // no-op
474
}
475
476     public void setDocumentLocator(Locator JavaDoc locator) {
477         // no-op
478
}
479
480     public void startPrefixMapping(String JavaDoc prefix, String JavaDoc uri)
481         throws SAXException JavaDoc {
482         namespaceMappings.put(prefix, uri);
483     }
484
485     public void startElement(String JavaDoc namespaceURI, String JavaDoc localName,
486                              String JavaDoc qName, org.xml.sax.Attributes JavaDoc atts)
487         throws SAXException JavaDoc {
488
489         // Feed this to the correct ContentHandler
490
Unmarshallable current = getCurrentUNode();
491         if (current != this) {
492             current.startElement(namespaceURI, localName, qName, atts);
493             return;
494         }
495
496         // See if we handle, or we delegate
497
if ((localName.equals("Site")) && (!zeus_thisNodeHandled)) {
498             // Handle ourselves
499
for (int i=0, len=atts.getLength(); i<len; i++) {
500                 String JavaDoc attName= atts.getLocalName(i);
501                 String JavaDoc attValue = atts.getValue(i);
502             }
503             zeus_thisNodeHandled = true;
504             return;
505         } else {
506             // Delegate handling
507
if (localName.equals("Name") && (name==null)) {
508                 NameImpl name = NameImpl.newInstance();
509                 current = getCurrentUNode();
510                 name.setParentUNode(current);
511                 name.setCurrentUNode(name);
512                 this.setCurrentUNode(name);
513                 name.startElement(namespaceURI, localName, qName, atts);
514                 // Add this value in
515
this.name = name;
516                 return;
517             }
518             if (localName.equals("ID") && (iD==null)) {
519                 IDImpl iD = IDImpl.newInstance();
520                 current = getCurrentUNode();
521                 iD.setParentUNode(current);
522                 iD.setCurrentUNode(iD);
523                 this.setCurrentUNode(iD);
524                 iD.startElement(namespaceURI, localName, qName, atts);
525                 // Add this value in
526
this.iD = iD;
527                 return;
528             }
529             if (localName.equals("IndexDir") && (indexDir==null)) {
530                 IndexDirImpl indexDir = IndexDirImpl.newInstance();
531                 current = getCurrentUNode();
532                 indexDir.setParentUNode(current);
533                 indexDir.setCurrentUNode(indexDir);
534                 this.setCurrentUNode(indexDir);
535                 indexDir.startElement(namespaceURI, localName, qName, atts);
536                 // Add this value in
537
this.indexDir = indexDir;
538                 return;
539             }
540             if (localName.equals("Download") && (download==null)) {
541                 DownloadImpl download = DownloadImpl.newInstance();
542                 current = getCurrentUNode();
543                 download.setParentUNode(current);
544                 download.setCurrentUNode(download);
545                 this.setCurrentUNode(download);
546                 download.startElement(namespaceURI, localName, qName, atts);
547                 // Add this value in
548
this.download = download;
549                 return;
550             }
551             if (localName.equals("Searched") && (searched==null)) {
552                 SearchedImpl searched = SearchedImpl.newInstance();
553                 current = getCurrentUNode();
554                 searched.setParentUNode(current);
555                 searched.setCurrentUNode(searched);
556                 this.setCurrentUNode(searched);
557                 searched.startElement(namespaceURI, localName, qName, atts);
558                 // Add this value in
559
this.searched = searched;
560                 return;
561             }
562             if (localName.equals("FileNR") && (fileNR==null)) {
563                 FileNRImpl fileNR = FileNRImpl.newInstance();
564                 current = getCurrentUNode();
565                 fileNR.setParentUNode(current);
566                 fileNR.setCurrentUNode(fileNR);
567                 this.setCurrentUNode(fileNR);
568                 fileNR.startElement(namespaceURI, localName, qName, atts);
569                 // Add this value in
570
this.fileNR = fileNR;
571                 return;
572             }
573             if (localName.equals("QueryNR") && (queryNR==null)) {
574                 QueryNRImpl queryNR = QueryNRImpl.newInstance();
575                 current = getCurrentUNode();
576                 queryNR.setParentUNode(current);
577                 queryNR.setCurrentUNode(queryNR);
578                 this.setCurrentUNode(queryNR);
579                 queryNR.startElement(namespaceURI, localName, qName, atts);
580                 // Add this value in
581
this.queryNR = queryNR;
582                 return;
583             }
584             if (localName.equals("LastQuery") && (lastQuery==null)) {
585                 LastQueryImpl lastQuery = LastQueryImpl.newInstance();
586                 current = getCurrentUNode();
587                 lastQuery.setParentUNode(current);
588                 lastQuery.setCurrentUNode(lastQuery);
589                 this.setCurrentUNode(lastQuery);
590                 lastQuery.startElement(namespaceURI, localName, qName, atts);
591                 // Add this value in
592
this.lastQuery = lastQuery;
593                 return;
594             }
595             if (localName.equals("LastUpdate") && (lastUpdate==null)) {
596                 LastUpdateImpl lastUpdate = LastUpdateImpl.newInstance();
597                 current = getCurrentUNode();
598                 lastUpdate.setParentUNode(current);
599                 lastUpdate.setCurrentUNode(lastUpdate);
600                 this.setCurrentUNode(lastUpdate);
601                 lastUpdate.startElement(namespaceURI, localName, qName, atts);
602                 // Add this value in
603
this.lastUpdate = lastUpdate;
604                 return;
605             }
606             if (localName.equals("Path")) {
607                 PathImpl path = PathImpl.newInstance();
608                 current = getCurrentUNode();
609                 path.setParentUNode(current);
610                 path.setCurrentUNode(path);
611                 this.setCurrentUNode(path);
612                 path.startElement(namespaceURI, localName, qName, atts);
613                 // Add this value in
614
PathList.add(path);
615                 return;
616             }
617         }
618     }
619
620     public void endElement(String JavaDoc namespaceURI, String JavaDoc localName,
621                            String JavaDoc qName)
622         throws SAXException JavaDoc {
623
624         Unmarshallable current = getCurrentUNode();
625         if (current != this) {
626             current.endElement(namespaceURI, localName, qName);
627             return;
628         }
629
630         Unmarshallable parent = getCurrentUNode().getParentUNode();
631         if (parent != null) {
632             parent.setCurrentUNode(parent);
633         }
634     }
635
636     public void characters(char[] ch, int start, int len)
637         throws SAXException JavaDoc {
638
639         // Feed this to the correct ContentHandler
640
Unmarshallable current = getCurrentUNode();
641         if (current != this) {
642             current.characters(ch, start, len);
643             return;
644         }
645
646         String JavaDoc text = new String JavaDoc(ch, start, len);
647     }
648
649     public void comment(char ch[], int start, int len) throws SAXException JavaDoc {
650         // Currently no-op
651
}
652
653     public void warning(SAXParseException JavaDoc e) throws SAXException JavaDoc {
654         if (errorHandler != null) {
655             errorHandler.warning(e);
656         }
657     }
658
659     public void error(SAXParseException JavaDoc e) throws SAXException JavaDoc {
660         if ((validate) && (!hasDTD)) {
661             throw new SAXException JavaDoc("Validation is turned on, but no DTD has been specified in the input XML document. Please supply a DTD through a DOCTYPE reference.");
662         }
663         if (errorHandler != null) {
664             errorHandler.error(e);
665         }
666     }
667
668     public void fatalError(SAXParseException JavaDoc e) throws SAXException JavaDoc {
669         if ((validate) && (!hasDTD)) {
670             throw new SAXException JavaDoc("Validation is turned on, but no DTD has been specified in the input XML document. Please supply a DTD through a DOCTYPE reference.");
671         }
672         if (errorHandler != null) {
673             errorHandler.fatalError(e);
674         }
675     }
676
677     public void startDTD(String JavaDoc name, String JavaDoc publicID, String JavaDoc systemID)
678         throws SAXException JavaDoc {
679
680         if ((name == null) || (name.equals(""))) {
681             docTypeString = "";
682             return;
683         }
684
685         hasDTD = true;
686         StringBuffer JavaDoc docTypeSB = new StringBuffer JavaDoc();
687         boolean hasPublic = false;
688
689         docTypeSB.append("<!DOCTYPE ")
690                  .append(name);
691
692         if ((publicID != null) && (!publicID.equals(""))) {
693             docTypeSB.append(" PUBLIC \"")
694                      .append(publicID)
695                      .append("\"");
696             hasPublic = true;
697         }
698
699         if ((systemID != null) && (!systemID.equals(""))) {
700             if (!hasPublic) {
701                 docTypeSB.append(" SYSTEM");
702             }
703             docTypeSB.append(" \"")
704                      .append(systemID)
705                      .append("\"");
706
707         }
708
709         docTypeSB.append(">");
710
711         docTypeString = docTypeSB.toString();
712     }
713
714     public void endDTD() throws SAXException JavaDoc {
715         // Currently no-op
716
}
717
718     public void startEntity(String JavaDoc name) throws SAXException JavaDoc {
719         // Currently no-op
720
}
721
722     public void endEntity(String JavaDoc name) throws SAXException JavaDoc {
723         // Currently no-op
724
}
725
726     public void startCDATA() throws SAXException JavaDoc {
727         // Currently no-op
728
}
729
730     public void endCDATA() throws SAXException JavaDoc {
731         // Currently no-op
732
}
733
734 }
735
Popular Tags