$B:4F#$H?=$7$^$9!#(B<br>$B$$$D$b$*@$OC$K$J$C$F$*$j$^$9!#(B<br><br><span id="hoge" style=""><br>...<br></span><br><br><span id="hoge-2" style=""><br>...<br></span><br><br>public String getHogeStyle() {<br>
return someCondition ? null : "display:none";<br>}<br><br>$B$_$?$$$J$3$H$r$d$j$?$+$C$?$N$G$9$,!"(Bhoge-2$B$N$[$&$K$O%@%$%J%_%C%/%W%m%Q%F%#$OE,MQ$5$l$J$$$_$?$$$G$9!#(B<br>$B%a%=%C%I(B2$B$DMQ0U$9$l$P$$$$$@$1$N$3$H$J$s$G$9$,!#!#(B<br><br>$B$=$s$J$K:$$C$F$k$o$1$G$O$J$$$N$G$9$,!"0l1~Js9p$G$7$?!#(B<br><br><br>