org.odlabs.wiquery.core.javascript
Class DefaultChainableStatement

java.lang.Object
  extended by org.odlabs.wiquery.core.javascript.DefaultChainableStatement
All Implemented Interfaces:
ChainableStatement

public class DefaultChainableStatement
extends Object
implements ChainableStatement

$Id$

Default implementation of ChainableStatement.

Since:
0.7
Author:
Lionel Armanet

Constructor Summary
DefaultChainableStatement(String label, CharSequence... args)
          Creates a new instance of DefaultChainableStatement.
 
Method Summary
 String chainLabel()
           
 CharSequence[] statementArgs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultChainableStatement

public DefaultChainableStatement(String label,
                                 CharSequence... args)
Creates a new instance of DefaultChainableStatement.

Method Detail

chainLabel

public String chainLabel()
Specified by:
chainLabel in interface ChainableStatement
Returns:
the statement label (like each, css...)

statementArgs

public CharSequence[] statementArgs()
Specified by:
statementArgs in interface ChainableStatement
Returns:
the list of arguments passed to the statement.


Copyright © 2012. All Rights Reserved.