1 |
|
//---PACKAGE DECLARATION--- |
2 |
< |
package uk.org.iscream.util; |
2 |
> |
package uk.org.iscream.cms.server.util; |
3 |
|
|
4 |
|
//---IMPORTS--- |
5 |
|
import java.io.*; |
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 |
|
} |
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 |