diff options
author | shankar | 2010-03-23 13:22:09 +0000 |
---|---|---|
committer | shankar | 2010-03-23 13:22:09 +0000 |
commit | 41f4642b858a8225f4442c098344318bcc3fbfe1 (patch) | |
tree | 78d0d1f832be5eafea11129a7fc16dbc94c18ae2 /axiom/include/axiom_stax_builder.h | |
parent | fbdd94e3f0e62cb595aef2bba28f50c97b722f56 (diff) | |
download | axis2c-41f4642b858a8225f4442c098344318bcc3fbfe1.tar.gz axis2c-41f4642b858a8225f4442c098344318bcc3fbfe1.tar.bz2 |
Refactor to increase performace
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@926564 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'axiom/include/axiom_stax_builder.h')
-rw-r--r-- | axiom/include/axiom_stax_builder.h | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/axiom/include/axiom_stax_builder.h b/axiom/include/axiom_stax_builder.h index 8b85e12..8ec8af1 100644 --- a/axiom/include/axiom_stax_builder.h +++ b/axiom/include/axiom_stax_builder.h @@ -37,52 +37,47 @@ extern "C" typedef struct axiom_stax_builder axiom_stax_builder_t; /** - * Creates an stax builder - * @param environment Environment. MUST NOT be NULL. - * @param parser parser to be used with builder. The builder - * will take ownership of the parser. - * @return a pointer to the newly created builder struct. - */ + * Creates an stax builder + * @param environment Environment. MUST NOT be NULL. + * @param parser parser to be used with builder. The builder will take ownership of the parser. + * @return a pointer to the newly created builder struct. + */ AXIS2_EXTERN axiom_stax_builder_t *AXIS2_CALL axiom_stax_builder_create( const axutil_env_t * env, axiom_xml_reader_t * parser); /** - * Free the build struct instance and its associated document,axiom tree. - * @param builder pointer to builder struct - * @param env environment, MUST NOT be NULL - * @return status of the op AXIS2_SUCCESS on success, - * AXIS2_FAILURE on error. - */ + * Free the build struct instance and its associated document,axiom tree. + * @param builder pointer to builder struct + * @param env environment, MUST NOT be NULL + * @return status of the operation AXIS2_SUCCESS on success, AXIS2_FAILURE on error. + */ AXIS2_EXTERN void AXIS2_CALL axiom_stax_builder_free( - struct axiom_stax_builder *builder, + axiom_stax_builder_t *builder, const axutil_env_t * env); /** * Free the build struct instance and its associated document. - does not free the associated axiom tree. + * Will not free the associated axiom tree. * @param builder pointer to builder struct * @param env environment, MUST NOT be NULL - * @return status of the op AXIS2_SUCCESS on success, - * AXIS2_FAILURE on error. + * @return status of the operation AXIS2_SUCCESS on success, AXIS2_FAILURE on error. */ AXIS2_EXTERN void AXIS2_CALL axiom_stax_builder_free_self( - struct axiom_stax_builder *builder, + axiom_stax_builder_t *builder, const axutil_env_t * env); /** Gets the document associated with the builder - * @param builder axiom_stax_builder - * @param env environment - * @return pointer to document struct associated with builder - * NULL if there is no document associated with the builder, - * NULL if an error occured. - */ + * @param builder axiom_stax_builder + * @param env environment + * @return pointer to document struct associated with builder NULL if an error occurred. + */ AXIS2_EXTERN axiom_document_t *AXIS2_CALL axiom_stax_builder_get_document( - struct axiom_stax_builder *builder, + axiom_stax_builder_t *builder, const axutil_env_t * env); /** @} */ |