1.

Explain Xmleventreader 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.

  • StartElement asStartElement() - used to retrieve VALUE and attributes of element.
  • EndElement asEndElement() - called at the end of a element.
  • Characters asCharacters() - can be used to OBTAIN characters such a CDATA, whitespace ETC.

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