diqiuren / edtf

Automatically exported from code.google.com/p/edtf
0 stars 0 forks source link

XPath re-factoring #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Re-factor XPath component for better separating "static"-like methods from 
instance methods (consider adding a Wrapper class for providing the 
"static"-like methods).

Original issue reported on code.google.com by marius.e...@gmail.com on 28 Jan 2012 at 11:41

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r432.

- Re-factored XPath component.
  - Moved static-like methods to SimpleXPath.
  - Simplified API, by removing the following methods:
    - void setXml(String xmlDocument);
    - void setXml(NodeInfo node);
    - void setXPath(String xPathQuery);
    - void setNamespace(String prefix, String uri);
    - void clearNamespaces();
    - List<NodeInfo> query() throws Exception;
  - Adapted existing code to the changes.

Original comment by marius.e...@gmail.com on 28 Jan 2012 at 11:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by marius.e...@gmail.com on 5 Feb 2012 at 10:50