Lines Matching refs:child
36 XMLNode child = children.next();
37 if (child.getTag().equals(OMAConstants.SyncMLVersionTag)) {
38 dtdRev = child.getText();
49 for (XMLNode child : node.getChildren()) {
50 buildNode(mRoot, child);
128 for (XMLNode child : node.getChildren()) {
129 XMLNode old = checkMap.put(child.getTag(), child);
131 switch (child.getTag()) {
135 curValue = new NodeData(child.getText());
141 curValue.setPath(child.getText());
149 curValue.setValue(child.getText());
157 XMLNode typeNode = getNextNode(child, TypeTag);
166 throw new IOException("Scalar node " + node.getText() + " has Node child");
167 children.add(child);
180 for (XMLNode child : children) {
181 buildNode(subNode, child);
198 throw new IOException("Expected " + node.getTag() + " to have exactly one child");
199 XMLNode child = node.getChildren().iterator().next();
200 if (!child.getTag().equals(tag))
201 throw new IOException("Expected " + node.getTag() + " to have child '" + tag +
202 "' instead of '" + child.getTag() + "'");
203 return child;