1 19 20 package org.netbeans.modules.websvc.wsitmodelext.security.proprietary.service.impl; 21 22 import org.netbeans.modules.websvc.wsitmodelext.security.proprietary.service.Issuer; 23 import org.netbeans.modules.websvc.wsitmodelext.security.proprietary.service.ProprietaryTrustServiceQName; 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 IssuerImpl extends ProprietaryTrustComponentServiceImpl implements Issuer { 33 34 37 public IssuerImpl(WSDLModel model, Element e) { 38 super(model, e); 39 } 40 41 public IssuerImpl(WSDLModel model){ 42 this(model, createPrefixedElement(ProprietaryTrustServiceQName.ISSUER.getQName(), model)); 43 } 44 45 @Override 46 public void accept(WSDLVisitor visitor) { 47 visitor.visit(this); 48 } 49 50 public void setIssuer(String issuer) { 51 setText(ISSUER_CONTENT, issuer); 52 } 53 54 public String getIssuer() { 55 return getText(); 56 } 57 58 } 59 | Popular Tags |