5051525354555657585960
Object o = i.next(); if( o instanceof WikiPage ) { WikiPage p = (WikiPage)o; content.addElement( new li().addElement( p.getName() ) ); } else if( o instanceof String ) { content.addElement( new li().addElement( o.toString() )); }
5455565758596061626364
WikiPage p = (WikiPage)o; content.addElement( new li().addElement( p.getName() ) ); } else if( o instanceof String ) { content.addElement( new li().addElement( o.toString() )); } } doc.appendBody( content );
271272273274275276277278279280281
ul list = new ul(); for( Iterator<Map.Entry< String, String > > i = params.entrySet().iterator(); i.hasNext(); ) { Map.Entry< String, String > e = i.next(); String key = e.getKey(); list.addElement( new li( key + "'='" + e.getValue() ) ); } d.addElement( list ); return d.toString();
4849505152535455565758
5253545556575859606162