首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > XJC插件JAXB增加访客模式豆访问者创建界面

XJC插件JAXB增加访客模式豆访问者创建界面

资 源 简 介

Moved to GitHub Seems like all the cools kids are moving to Git Hub. https://github.com/massfords/jaxb-visitor Changes in 2.0 Version 2.0 of the plugin incorporates the patch from Issue #18 which changes the code generator to produce a Visitor and supporting classes that have a return type and an Exception on each visit method. What it does This plugin adds the visitor pattern that includes all of the JAXB objects produced by the xjc compiler. The plugin produces the following changes in the beans: add accept(Visitor) to each bean that invokes appropriate method on Visitor interface create Visitor interface with visit method for each bean create Traverser interface for traversing the graph with a Visitor create DepthFirstTraverser class as a sample implementation of performing a depth first traversal of the gra

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.150895s