All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.publicobject.misc.xml.Converter Maven / Gradle / Ivy

There is a newer version: 1.9.1
Show newest version
/* Glazed Lists                                                 (c) 2003-2006 */
/* http://publicobject.com/glazedlists/                      publicobject.com,*/
/*                                                     O'Dell Engineering Ltd.*/
package com.publicobject.misc.xml;

/**
 * A Converter is a simple interface to convert raw String data collected by a
 * {@link Parser} into a more usable, type-safe Object appropriate for use in
 * the Objects being created from the XML Document.
 *
 * 

Common example include converting date strings to {@link java.util.Date} * objects and integer strings to {@link Integer} objects. * * @author James Lemieux */ public interface Converter { /** * Convert the given value to a more appropriate, type-safe * value for use in the Objects being created from the XML Document. */ public T convert(S value); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy