gdaniels 02/04/09 16:45:24
Modified: java/src/org/apache/axis/message EnvelopeBuilder.java
Log:
Remove dead code, and improve comments.
Revision Changes Path
1.15 +7 -11 xml-axis/java/src/org/apache/axis/message/EnvelopeBuilder.java
Index: EnvelopeBuilder.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/EnvelopeBuilder.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- EnvelopeBuilder.java 25 Mar 2002 04:44:02 -0000 1.14
+++ EnvelopeBuilder.java 9 Apr 2002 23:45:24 -0000 1.15
@@ -54,15 +54,8 @@
*/
package org.apache.axis.message;
-/**
- *
- * @author Glen Daniels ([EMAIL PROTECTED])
- */
-
import org.apache.axis.Constants;
import org.apache.axis.soap.SOAPConstants;
-import org.apache.axis.soap.SOAP11Constants;
-import org.apache.axis.soap.SOAP12Constants;
import org.apache.axis.encoding.DeserializationContext;
import org.apache.axis.utils.JavaUtils;
import org.xml.sax.Attributes;
@@ -70,9 +63,15 @@
import javax.xml.rpc.namespace.QName;
+/**
+ * The EnvelopeBuilder is responsible for parsing the top-level
+ * SOAP envelope stuff (Envelope, Body, Header), and spawning off
+ * HeaderBuilder and BodyBuilders.
+ *
+ * @author Glen Daniels ([EMAIL PROTECTED])
+ */
public class EnvelopeBuilder extends SOAPHandler
{
- private MessageElement element;
private SOAPEnvelope envelope;
private SOAPConstants soapConstants = SOAPConstants.SOAP11_CONSTANTS;
@@ -174,9 +173,6 @@
public void onEndChild(String namespace, String localName,
DeserializationContext context)
{
- if (element != null) {
- envelope.addTrailer(element);
- }
}
public void endElement(String namespace, String localName,