Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.core.jdom;
SiblingEnumeration provides an enumeration on a linked list of sibling DOM nodes.

The JDOM was made obsolete by the addition in 2.0 of the more powerful, fine-grained DOM/AST API found in the org.eclipse.jdt.core.dom package.
See also:
/* package */ class SiblingEnumeration implements Enumeration {

The current location in the linked list of DOM nodes.
Creates an enumeration of silbings starting at the given node. If the given node is null the enumeration is empty.
public boolean hasMoreElements() {
	return this. != null;
public Object nextElement() {
	IDOMNode curr=  this.;
	if (curr != null) {
	return curr;
New to GrepCode? Check out our FAQ X