The second code block (lines 6-7) just passes the root element of the document off to the recursive modification method I'll get to in a moment.
第二个代码块(第6 - 7行)只是将文档的根元素传递给我马上要谈到的递归修改方法。
It is here at line 3 that the dispatching to the root deserializer occurs, when the unmarshall method is called.
当调用unmarshall方法时,就是在第3行这里发生到根序列化器的调度。
Your outermost XML element (that is, the root) is words so you create a words method.
最外面的XML元素(也就是“根”)是words,这样就创建了一个words方法。
Remember, I said when we do a bisection method, we're assuming the answer lies somewhere between Well, what is the square root of a quarter? It is a half.
记住,我提过当我们用二分法的时候,我们假设答案处于,上边界和下边界之间,0。25的平方根是多少?,是0。5。
应用推荐