This model essentially turns a device into a thin client that only needs the ability to display and manipulate the user interface.
该模型本质上是将设备转变为一台只需具有显示和操作用户接口功能的瘦客户机。
Suppose a user needs to get the value of element of the first person from an XML input stream, AXIOM builds the object model up to the end of element and leaves the rest in the stream.
假定某个用户需要从XML输入流中获得第一个人的元素值,AXIOM构建的对象模型将一直包含到元素结束的内容,而让其他内容保留在流中。
Whenever a controller needs the current state of the user interface, it can use the view_state method to reference the view's copy of the model and the current transfer object.
每当控制器需要用户界面的当前状态时,它可以使用view_state方法来引用视图的模型副本和当前的传输对象。
应用推荐