001 /*
002 * Apache License
003 * Version 2.0, January 2004
004 * http://www.apache.org/licenses/
005 *
006 * Copyright 1996-2008 by Sven Homburg
007 *
008 * Licensed under the Apache License, Version 2.0 (the "License");
009 * you may not use this file except in compliance with the License.
010 * You may obtain a copy of the License at
011 *
012 * http://www.apache.org/licenses/LICENSE-2.0
013 */
014
015 package org.chenillekit.tapestry.core.encoders;
016
017 import java.util.List;
018
019 /**
020 * @version $Id: MultipleValueEncoder.java 594 2009-12-05 15:17:26Z mlusetti $
021 */
022 public interface MultipleValueEncoder<V>
023 {
024 String toClient(V value);
025
026 List<V> toValue(String[] clientValue);
027 }