org.outerj.daisy.repository.schema
Interface ListItem

All Known Subinterfaces:
StaticListItem

public interface ListItem

An item from a SelectionList


Method Summary
 java.lang.String getLabel(java.util.Locale locale)
          Returns a label which is shown to the end-user instead of the actual value of the ListItem.
 java.lang.String getLabelExact(java.util.Locale locale)
           
 java.lang.Object getValue()
          Returns the actual value of the ListItem.
 org.outerx.daisy.x10.ListItemDocument getXml()
           
 

Method Detail

getValue

public java.lang.Object getValue()
Returns the actual value of the ListItem.


getLabel

public java.lang.String getLabel(java.util.Locale locale)
Returns a label which is shown to the end-user instead of the actual value of the ListItem.

Parameters:
locale - the locale to use for the presentation of the label
Returns:
the desired label

getLabelExact

public java.lang.String getLabelExact(java.util.Locale locale)

getXml

public org.outerx.daisy.x10.ListItemDocument getXml()


Copyright © -2005 . All Rights Reserved.