diff options
| author | 2010-03-23 13:22:09 +0000 | |
|---|---|---|
| committer | 2010-03-23 13:22:09 +0000 | |
| commit | 41f4642b858a8225f4442c098344318bcc3fbfe1 (patch) | |
| tree | 78d0d1f832be5eafea11129a7fc16dbc94c18ae2 /axiom/include/axiom_node.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_node.h')
| -rw-r--r-- | axiom/include/axiom_node.h | 23 | 
1 files changed, 16 insertions, 7 deletions
| diff --git a/axiom/include/axiom_node.h b/axiom/include/axiom_node.h index dd5c320..310b0b8 100644 --- a/axiom/include/axiom_node.h +++ b/axiom/include/axiom_node.h @@ -141,11 +141,11 @@ extern "C"          axiom_node_t * child);      /** -    * Detaches given node from the parent and reset the links +    * Detaches given node from the parent and reset the links. Will recreate "namespace defined in +    * the parent and used in detached node" within detached node itself      * @param om_node node to be detached, cannot be NULL.      * @param env Environment. MUST NOT be NULL, . -    * @return a pointer to detached node,returns NULL on error with error -    *           code set to environment's error struct +    * @return a pointer to detached node,returns NULL on error      */      AXIS2_EXTERN axiom_node_t *AXIS2_CALL      axiom_node_detach( @@ -153,6 +153,18 @@ extern "C"          const axutil_env_t * env);      /** +     * Detaches given node from the parent and reset the links. will not adjust the namespace as +     * in the case of axiom_node_detach. +     * @param om_node node to be detached, cannot be NULL. +     * @param env Environment. MUST NOT be NULL, . +     * @return a pointer to detached node,returns NULL on error +     */ +    AXIS2_EXTERN axiom_node_t *AXIS2_CALL +    axiom_node_detach_without_namespaces( +        axiom_node_t * om_node, +        const axutil_env_t * env); + +    /**      * Inserts a sibling node after the given node      * @param om_node node to whom the sibling to be inserted. , cannot be NULL.      * @param env Environment. MUST NOT be NULL, . @@ -366,10 +378,7 @@ extern "C"          axiom_node_t * om_node,          const axutil_env_t * env); -    AXIS2_EXTERN struct axiom_stax_builder *AXIS2_CALL -                axiom_node_get_builder( -                    axiom_node_t * om_node, -                    const axutil_env_t * env); +      /** @} */  #ifdef __cplusplus | 
