public void startRecord(String type) { VNode vnode = new VNode(); vnode.parseStatus = 1; vnode.VName = type; vNodeList.add(vnode); nodeListPos = vNodeList.size() - 1; curVNode = vNodeList.get(nodeListPos); }
public void endRecord() { VNode endNode = vNodeList.get(nodeListPos); endNode.parseStatus = 0; while (nodeListPos > 0) { nodeListPos--; if ((vNodeList.get(nodeListPos)).parseStatus == 1) break; } curVNode = vNodeList.get(nodeListPos); }