チェンジセット 340
- コミット日時:
- 2008/10/09 22:21:47 (14 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/im-jssp/src/main/java/org/intra_mart/jssp/script/api/DebugObject.java
r128 r340 93 93 return "Array"; 94 94 } 95 if (target instanceof XMLObject) { 96 return "XML"; 97 } 98 95 99 if (target instanceof Function) { 96 100 return "Function"; 97 101 } 98 99 if (target instanceof XMLObject) {100 return "XML";101 }102 103 102 if (target instanceof ScriptableObject) { 104 103 return "Object"; … … 161 160 buf.append("<TD bgcolor=\"" + DATA_COLOR + "\" nowrap>"); 162 161 163 // Function164 if (item instanceof Function) {165 buf.append("");166 }167 162 // String 168 elseif (item instanceof String) {163 if (item instanceof String) { 169 164 buf.append(toBrowse(ScriptRuntime.toString(item))); 170 165 } … … 173 168 buf.append(objectToHTML((ScriptableObject) item)); 174 169 } 170 // Object 171 else if (type_name.equals("Object")) { 172 buf.append(objectToHTML((ScriptableObject) item)); 173 } 175 174 // Date 176 175 else if (JsUtil.toDate(item) != null) { 177 176 buf.append(dateToHTML(JsUtil.toDate(item))); 178 177 } 179 // Object 180 else if (type_name.equals("Object")) { 181 buf.append(objectToHTML((ScriptableObject) item)); 178 // XML 179 else if (type_name.equals("XML")) { 180 buf.append(toBrowse(ScriptRuntime.toString(item))); 181 } 182 // Function 183 else if (item instanceof Function) { 184 buf.append(""); 182 185 } 183 186 // その他 … … 324 327 buf.append("</TD></TR></TABLE>"); 325 328 } 326 // Function327 else if ( !(args[idx] instanceof Function)) {329 // XML、または、Functionではない 330 else if (type_name.equals("XML") || !(args[idx] instanceof Function)) { 328 331 buf.append("<TABLE border align=\"center\"><TR><TD bgcolor=\"" + DATA_COLOR + "\" nowrap>"); 329 332 buf.append(toBrowse(ScriptRuntime.toString(args[idx])));