int type; NodeProxy p; for (Iterator i = iterator(); i.hasNext();) { p = (NodeProxy) i.next(); hasTextIndex = p.hasTextIndex(); if(!hasTextIndex) break; }
getIndexType();
	public boolean hasTextIndex() {	    if(indexType == Type.ANY_TYPE) {		    int type;		    NodeProxy p;			for (Iterator i = iterator(); i.hasNext();) {			    p = (NodeProxy) i.next();			    hasTextIndex = p.hasTextIndex();			    if(!hasTextIndex)			        break;			}		}	    return hasTextIndex;	}