1 19 20 package org.netbeans.modules.websvc.wsitmodelext.addressing.impl; 21 22 import org.netbeans.modules.websvc.wsitmodelext.addressing.Addressing10QName; 23 import org.netbeans.modules.websvc.wsitmodelext.addressing.Addressing10ReferenceProperties; 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 Addressing10MetadataImpl extends Addressing10ComponentImpl implements Addressing10ReferenceProperties { 33 34 37 public Addressing10MetadataImpl(WSDLModel model, Element e) { 38 super(model, e); 39 } 40 41 public Addressing10MetadataImpl(WSDLModel model){ 42 this(model, createPrefixedElement(Addressing10QName.REFERENCEPROPERTIES.getQName(), model)); 43 } 44 45 public void setReferenceProperties(String referenceProperties) { 46 setText(REFERENCEPROPERTIES_CONTENT_VALUE_PROPERTY, referenceProperties); 47 } 48 49 public String getReferenceProperties() { 50 return getText(); 51 } 52 53 @Override 54 public void accept(WSDLVisitor visitor) { 55 visitor.visit(this); 56 } 57 58 } 59 | Popular Tags |