ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/util/uk/org/iscream/cms/util/XMLStringParser.java
(Generate patch)

Comparing projects/cms/source/util/uk/org/iscream/cms/util/XMLStringParser.java (file contents):
Revision 1.12 by tdb, Fri Mar 16 01:33:46 2001 UTC vs.
Revision 1.14 by tdb, Wed Mar 13 12:44:55 2002 UTC

# Line 1 | Line 1
1   //---PACKAGE DECLARATION---
2 < package uk.org.iscream.util;
2 > package uk.org.iscream.cms.server.util;
3  
4   //---IMPORTS---
5   import java.io.*;
# Line 59 | Line 59 | public class XMLStringParser extends DefaultHandler {
59       * within the XMLPacket.
60       */
61      public void startElement (String uri, String name, String qName, Attributes atts) {
62 <        _tagList.addLast(name);
62 >        _tagList.addLast(qName);
63          if (atts != null) {
64              for (int i = 0; i < atts.getLength (); i++) {
65 <                _packet.addParam(getPath()+".attributes."+atts.getLocalName(i), atts.getValue(i));
65 >                _packet.addParam(getPath()+".attributes."+atts.getQName(i), atts.getValue(i));
66              }
67          }
68      }
# Line 91 | Line 91 | public class XMLStringParser extends DefaultHandler {
91       * Overrides the {@link java.lang.Object#toString() Object.toString()}
92       * method to provide clean logging (every class should have this).
93       *
94 <     * This uses the uk.org.iscream.util.NameFormat class
94 >     * This uses the uk.org.iscream.cms.server.util.NameFormat class
95       * to format the toString()
96       *
97       * @return the name of this class and its CVS revision

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines