Guest User

Untitled

a guest
Jan 21st, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. XMLEvent event = reader.peek();
  2. if (event.isStartElement()) {
  3. StartElement startElement = event.asStartElement();
  4. Iterator<?> attributes = startElement.getAttributes();
  5. while (attributes.hasNext()) {
  6. Attribute attribute = (Attribute) attributes.next();
  7. // ...
  8. }
  9. }
  10.  
  11. reader.next();
Add Comment
Please, Sign In to add comment