if(children == null || children.size() < 1) {
// System.out.println(" no children");
return node;
}
AnalyticsRenderer renderer = new AnalyticsRenderer(node, false);
if(renderer.getBlock() < 1) {
// System.out.println(" no block");
return node;
}
if(renderer.getData() > 2) {
// System.out.println(" has content");
return node;
}
HTMLNode[] nodes = new HTMLNode[children.size()];
for(int i = 0; i < children.size(); i++) {
nodes[i] = children.get(i);
}
AnalyticsRenderer [] renderers = new AnalyticsRenderer[nodes.length];
int max = -1;
for(int i = 0; i < nodes.length; i++) {
renderers[i] = new AnalyticsRenderer(nodes[i], false);
// System.out.println(" ==================================================");
// System.out.println(" thay co cai ni "+ i + " : " + renderers[i].getParagraph());
// System.out.println(renderers[i].getTextValue());