/** * This is used to peek at the node from the document. This will * scan through the document, ignoring any comments to find the * next relevant XML event to acquire. Typically events will be * the start and end of an element, as well as any text nodes. * * @return this returns the next event taken from the source XML */ public EventNode peek() throws Exception { if(peek == null) { peek = next(); } return peek; }
/** * This is used to peek at the node from the document. This will * scan through the document, ignoring any comments to find the * next relevant XML event to acquire. Typically events will be * the start and end of an element, as well as any text nodes. * * @return this returns the next event taken from the source XML */ public EventNode peek() throws Exception { if(peek == null) { peek = next(); } return peek; }
/** * This is used to peek at the node from the document. This will * scan through the document, ignoring any comments to find the * next relevant XML event to acquire. Typically events will be * the start and end of an element, as well as any text nodes. * * @return this returns the next event taken from the source XML */ public EventNode peek() throws Exception { if(peek == null) { peek = next(); } return peek; }