org.odlabs.wiquery.core
Class AbstractWiQueryDecoratingHeaderResponse.AbstractToken

java.lang.Object
  extended by org.odlabs.wiquery.core.AbstractWiQueryDecoratingHeaderResponse.AbstractToken
Direct Known Subclasses:
AbstractWiQueryDecoratingHeaderResponse.CssToken, AbstractWiQueryDecoratingHeaderResponse.JavascriptToken, AbstractWiQueryDecoratingHeaderResponse.StringToken
Enclosing class:
AbstractWiQueryDecoratingHeaderResponse

protected abstract class AbstractWiQueryDecoratingHeaderResponse.AbstractToken
extends Object


Constructor Summary
AbstractWiQueryDecoratingHeaderResponse.AbstractToken(CharSequence value, String id)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
           
 CharSequence getValue()
           
 int hashCode()
           
abstract  void render(org.apache.wicket.request.Response response)
          Renders the value and id in the correct form to the Response.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWiQueryDecoratingHeaderResponse.AbstractToken

public AbstractWiQueryDecoratingHeaderResponse.AbstractToken(CharSequence value,
                                                             String id)
Parameters:
value -
id - when null or empty a substring of value is used to generate an id, if all fails "-1" is used.
Method Detail

getValue

public CharSequence getValue()

getId

public String getId()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

render

public abstract void render(org.apache.wicket.request.Response response)
Renders the value and id in the correct form to the Response.



Copyright © 2012. All Rights Reserved.