org.apache.wicket.core.util.resource.locator
Class StyleAndVariationResourceNameIterator
java.lang.Object
org.apache.wicket.core.util.resource.locator.StyleAndVariationResourceNameIterator
- All Implemented Interfaces:
- Iterator<String>
public class StyleAndVariationResourceNameIterator
- extends Object
- implements Iterator<String>
Iterate over all possible combinations of style and variation
- Author:
- Juergen Donnerstag
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StyleAndVariationResourceNameIterator
public StyleAndVariationResourceNameIterator(String style,
String variation)
- Construct.
- Parameters:
style
- variation
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<String>
- See Also:
Iterator.hasNext()
next
public String next()
- The return value will always be null. Use getStyle() and getVariation() instead.
- Specified by:
next
in interface Iterator<String>
- See Also:
Iterator.next()
getStyle
public final String getStyle()
- Returns:
- Gets the style related to the iterator state
getVariation
public final String getVariation()
- Returns:
- Gets the variation related to the iterator state
remove
public void remove()
- Specified by:
remove
in interface Iterator<String>
- See Also:
Iterator.remove()
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.