axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashut...@apache.org
Subject svn commit: r227194 - /webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java
Date Wed, 03 Aug 2005 10:53:17 GMT
Author: ashutosh
Date: Wed Aug  3 03:53:09 2005
New Revision: 227194

URL: http://svn.apache.org/viewcvs?rev=227194&view=rev
Log: (empty)

Modified:
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java?rev=227194&r1=227193&r2=227194&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java
Wed Aug  3 03:53:09 2005
@@ -354,6 +354,26 @@
     }
 
     /**
+     * Method createDTD
+     * 
+     * Overriding the default behaviour as a SOAPMessage
+     *  should not have a DTD
+     */
+    protected OMNode createDTD() throws OMException {
+    	throw new OMException("SOAP message MUST NOT contain a Document Type Declaration(DTD)");
+    }
+    
+    /**
+     * Method createPI
+     * 
+     * Overriding the default behaviour as a SOAP Message 
+     * should not have a PI
+     */
+    protected OMNode createPI() throws OMException {
+    	throw new OMException("SOAP message MUST NOT contain Processing Instructions(PI)");
+    }
+    
+    /**
      * Method getDocumentElement
      *
      * @return



Mime
View raw message