28 |
|
} |
29 |
|
|
30 |
|
private int indentLevel = 0; |
31 |
– |
|
32 |
– |
// For storing the tag heirarchy. |
31 |
|
private ArrayList tagList = new ArrayList(); |
32 |
|
private XMLPacket packet; |
33 |
|
|
36 |
|
//=========================================================== |
37 |
|
|
38 |
|
public void startDocument () throws SAXException { |
39 |
< |
// No purpose currently. |
39 |
> |
System.out.println("XMLPacketParser - Starting parse process..."); |
40 |
|
} |
41 |
|
|
42 |
|
public void endDocument () throws SAXException { |
43 |
< |
// No purpose currently. |
43 |
> |
System.out.println("XMLPacketParser - I just finished parsing an XML String."); |
44 |
|
} |
45 |
|
|
46 |
|
// Add each tag's attribute to the XMLPacket. |