1 /* ************************************************************************
3 qooxdoo - the new era of web development
8 2006 by STZ-IDA, Germany, http://www.stz-ida.de
11 LGPL 2.1: http://www.gnu.org/licenses/lgpl.html
14 * Til Schneider (til132)
16 ************************************************************************ */
18 /* ************************************************************************
21 ************************************************************************ */
24 * Superclass for formatters and parsers.
26 qx.OO.defineClass("qx.util.format.Format", qx.core.Object,
28 qx.core.Object.call(this);
35 * @param obj {var} The object to format.
36 * @return {string} the formatted object.
38 qx.Proto.format = function(obj) {
39 throw new Error("format is abstract");
46 * @param str {string} the string to parse.
47 * @return {var} the parsed object.
49 qx.Proto.parse = function(str) {
50 throw new Error("parse is abstract");