org.apache.wicket.core.util.resource.locator
Class StyleAndVariationResourceNameIterator

java.lang.Object
  extended by 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

Constructor Summary
StyleAndVariationResourceNameIterator(String style, String variation)
          Construct.
 
Method Summary
 String getStyle()
           
 String getVariation()
           
 boolean hasNext()
           
 String next()
          The return value will always be null.
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleAndVariationResourceNameIterator

public StyleAndVariationResourceNameIterator(String style,
                                             String variation)
Construct.

Parameters:
style -
variation -
Method Detail

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-2013 Apache Software Foundation. All Rights Reserved.