org.apache.commons.ognl.test.objects
Class Indexed

java.lang.Object
  extended by org.apache.commons.ognl.test.objects.BaseIndexed
      extended by org.apache.commons.ognl.test.objects.Indexed

public class Indexed
extends BaseIndexed


Constructor Summary
Indexed()
           
Indexed(String[] values)
           
 
Method Summary
 Collection getList()
           
 Object getProperty(String property)
           
 ListSource getSource()
           
 String getTitle(int count)
           
 String[] getValues()
           
 String getValues(int index)
          This method returns the string from the array and appends "xxx" to distinguish the "get" method from the direct array access.
 void setProperty(String property, Object value)
           
 void setValues(int index, String value)
           
 void setValues(String[] value)
           
 
Methods inherited from class org.apache.commons.ognl.test.objects.BaseIndexed
getLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Indexed

public Indexed()

Indexed

public Indexed(String[] values)
Method Detail

getValues

public String[] getValues()

setValues

public void setValues(String[] value)

getValues

public String getValues(int index)
This method returns the string from the array and appends "xxx" to distinguish the "get" method from the direct array access.


setValues

public void setValues(int index,
                      String value)

getList

public Collection getList()

getTitle

public String getTitle(int count)

getSource

public ListSource getSource()

setProperty

public void setProperty(String property,
                        Object value)

getProperty

public Object getProperty(String property)


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.