1 19 20 21 package org.netbeans.modules.j2ee.deployment.config; 22 23 import javax.enterprise.deploy.model.*; 24 import org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider; 25 26 public class StandardDDImpl implements DDBean { 27 28 DDCommon proxy; 29 30 void setProxy(DDCommon proxy) { 31 this.proxy = proxy; 32 proxy.container = this; 33 } 34 35 public StandardDDImpl(DDCommon proxy) { 36 this.proxy = proxy; 37 proxy.container = this; 38 } 39 40 public String getXpath() { 41 return proxy.getXpath(); 42 } 43 44 public DDBeanRoot getRoot() { 45 return proxy.getRoot(); 46 } 47 48 public DDBean[] getChildBean(String xpath) { 49 return proxy.getChildBean(xpath); 50 } 51 52 public String [] getText(String xpath) { 53 return proxy.getText(xpath); 54 } 55 56 public void addXpathListener(String xpath,XpathListener listener) { 57 proxy.addXpathListener(xpath,listener); 58 } 59 60 public void removeXpathListener(String xpath,XpathListener listener) { 61 proxy.removeXpathListener(xpath,listener); 62 } 63 64 public String getId() { 65 return proxy.getId(); 66 } 67 68 public String getText() { 69 return proxy.getText(); 70 } 71 72 public String [] getAttributeNames() { 73 return null; 74 } 75 76 public String getAttributeValue(String name) { 77 return null; 78 } 79 80 public J2eeModuleProvider getModuleProvider() { 81 return proxy.getModuleProvider(); 82 } 83 } 84 | Popular Tags |