1 19 20 package org.netbeans.modules.xml.wsdl.model.extensions.soap; 21 22 import java.util.Collection ; 23 24 28 public interface SOAPMessageBase extends SOAPComponent { 29 public static final String NAMESPACE_PROPERTY = "namespace"; 30 public static final String USE_PROPERTY = "use"; 31 public static final String ENCODING_STYLE_PROPERTY = "encodingStyle"; 32 33 void setNamespace(String namespaceURI); 34 String getNamespace(); 35 36 public enum Use { 37 LITERAL("literal"), ENCODED("encoded"); 38 Use(String tag) { 39 this.tag = tag; 40 } 41 public String toString() { return tag; } 42 private String tag; 43 } 44 45 void setUse(Use use); 46 Use getUse(); 47 48 Collection <String > getEncodingStyles(); 49 void addEncodingStyle(String encodingStyle); 50 void removeEncodingStyle(String encodingStyle); 51 } 52 | Popular Tags |