You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Sergey Vladimirov (JIRA)" <ji...@apache.org> on 2007/07/15 16:16:04 UTC

[jira] Created: (JXPATH-96) Extract VariablePointerFactory interface

Extract VariablePointerFactory interface
----------------------------------------

                 Key: JXPATH-96
                 URL: https://issues.apache.org/jira/browse/JXPATH-96
             Project: Commons JXPath
          Issue Type: New Feature
    Affects Versions: 1.2 Final
            Reporter: Sergey Vladimirov
             Fix For: 1.3
         Attachments: patch.txt

Extract VariablePointerFactory interface from JXPathContextReferenceImpl, and pull up using of it to JXPathContext

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (JXPATH-96) Extract VariablePointerFactory interface

Posted by "Sergey Vladimirov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JXPATH-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Vladimirov updated JXPATH-96:
------------------------------------

    Attachment: patch.txt

Fixed copyrights

> Extract VariablePointerFactory interface
> ----------------------------------------
>
>                 Key: JXPATH-96
>                 URL: https://issues.apache.org/jira/browse/JXPATH-96
>             Project: Commons JXPath
>          Issue Type: New Feature
>    Affects Versions: 1.2 Final
>            Reporter: Sergey Vladimirov
>             Fix For: 1.3
>
>         Attachments: patch.txt, VariablePointerFactoryTest.java
>
>
> Extract VariablePointerFactory interface from JXPathContextReferenceImpl, and pull up using of it to JXPathContext

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Resolved: (JXPATH-96) Extract VariablePointerFactory interface

Posted by "Matt Benson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JXPATH-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Benson resolved JXPATH-96.
-------------------------------

    Resolution: Fixed

There are many reasons this could not be implemented as requested.  You have placed dependencies in JXPathContext upon NodePointer, etc., from the reference implementation.  What I have done is change the RI such that it delegates the creation of variable pointers to the registered NodePointerFactories as it does with the other various nodes in a given graph, wrapping the context itself in a type that the new VariablePointerFactory NodePointerFactory implementation recognizes.  Now you will extend the RI in much the same way as you would any other time you needed to add a custom NodePointerFactory, except that you will trigger your VariablePointerFactory, or replacement thereof, on the VariablePointerFactory.VariableContextWrapper bean type.  Since the default implementation is now being used for the creation of VariablePointers the existing testcases validate that this functionality is working properly.

Best,
Matt

> Extract VariablePointerFactory interface
> ----------------------------------------
>
>                 Key: JXPATH-96
>                 URL: https://issues.apache.org/jira/browse/JXPATH-96
>             Project: Commons JXPath
>          Issue Type: New Feature
>    Affects Versions: 1.2 Final
>            Reporter: Sergey Vladimirov
>            Assignee: Matt Benson
>             Fix For: 1.3
>
>         Attachments: patch.txt, VariablePointerFactoryTest.java
>
>
> Extract VariablePointerFactory interface from JXPathContextReferenceImpl, and pull up using of it to JXPathContext

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (JXPATH-96) Extract VariablePointerFactory interface

Posted by "Sergey Vladimirov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JXPATH-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Vladimirov updated JXPATH-96:
------------------------------------

    Attachment: VariablePointerFactoryTest.java

Test case

> Extract VariablePointerFactory interface
> ----------------------------------------
>
>                 Key: JXPATH-96
>                 URL: https://issues.apache.org/jira/browse/JXPATH-96
>             Project: Commons JXPath
>          Issue Type: New Feature
>    Affects Versions: 1.2 Final
>            Reporter: Sergey Vladimirov
>             Fix For: 1.3
>
>         Attachments: patch.txt, VariablePointerFactoryTest.java
>
>
> Extract VariablePointerFactory interface from JXPathContextReferenceImpl, and pull up using of it to JXPathContext

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (JXPATH-96) Extract VariablePointerFactory interface

Posted by "Sergey Vladimirov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JXPATH-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Vladimirov updated JXPATH-96:
------------------------------------

    Attachment:     (was: patch.txt)

> Extract VariablePointerFactory interface
> ----------------------------------------
>
>                 Key: JXPATH-96
>                 URL: https://issues.apache.org/jira/browse/JXPATH-96
>             Project: Commons JXPath
>          Issue Type: New Feature
>    Affects Versions: 1.2 Final
>            Reporter: Sergey Vladimirov
>             Fix For: 1.3
>
>         Attachments: patch.txt, VariablePointerFactoryTest.java
>
>
> Extract VariablePointerFactory interface from JXPathContextReferenceImpl, and pull up using of it to JXPathContext

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (JXPATH-96) Extract VariablePointerFactory interface

Posted by "Sergey Vladimirov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JXPATH-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Vladimirov updated JXPATH-96:
------------------------------------

    Attachment: patch.txt

Implementation

> Extract VariablePointerFactory interface
> ----------------------------------------
>
>                 Key: JXPATH-96
>                 URL: https://issues.apache.org/jira/browse/JXPATH-96
>             Project: Commons JXPath
>          Issue Type: New Feature
>    Affects Versions: 1.2 Final
>            Reporter: Sergey Vladimirov
>             Fix For: 1.3
>
>         Attachments: patch.txt
>
>
> Extract VariablePointerFactory interface from JXPathContextReferenceImpl, and pull up using of it to JXPathContext

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (JXPATH-96) Extract VariablePointerFactory interface

Posted by "Sergey Vladimirov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JXPATH-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513743 ] 

Sergey Vladimirov commented on JXPATH-96:
-----------------------------------------

It will be nice to add test case to SVN as well
As an example for me :)

> Extract VariablePointerFactory interface
> ----------------------------------------
>
>                 Key: JXPATH-96
>                 URL: https://issues.apache.org/jira/browse/JXPATH-96
>             Project: Commons JXPath
>          Issue Type: New Feature
>    Affects Versions: 1.2 Final
>            Reporter: Sergey Vladimirov
>            Assignee: Matt Benson
>             Fix For: 1.3
>
>         Attachments: patch.txt, VariablePointerFactoryTest.java
>
>
> Extract VariablePointerFactory interface from JXPathContextReferenceImpl, and pull up using of it to JXPathContext

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org