Class StyleAndVariationResourceNameIterator
- java.lang.Object
-
- org.apache.wicket.core.util.resource.locator.StyleAndVariationResourceNameIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.String>
public class StyleAndVariationResourceNameIterator extends java.lang.Object implements java.util.Iterator<java.lang.String>
Iterate over all possible combinations of style and variation- Author:
- Juergen Donnerstag
-
-
Constructor Summary
Constructors Constructor Description StyleAndVariationResourceNameIterator(java.lang.String style, java.lang.String variation)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getStyle()
java.lang.String
getVariation()
boolean
hasNext()
java.lang.String
next()
The return value will always be null.void
remove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<java.lang.String>
- See Also:
Iterator.hasNext()
-
next
public java.lang.String next()
The return value will always be null. Use getStyle() and getVariation() instead.- Specified by:
next
in interfacejava.util.Iterator<java.lang.String>
- See Also:
Iterator.next()
-
getStyle
public final java.lang.String getStyle()
- Returns:
- Gets the style related to the iterator state
-
getVariation
public final java.lang.String getVariation()
- Returns:
- Gets the variation related to the iterator state
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<java.lang.String>
- See Also:
Iterator.remove()
-
-