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.Document;
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 XmlDocumentRoot extends AbstractXmlDocument {
20:
21: /**
22: * @param id
23: * @param properties
24: */
25: public XmlDocumentRoot(String id, HashMap properties) {
26: super (id, properties);
27: // TODO Auto-generated constructor stub
28: }
29:
30: /* (non-Javadoc)
31: * @see org.xdev.base.transaction.xml.AbstractXmlDocumentReference#processXmlDocument(org.jdom.Document)
32: */
33: protected Object processXmlDocument(Document doc) throws Exception {
34: return doc.getRootElement();
35: }
36:
37: }
|