1 19 20 package org.netbeans.modules.websvc.wsitmodelext.addressing.impl; 21 22 import org.netbeans.modules.websvc.wsitmodelext.addressing.Address10; 23 import org.netbeans.modules.websvc.wsitmodelext.addressing.Addressing10QName; 24 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 25 import org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor; 26 import org.w3c.dom.Element ; 27 28 32 public class Address10Impl extends Addressing10ComponentImpl implements Address10 { 33 34 37 public Address10Impl(WSDLModel model, Element e) { 38 super(model, e); 39 } 40 41 public Address10Impl(WSDLModel model){ 42 this(model, createPrefixedElement(Addressing10QName.ADDRESS.getQName(), model)); 43 } 44 45 public void setAddress(String address) { 46 setText(ADDRESS_CONTENT_VALUE_PROPERTY, address); 47 } 48 49 public String getAddress() { 50 return getText(); 51 } 52 53 @Override 54 public void accept(WSDLVisitor visitor) { 55 visitor.visit(this); 56 } 57 58 } 59 | Popular Tags |