1 16 package org.apache.axis.soap; 17 18 import org.apache.axis.message.Detail; 19 import org.apache.axis.message.MessageElement; 20 import org.apache.axis.message.PrefixedQName; 21 22 import javax.xml.soap.Name ; 23 import javax.xml.soap.SOAPElement ; 24 import javax.xml.soap.SOAPException ; 25 26 31 public class SOAPFactoryImpl extends javax.xml.soap.SOAPFactory { 32 42 public SOAPElement createElement(Name name) throws SOAPException { 43 return new MessageElement(name); 44 } 45 46 56 public SOAPElement createElement(String localName) throws SOAPException { 57 return new MessageElement("",localName); 58 } 59 60 75 public SOAPElement createElement( 76 String localName, String prefix, String uri) throws SOAPException { 77 return new MessageElement(localName, prefix, uri); 78 } 79 80 public javax.xml.soap.Detail createDetail() 81 throws SOAPException { 82 return new Detail(); 83 } 84 85 public Name createName(String localName, String prefix, String uri) 86 throws SOAPException { 87 return new PrefixedQName(uri,localName,prefix); 88 } 89 90 public Name createName(String localName) 91 throws SOAPException { 92 return new PrefixedQName("",localName,""); 93 } 94 } 95 | Popular Tags |