protected void printNodeLinks(PrintWriter writer, DestinationMapNode node, String prefix) { String path = getPath(node); Collection children = node.getChildren(); for (Iterator iter = children.iterator(); iter.hasNext();) { DestinationMapNode child = (DestinationMapNode)iter.next(); writer.print(" "); writer.print(prefix); writer.print(ID_SEPARATOR); writer.print(path); writer.print(" -> "); writer.print(prefix); writer.print(ID_SEPARATOR); writer.print(path); writer.print(ID_SEPARATOR); writer.print(getPath(child)); writer.println(";"); printNodeLinks(writer, child, prefix + ID_SEPARATOR + path); } }
protected void printNodeLinks(PrintWriter writer, DestinationMapNode node, String prefix) { String path = getPath(node); Collection children = node.getChildren(); for (Iterator iter = children.iterator(); iter.hasNext();) { DestinationMapNode child = (DestinationMapNode)iter.next(); writer.print(" "); writer.print(prefix); writer.print(ID_SEPARATOR); writer.print(path); writer.print(" -> "); writer.print(prefix); writer.print(ID_SEPARATOR); writer.print(path); writer.print(ID_SEPARATOR); writer.print(getPath(child)); writer.println(";"); printNodeLinks(writer, child, prefix + ID_SEPARATOR + path); } }
protected void printNodeLinks(PrintWriter writer, DestinationMapNode node, String prefix) { String path = getPath(node); Collection children = node.getChildren(); for (Iterator iter = children.iterator(); iter.hasNext();) { DestinationMapNode child = (DestinationMapNode)iter.next(); writer.print(" "); writer.print(prefix); writer.print(ID_SEPARATOR); writer.print(path); writer.print(" -> "); writer.print(prefix); writer.print(ID_SEPARATOR); writer.print(path); writer.print(ID_SEPARATOR); writer.print(getPath(child)); writer.println(";"); printNodeLinks(writer, child, prefix + ID_SEPARATOR + path); } }
protected void printNodeLinks(PrintWriter writer, DestinationMapNode node, String prefix) { String path = getPath(node); Collection children = node.getChildren(); for (Iterator iter = children.iterator(); iter.hasNext();) { DestinationMapNode child = (DestinationMapNode)iter.next(); writer.print(" "); writer.print(prefix); writer.print(ID_SEPARATOR); writer.print(path); writer.print(" -> "); writer.print(prefix); writer.print(ID_SEPARATOR); writer.print(path); writer.print(ID_SEPARATOR); writer.print(getPath(child)); writer.println(";"); printNodeLinks(writer, child, prefix + ID_SEPARATOR + path); } }
protected void printNodeLinks(PrintWriter writer, DestinationMapNode node, String prefix) { String path = getPath(node); Collection children = node.getChildren(); for (Iterator iter = children.iterator(); iter.hasNext();) { DestinationMapNode child = (DestinationMapNode)iter.next(); writer.print(" "); writer.print(prefix); writer.print(ID_SEPARATOR); writer.print(path); writer.print(" -> "); writer.print(prefix); writer.print(ID_SEPARATOR); writer.print(path); writer.print(ID_SEPARATOR); writer.print(getPath(child)); writer.println(";"); printNodeLinks(writer, child, prefix + ID_SEPARATOR + path); } }