[jboss-svn-commits] JBossWS SVN: r1108 - branches/jbossws-1.0/src/main/java/org/jboss/ws/soap

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Oct 2 06:56:42 EDT 2006


Author: heiko.braun at jboss.com
Date: 2006-10-02 06:56:40 -0400 (Mon, 02 Oct 2006)
New Revision: 1108

Added:
   branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJVisitable.java
   branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJVisitor.java
Log:
SAAJ visitor abstraction

Added: branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJVisitable.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJVisitable.java	2006-10-02 10:55:54 UTC (rev 1107)
+++ branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJVisitable.java	2006-10-02 10:56:40 UTC (rev 1108)
@@ -0,0 +1,31 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.soap;
+
+/**
+ * @author Heiko Braun <heiko.braun at jboss.com>
+ * @version $Id$
+ * @since Sep 26, 2006
+ */
+public interface SAAJVisitable {
+   public void accept(SAAJVisitor visitor);
+}


Property changes on: branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJVisitable.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJVisitor.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJVisitor.java	2006-10-02 10:55:54 UTC (rev 1107)
+++ branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJVisitor.java	2006-10-02 10:56:40 UTC (rev 1108)
@@ -0,0 +1,34 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.soap;
+
+import javax.xml.soap.SOAPElement;
+
+/**
+ * @author Heiko Braun <heiko.braun at jboss.com>
+ * @version $Id$
+ * @since Sep 26, 2006
+ */
+public interface SAAJVisitor {
+   void visitSOAPElement(SOAPElementImpl soapElement);
+   void visitSOAPContentElement(SOAPContentElement scElement);
+}


Property changes on: branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJVisitor.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jboss-svn-commits mailing list