该方法的流程简单明了,一旦数据被解析,代码建立一个类似于xml解析器处理程序方法的字符串表示。
This method's flow is straightforward; once the data is parsed, the code builds up a string representation that's similar to the approach of the XML parser handler.
它有另外两个内部变量,currentMessage 针对被解析的 Message 实例,以及名称为 builder 的 StringBuilder 变量,用于存储文本节点中的字符数据。
It has two other internal variables, a currentMessage for a Message instance that is being parsed, and a StringBuilder variable called builder that stores character data from text nodes.
应用推荐