/** * @return List of child TagNode objects. * @deprecated use {@link TagNode#getChildTagList()}, will be refactored and possibly removed in * future versions. TODO This method should be refactored because is does not * properly match the commonly used Java's getter/setter strategy. */ @Deprecated public List<TagNode> getChildren() { return getChildTagList(); }
/** * @return List of child TagNode objects. * @deprecated use {@link TagNode#getChildTagList()}, will be refactored and possibly removed in * future versions. TODO This method should be refactored because is does not * properly match the commonly used Java's getter/setter strategy. */ @Deprecated public List<TagNode> getChildren() { return getChildTagList(); }
/** * @return An array of child TagNode instances. */ public TagNode[] getChildTags() { List<TagNode> childTagList = getChildTagList(); TagNode childrenArray[] = new TagNode[childTagList.size()]; for (int i = 0; i < childTagList.size(); i++) { childrenArray[i] = (TagNode) childTagList.get(i); } return childrenArray; }
/** * @return An array of child TagNode instances. */ public TagNode[] getChildTags() { List childTagList = getChildTagList(); TagNode childrenArray[] = new TagNode[childTagList.size()]; for (int i = 0; i < childTagList.size(); i++) { childrenArray[i] = (TagNode) childTagList.get(i); } return childrenArray; }
dlJsonObject = new JSONObject(); TagNode dlNode = (TagNode) objs[0]; List<TagNode> childTagList = dlNode.getChildTagList(); for (int i = 0; i < childTagList.size(); i = i + 2) {
subnodes = parent != null ? singleton(parent) : new ArrayList(); } else { subnodes = isAll ? node.getChildTagList() : node.getElementListByName(name, false); List childTags = node.getChildTagList(); if (isSelf || isParent || isAll) { result.addAll(refinedSubnodes);
subnodes = parent != null ? singleton(parent) : new ArrayList(); } else { subnodes = isAll ? node.getChildTagList() : node.getElementListByName(name, false); List childTags = node.getChildTagList(); if (isSelf || isParent || isAll) { result.addAll(refinedSubnodes);