Search:

Type: Posts; User: michaelz

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    3,150

    Re: SAX Parser will not add object to arrayList

    Thanks!! I fixed the problem. basically in the list method I put a parameter of type SimpleSAXParser3 sax


    public void list(SimpleSAXParser3 sax) throws Exception
    {
    XMLReader parser =...
  2. Replies
    7
    Views
    3,150

    Re: SAX Parser will not add object to arrayList

    Yes, the if statement is executed and addElement() is called (i tested it by putting a println in the addElement() method and it printed).
  3. Replies
    7
    Views
    3,150

    Re: SAX Parser will not add object to arrayList

    Even after I do this, I still get "nothings there" printed out.

    public static void main(String[] args) throws Exception
    {

    SimpleSAXParser3 simp = new SimpleSAXParser3();
    simp.list();...
  4. Replies
    7
    Views
    3,150

    SAX Parser will not add object to arrayList

    Hello, I'm trying to parse through XML and while I'm able to parse it, it will not add the final object to the arraylist. The if statement is still accessed though as I've tested it with println's,...
Results 1 to 4 of 4