public class StyleIterator
extends java.lang.Object
implements java.util.Iterator
Modifier and Type | Field and Description |
---|---|
protected java.util.Iterator |
iter
The cached iterator.
|
protected org.eclipse.birt.report.model.core.Module |
module
Module.
|
Constructor and Description |
---|
StyleIterator(CssStyleSheetHandle styleSheet)
Constructs a iterator to return the styles of the given style sheet.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if there is another style to retrieve.
|
java.lang.Object |
next()
Returns a handle of the style.
|
void |
remove()
Inherited method that is disabled in this iterator; the caller cannot
remove styles using this class.
|
protected java.util.Iterator iter
protected org.eclipse.birt.report.model.core.Module module
public StyleIterator(CssStyleSheetHandle styleSheet)
styleSheet
- handle to the style sheet for which styles are included. Must
not be null
.public void remove()
remove
in interface java.util.Iterator
Iterator.remove()
public boolean hasNext()
hasNext
in interface java.util.Iterator
Iterator.hasNext()
public java.lang.Object next()
next
in interface java.util.Iterator
Iterator.next()
,
SharedStyleHandle
Copyright © 2008 Actuate Corp. All rights reserved.