String element = (String) it.next();  sb.append( element ).append( PS );
sb.append( it.next() ).append( PS );
    public String getPathString( List pathElements )    {        StringBuffer sb = new StringBuffer();        for ( Iterator it = pathElements.iterator(); it.hasNext(); )        {            String element = (String) it.next();            sb.append( element ).append( PS );        }        return sb.toString();    }