The basic mechanism supplied with @NameValue is almost what I need, but not quite:
My elements represent states which can be nested. Each state has a name that is relative to the super state's name. Each state also contains a list of transition where the "to" attribute references another state using relative names.
For example this would be a valid transition:
The documentation is a little terse on how to achieve this.
My understanding is that I should extend DomResolveConverter, but which methods should I override?
All in all I am in a confused state right now with all those converters, resolvers and meta-annotations whirling around.