From: <jbo...@li...> - 2006-07-07 14:57:13
|
Author: hei...@jb... Date: 2006-07-07 10:42:36 -0400 (Fri, 07 Jul 2006) New Revision: 581 Modified: branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SOAPElementImpl.java Log: javadocs Modified: branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SOAPElementImpl.java =================================================================== --- branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SOAPElementImpl.java 2006-07-07 14:41:58 UTC (rev 580) +++ branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SOAPElementImpl.java 2006-07-07 14:42:36 UTC (rev 581) @@ -67,7 +67,7 @@ /** Called by SOAPFactory */ public SOAPElementImpl(String localPart) { - + super(DOMUtils.createElement(localPart, null, null)); this.element = (Element)domNode; log.trace("new SOAPElementImpl: " + getElementName()); @@ -102,10 +102,10 @@ SOAPElement soapElement = this; while (soapElement != null && (soapElement instanceof SOAPEnvelope) == false) soapElement = soapElement.getParentElement(); - + return (SOAPEnvelope)soapElement; } - + // javax.xml.soap.SOAPElement ************************************************************************************* /** @@ -225,8 +225,7 @@ * * @param prefix a String giving the prefix of the namespace * @param nsURI a String giving the uri of the namespace - * @return the SOAPElement object into which this namespace declaration was inserted. - * @throws javax.xml.soap.SOAPException if there is an error in creating the namespace + * @return the SOAPElement object into which this namespace declaration was inserted. */ public SOAPElement addNamespaceDeclaration(String prefix, String nsURI) { |