1.

Explain Xmlstreamreader Class Of Stax Parser?

Answer»

This class provide iterator of events which can be used to iterate over events as they occur while parsing the XML document

  • int NEXT() - used to retrieve next event.
  • boolean hasNext() - used to CHECK further events EXISTS or not
  • String getText() - used to get TEXT of an element
  • String getLocalName() - used to get name of an element

This class provide iterator of events which can be used to iterate over events as they occur while parsing the XML document



Discussion

No Comment Found