01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: XhtmlContentLoader.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.cmf.loader;
09:
10: import com.uwyn.rife.cmf.loader.xhtml.Jdk14Loader;
11: import java.util.ArrayList;
12: import java.util.List;
13:
14: /**
15: * Loads raw content as xhtml data. The internal type to which everything will
16: * be converted is <code>java.lang.String</code>.
17: *
18: * @author Geert Bevin (gbevin[remove] at uwyn dot com)
19: * @version $Revision: 3634 $
20: * @since 1.0
21: * @see com.uwyn.rife.cmf.loader.ContentLoader
22: */
23: public class XhtmlContentLoader extends ContentLoader<String> {
24: private static List<ContentLoaderBackend<String>> sBackends = null;
25:
26: static {
27: sBackends = new ArrayList<ContentLoaderBackend<String>>();
28: sBackends.add(new Jdk14Loader());
29: }
30:
31: public List<ContentLoaderBackend<String>> getBackends() {
32: return sBackends;
33: }
34: }
|