1 19 20 package org.netbeans.modules.websvc.wsitmodelext.security.proprietary.service.impl; 21 22 import org.netbeans.modules.websvc.wsitmodelext.security.proprietary.ProprietarySecurityPolicyAttribute; 23 import org.netbeans.modules.websvc.wsitmodelext.security.proprietary.Validator; 24 import org.netbeans.modules.websvc.wsitmodelext.security.proprietary.service.ProprietarySecurityPolicyServiceQName; 25 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 26 import org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor; 27 import org.w3c.dom.Element ; 28 29 33 public class ValidatorImpl extends ProprietarySecurityPolicyComponentImpl implements Validator { 34 35 38 public ValidatorImpl(WSDLModel model, Element e) { 39 super(model, e); 40 } 41 42 public ValidatorImpl(WSDLModel model){ 43 this(model, createPrefixedElement(ProprietarySecurityPolicyServiceQName.VALIDATOR.getQName(), model)); 44 } 45 46 public void accept(WSDLVisitor visitor) { 47 visitor.visit(this); 48 } 49 50 public void setName(String name) { 51 setAttribute(NAME, ProprietarySecurityPolicyAttribute.NAME, name); 52 } 53 54 public String getName() { 55 return getAttribute(ProprietarySecurityPolicyAttribute.NAME); 56 } 57 58 public void setClassname(String classname) { 59 setAttribute(CLASSNAME, ProprietarySecurityPolicyAttribute.CLASSNAME, classname); 60 } 61 62 public String getClassname() { 63 return getAttribute(ProprietarySecurityPolicyAttribute.CLASSNAME); 64 } 65 } 66 | Popular Tags |