1 19 20 package org.netbeans.modules.websvc.wsitmodelext.security.proprietary.service.impl; 21 22 import org.netbeans.modules.websvc.wsitmodelext.security.proprietary.ProprietaryPolicyQName; 23 import org.netbeans.modules.websvc.wsitmodelext.security.proprietary.ValidatorConfiguration; 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 ValidatorConfigurationImpl extends ProprietarySecurityPolicyComponentImpl implements ValidatorConfiguration { 34 35 38 public ValidatorConfigurationImpl(WSDLModel model, Element e) { 39 super(model, e); 40 } 41 42 public ValidatorConfigurationImpl(WSDLModel model){ 43 this(model, createPrefixedElement(ProprietarySecurityPolicyServiceQName.VALIDATORCONFIGURATION.getQName(), model)); 44 } 45 46 public void accept(WSDLVisitor visitor) { 47 visitor.visit(this); 48 } 49 50 public void setVisibility(String vis) { 51 setAnyAttribute(ProprietaryPolicyQName.VISIBILITY.getQName(), vis); 52 } 53 54 public String getVisibility() { 55 return getAnyAttribute(ProprietaryPolicyQName.VISIBILITY.getQName()); 56 } 57 58 86 } 87 | Popular Tags |