I'm evaluating some potential implementations of a complex object hierarchy model for my current project. I'm wondering if there is an xpath-style meta-language or something like this that would allow me to query these object linkages.
Furthermore, I'm sure there is some very specific jargon used for the problem I am asking about - I just don't know it.
The requirements:
I think I could roll my own solution here, but I'm curious if someone smarter than me has already come up with something.
After seeing some answers come in, I think I might need to clarify my question a bit more. Specifically, this tool would be used to traverse a set of Objects that are different versions of a parent object.
For example:
[Object 1 prop1="foo" prop2="bar" prop3="zoop"]
↓ Inherits from above object ↓
[Object 2 prop1="foo and something" prop2="bar" prop3="zoop"]
↓ Inherits from above object ↓
[Object 3 prop1="foo and something" prop2="bar" prop3="zoop 24"]
I believe JXPath should do what you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With