private void addChildElements() {
        for (Node node : nodes) {
        	if(node instanceof NestableNode) {
	            List<Node> nl = ((NestableNode) node).getChildren();
	            for (Node n : nl) {
	                if (!(n instanceof Element)) {
	                    continue;
	                }
	                
	                String tag = selector.getTagName();
	                if (tagEquals(tag, ((Element)n).getNormalizedName()) || tag.equals(Selector.UNIVERSAL_TAG)) {
	                    result.add(n);
	                }
	            }
        	}
        }
    }
private void addChildElements ( ) { for ( Node node : nodes ) { if ( node instanceof NestableNode ) { List < Node > nl = ( ( NestableNode ) node ) . getChildren ( ) ; for ( Node n : nl ) { if ( ! ( n instanceof Element ) ) { continue ; } String tag = selector . getTagName ( ) ; if ( tagEquals ( tag , ( ( Element ) n ) . getNormalizedName ( ) ) || tag . equals ( Selector . UNIVERSAL_TAG ) ) { result . add ( n ) ; } } } } }
Add child elements.

@see <a href="http://www.w3.org/TR/css3-selectors/#child-combinators">Child combinators</a>