1 11 package org.eclipse.help.internal; 12 13 import org.eclipse.help.IInclude; 14 import org.w3c.dom.Element ; 15 16 public class Include extends UAElement implements IInclude { 17 18 public static final String NAME = "include"; public static final String ATTRIBUTE_PATH = "path"; 21 public Include(IInclude src) { 22 super(NAME, src); 23 setPath(src.getPath()); 24 } 25 26 public Include(Element src) { 27 super(src); 28 } 29 30 public String getPath() { 31 return getAttribute(ATTRIBUTE_PATH); 32 } 33 34 public void setPath(String path) { 35 setAttribute(ATTRIBUTE_PATH, path); 36 } 37 } 38 | Popular Tags |