tomtkarl / WSCreator

Web Service Design and Generation tool
0 stars 0 forks source link

Recursive data structure for Message #31

Closed tomtkarl closed 11 years ago

tomtkarl commented 11 years ago

Following from #27 #28 and #29, need a recursive data structure to allow for flexibility and customisation.

Suggest a tree structure. parsing to Message will involve recursively adding nodes as they are encountered in the format (SOAP).

parsing to Format can be accomplished using the Visitor pattern in a Depth-First search of the tree.

tomtkarl commented 11 years ago

Visitor pattern not needed - parsing libraries don't really work like that,