org.apache.wicket
Interface IConverterLocator

All Superinterfaces:
IClusterable, Serializable
All Known Implementing Classes:
AbstractCheckSelector, AbstractChoice, AbstractErrorPage, AbstractItem, AbstractLink, AbstractOutputTransformerContainer, AbstractPageableView, AbstractRepeater, AbstractSingleSelectChoice, AbstractSubmitLink, AbstractTextComponent, AccessDeniedPage, AjaxButton, AjaxCheckBox, AjaxFallbackButton, AjaxFallbackLink, AjaxLink, AjaxPagingNavigation, AjaxPagingNavigationIncrementLink, AjaxPagingNavigationLink, AjaxPagingNavigator, AjaxSubmitLink, AutoLabelResolver.AutoLabel, AutoLinkResolver.AutolinkBookmarkablePageLink, BaseWicketTester.StartComponentInPage, Body, BookmarkablePageLink, Border, Border.BorderBodyContainer, BorderPanel, BoxBorder, BrowserInfoForm, BrowserInfoPage, Button, Check, CheckBox, CheckBoxMultipleChoice, CheckboxMultipleChoiceSelector, CheckBoxSelector, CheckGroup, CheckGroupSelector, ClientSideImageMap, Component, ComponentFeedbackPanel, ContextImage, ConverterLocator, DataView, DataViewBase, DownloadLink, DropDownChoice, DummyHomePage, DummyHomePage.TestLink, DummyPanelPage, EmailTextField, EmptyPanel, Enclosure, EnclosureContainer, EnumLabel, ExceptionErrorPage, ExternalLink, FeedbackPanel, FencedFeedbackPanel, FileUploadField, Form, FormComponent, FormComponentFeedbackBorder, FormComponentFeedbackIndicator, FormComponentLabel, FormComponentPanel, Fragment, GenericPanel, GenericWebPage, GridView, HeaderPartContainer, HeaderResponseContainer, HiddenField, HtmlHeaderContainer, Image, ImageButton, Include, InlineEnclosure, InlineFrame, InternalErrorPage, Item, Label, LabeledWebMarkupContainer, Link, ListChoice, ListItem, ListMultipleChoice, ListView, Loop, LoopItem, MarkupContainer, MockHomePage, MultiFileUploadField, MultiLineLabel, NonCachingImage, NoopOutputTransformerContainer, NumberTextField, OddEvenItem, OddEvenListItem, Page, PageableListView, PageExpiredErrorPage, PageView, PagingNavigation, PagingNavigationIncrementLink, PagingNavigationLink, PagingNavigator, Panel, PasswordTextField, PopupCloseLink, PopupCloseLink.ClosePopupPage, PropertyListView, Radio, RadioChoice, RadioGroup, RangeTextField, RedirectPage, RefreshingView, RepeatingView, RequiredTextField, ResourceLink, SimpleFormComponentLabel, StatelessForm, StatelessLink, SubmitLink, TextArea, TextField, TransparentWebMarkupContainer, UrlTextField, WebComponent, WebMarkupContainer, WebPage, XsltOutputTransformerContainer

public interface IConverterLocator
extends IClusterable

Locates the proper converter instance for a given type. Classes that implement this interface must return the right converter for the given class type. Instances are created by IConverterLocator, which can be configured using Application.newConverterLocator().

Author:
jcompagner The converter object type
See Also:
ConverterLocator

Method Summary
<C> IConverter<C>
getConverter(Class<C> type)
          Returns the Converter for the class that is given.
 

Method Detail

getConverter

<C> IConverter<C> getConverter(Class<C> type)
Returns the Converter for the class that is given.

Type Parameters:
C - The object to convert from and to String
Parameters:
type -
Returns:
The converter for the given type.


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.