Constructs a node list from a given children list.paramchildren The children list. Can be null. mChildren = new ArrayList<MockXmlNode>(); if (children != null) { for (MockXmlNode n : children) { mChildren.add(n); } }
mChildren = new ArrayList<MockXmlNode>(); if (children != null) { for (MockXmlNode n : children) { mChildren.add(n); } }
return mChildren;
return mChildren.size();
if (index >= 0 && index < mChildren.size()) { return mChildren.get(index); } return null;