Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 28086 invoked from network); 6 Jun 2006 11:37:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2006 11:37:58 -0000 Received: (qmail 77237 invoked by uid 500); 6 Jun 2006 11:37:56 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 77205 invoked by uid 500); 6 Jun 2006 11:37:56 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 77194 invoked by uid 500); 6 Jun 2006 11:37:56 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 77191 invoked by uid 99); 6 Jun 2006 11:37:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 04:37:55 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 04:37:54 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id B812C1A9842; Tue, 6 Jun 2006 04:37:34 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r412099 [1/3] - in /webservices/axis2/trunk/c/woden: include/woden/builder/ include/woden/util/ src/builder/ src/util/ Date: Tue, 06 Jun 2006 11:37:33 -0000 To: axis2-cvs@ws.apache.org From: damitha@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060606113734.B812C1A9842@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: damitha Date: Tue Jun 6 04:37:32 2006 New Revision: 412099 URL: http://svn.apache.org/viewvc?rev=412099&view=rev Log: More work on Woden Added: webservices/axis2/trunk/c/woden/include/woden/builder/ webservices/axis2/trunk/c/woden/include/woden/builder/woden_reader.h webservices/axis2/trunk/c/woden/include/woden/util/axis2_qname_util.h webservices/axis2/trunk/c/woden/src/builder/ webservices/axis2/trunk/c/woden/src/builder/Makefile.am webservices/axis2/trunk/c/woden/src/builder/reader.c webservices/axis2/trunk/c/woden/src/util/qname_util.c webservices/axis2/trunk/c/woden/src/util/woden_om_util.c Added: webservices/axis2/trunk/c/woden/include/woden/builder/woden_reader.h URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/builder/woden_reader.h?rev=412099&view=auto ============================================================================== --- webservices/axis2/trunk/c/woden/include/woden/builder/woden_reader.h (added) +++ webservices/axis2/trunk/c/woden/include/woden/builder/woden_reader.h Tue Jun 6 04:37:32 2006 @@ -0,0 +1,81 @@ +/* + * Copyright 2004,2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef WODEN_READER_H +#define WODEN_READER_H + +/** + * @file woden_reader.h + * @brief Woden Wsdl Reader Interface + * This interface declares the WSDL reader API for parsing WSDL documents. + *

+ * TODO after WSDL 2.0 parsing is implemented, consider if/how to make this reader + * API independent of the WSDL version (definition/description) or whether to make it + * support both versions. + *

+ * TODO add to the API methods to get/set features and properties of the + * Woden framework (i.e. as distinct from features/properties of the WSDL 2.0 + * component model). A named feature will be turned on or off with a boolean. + * A named property will be set with some object representing the property value. + * + */ + +#include + +/** @defgroup woden_reader Woden Wsdl Reader + * @ingroup axis2_wsdl + * @{ + */ + +typedef union woden_reader_base woden_reader_base_t; +typedef struct woden_reader woden_reader_t; +typedef struct woden_reader_ops woden_reader_ops_t; + +#ifdef __cplusplus +extern "C" +{ +#endif + +struct woden_reader_ops +{ + /** + * Deallocate memory + * @return status code + */ + axis2_status_t (AXIS2_CALL * + free) ( + void *reader, + const axis2_env_t *env); + +}; + +struct woden_reader +{ + woden_reader_ops_t *ops; +}; + +AXIS2_EXTERN woden_reader_t * AXIS2_CALL +woden_reader_create( + const axis2_env_t *env); + +#define WODEN_READER_FREE(reader, env) \ + (((woden_reader_t *) reader)->ops->free(reader, env)) + +/** @} */ +#ifdef __cplusplus +} +#endif +#endif /* WODEN_READER_H */ Added: webservices/axis2/trunk/c/woden/include/woden/util/axis2_qname_util.h URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/util/axis2_qname_util.h?rev=412099&view=auto ============================================================================== --- webservices/axis2/trunk/c/woden/include/woden/util/axis2_qname_util.h (added) +++ webservices/axis2/trunk/c/woden/include/woden/util/axis2_qname_util.h Tue Jun 6 04:37:32 2006 @@ -0,0 +1,42 @@ +/* + * Copyright 2004,2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef AXIS2_QNAME_UTIL_H +#define AXIS2_QNAME_UTIL_H + +#include +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + +AXIS2_EXTERN axis2_bool_t AXIS2_CALL +axis2_qname_util_matches( + const axis2_env_t *env, + axis2_qname_t *qname, + axis2_om_node_t *node); + +AXIS2_EXTERN axis2_qname_t * AXIS2_CALL +axis2_qname_util_new_qname( + const axis2_env_t *env, + axis2_om_node_t *node); + +#ifdef __cplusplus +} +#endif +#endif /* AXIS2_QNAME_UTIL_H */ Added: webservices/axis2/trunk/c/woden/src/builder/Makefile.am URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/builder/Makefile.am?rev=412099&view=auto ============================================================================== --- webservices/axis2/trunk/c/woden/src/builder/Makefile.am (added) +++ webservices/axis2/trunk/c/woden/src/builder/Makefile.am Tue Jun 6 04:37:32 2006 @@ -0,0 +1,9 @@ +noinst_LTLIBRARIES = libwoden_builder.la + +libwoden_builder_la_SOURCES = \ + reader.c + +INCLUDES = -I$(top_builddir)/include \ + @AXIOMINC@ \ + @UTILINC@ \ + @XMLSCHEMAINC@ --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org