1 19 package org.netbeans.modules.j2ee.websphere6; 20 21 import javax.enterprise.deploy.model.*; 22 import javax.enterprise.deploy.shared.*; 23 24 34 public class WSDDBeanRoot implements DDBeanRoot { 35 40 private DDBeanRoot bean; 41 42 46 private WSDeployableObject parentObject; 47 48 56 public WSDDBeanRoot(DDBeanRoot bean, WSDeployableObject parentObject) { 57 this.bean = bean; 59 this.parentObject = parentObject; 60 } 61 62 68 public DDBeanRoot getOrigin() { 69 return bean; 70 } 71 72 78 public String getXpath() { 79 return "/"; } 81 82 86 public String getAttributeValue(String str) { 87 return bean.getAttributeValue(str); 88 } 89 90 94 public DDBean[] getChildBean(String str) { 95 return bean.getChildBean(str); 96 } 97 98 102 public String [] getText(String str) { 103 return bean.getText(str); 104 } 105 106 110 public void removeXpathListener(String str, XpathListener xpathListener) { 111 bean.removeXpathListener(str, xpathListener); 112 } 113 114 118 public void addXpathListener(String str, XpathListener xpathListener) { 119 bean.addXpathListener(str, xpathListener); 120 } 121 122 126 public String [] getAttributeNames() { 127 return bean.getAttributeNames(); 128 } 129 130 134 public String getDDBeanRootVersion() { 135 return bean.getDDBeanRootVersion(); 136 } 137 138 144 public DeployableObject getDeployableObject() { 145 return parentObject; 146 } 147 148 152 public String getFilename() { 153 return bean.getFilename(); 154 } 155 156 160 public String getId() { 161 return bean.getId(); 162 } 163 164 168 169 public String getModuleDTDVersion() { 170 return bean.getDDBeanRootVersion(); 171 } 172 173 177 public DDBeanRoot getRoot() { 178 return bean.getRoot(); 179 } 180 181 185 public String getText() { 186 return bean.getText(); 187 } 188 189 193 public ModuleType getType() { 194 return bean.getType(); 195 } 196 } | Popular Tags |