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