View Javadoc

1   package org.lcsim.geometry.compact.converter.lcdd.util;
2   
3   import org.jdom.Element;
4   
5   /**
6    *
7    * @author tonyj
8    */
9   public class RefElement extends Element
10  {
11     
12     /** Creates a new instance of GDMLElement */
13     public RefElement(String type, String name)
14     {
15        super(type);
16        setAttribute("name",name);       
17     }
18     public String getRefName()
19     {
20        return getAttributeValue("name").toString();
21     }
22  }