You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2006/06/06 13:37:33 UTC
svn commit: r412099 [1/3] - in /webservices/axis2/trunk/c/woden:
include/woden/builder/ include/woden/util/ src/builder/ src/util/
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.
+ * <p>
+ * 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.
+ * <p>
+ * 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 <woden/axis2_woden.h>
+
+/** @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 <axis2_qname.h>
+#include <axis2_om.h>
+
+#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