if(previousPath != null) return previousPath; final StringBuffer buf = new StringBuffer(); ElementImpl current; for ( Iterator i = stack.iterator(); i.hasNext();  ) { buf.append( '/' ); current = (ElementImpl) i.next(); buf.append( current.getTagName() ); } previousPath = buf.toString(); return previousPath; }
if (previousPath != null) return previousPath;  temp.setLength(0); ElementImpl current; for (Iterator i = stack.iterator(); i.hasNext();) { temp.append('/'); current = (ElementImpl) i.next(); temp.append(current.getTagName()); } previousPath = temp.toString(); return previousPath; }
    private final String getCurrentPath() {    	if(previousPath != null)    		return previousPath;        final StringBuffer buf = new StringBuffer();        ElementImpl current;        for ( Iterator i = stack.iterator(); i.hasNext();  ) {            buf.append( '/' );            current = (ElementImpl) i.next();            buf.append( current.getTagName() );        }        previousPath = buf.toString();        return previousPath;    }