View Javadoc

1   /*
2    * @(#)$Id: JdomLastProjectElement.java 605 2008-11-10 22:20:28Z bsigner $
3    *
4    * Author       :   Michele Croci, mcroci@gmail.com
5    *
6    * Purpose      :  XML support for the <lastproject> element.
7    *
8    * -----------------------------------------------------------------------
9    *
10   * Revision Information:
11   *
12   * Date             Who         Reason
13   *
14   * Jan 15, 2008     crocimi     Initial Release
15   *
16   * -----------------------------------------------------------------------
17   *
18   * Copyright 1999-2007 ETH Zurich. All Rights Reserved.
19   *
20   * This software is the proprietary information of ETH Zurich.
21   * Use is subject to license terms.
22   * 
23   */
24  
25  
26  package org.ximtec.igesture.geco.xml;
27  
28  import org.jdom.Element;
29  
30  
31  
32  
33  /**
34   * XML support for the <lastproject> element.
35   * 
36   * @version 0.9, Jan 15, 2008
37   * @author Michele Croci, mcroci@gmail.com
38   */
39  public class JdomLastProjectElement extends Element {
40  
41     private static final String COMMAND = "lastproject";
42  
43  
44     public JdomLastProjectElement(String path) {
45        this(COMMAND, path);
46     } // JdomConfigurationElement
47  
48  
49     public JdomLastProjectElement(String name, String path) {
50        super(name);
51        this.addContent(path);
52     } // JdomConfigurationElement
53  
54  }