01: package com.xoetrope.export.html;
02:
03: import com.xoetrope.export.Block;
04: import com.xoetrope.export.TagExporter;
05:
06: /**
07: *
08: * <p> Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
09: * the GNU Public License (GPL), please see license.txt for more details. If
10: * you make commercial use of this software you must purchase a commercial
11: * license from Xoetrope.</p>
12: * <p> $Revision: 1.5 $</p>
13: */
14: public class HTMLFreeFormItem extends HTMLBlockItem implements
15: TagExporter {
16: public static final String TAG_DIV = "DIV";
17: public static final String TAG_IMG = "IMG";
18: public static final String TAG_P = "P";
19:
20: public Block append(String tagName) {
21: HTMLFreeFormItem item = new HTMLFreeFormItem();
22: item.setTag(tagName);
23: blocks.add(item);
24: return item;
25: }
26:
27: public String getStartTag() {
28: return "<DIV>";
29: }
30:
31: public String getEndTag() {
32: return "</DIV>";
33: }
34: }
|