Monday, 12 November 2012

Why Vector set to a static in Sax Parsing ?

In Sax Parsing Vector is
Set to static Vector created only once and objects are stored into vector.

Not set to static each and every stating tag is came Vector is reallocated.
So no objects are not stored to Vector.
Answer by Ramya Nov-14

Static vector holds the objects so in Sax Parsing Vector is static.
Answer by Venky Nov-14

Normal  vector may or may not hold the objects,  it depends on the application cache memory, but static vector holds the objects. But it will also release the objects, if application wants memory, so that we will need to use data base concept.
Answer by Rami Reddy Nov-14

Any one know the Answer Please post as a Comment.

No comments:

Post a Comment