01: /*
02: * Created on Dec 8, 2003
03: *
04: * To change the template for this generated file go to
05: * Window>Preferences>Java>Code Generation>Code and Comments
06: */
07: package org.xdev.base.xssl.text.xml;
08:
09: import java.util.HashMap;
10:
11: import org.jdom.Element;
12:
13: /**
14: * @author AYegorov
15: *
16: * To change the template for this generated type comment go to
17: * Window>Preferences>Java>Code Generation>Code and Comments
18: */
19: public class XmlText extends AbstractXmlElement {
20:
21: /**
22: * @param id
23: */
24: public XmlText(String id) {
25: super (id);
26: // TODO Auto-generated constructor stub
27: }
28:
29: /**
30: * @param id
31: * @param properties
32: */
33: public XmlText(String id, HashMap properties) {
34: super (id, properties);
35: // TODO Auto-generated constructor stub
36: }
37:
38: /* (non-Javadoc)
39: * @see org.xdev.base.transaction.xml.AbstractXmlElement#doXmlTransaction(org.jdom.Element)
40: */
41: protected Object doXmlTransaction(Element elm) throws Exception {
42: // TODO Auto-generated method stub
43: return elm.getTextTrim();
44: }
45:
46: }
|