5051525354555657585960
return result; } protected Map<Object, Object> getQueryParameter(IRubyObject connection_uri) { final RubyObjectAdapter api = JavaEmbedUtils.newObjectAdapter(); final IRubyObject query_values = api.callMethod(connection_uri, "query"); if (query_values.isNil()) { return null; } else { return query_values.convertToHash();
343344345346347348349350351352353
return; IRubyObject stack = adapter.getInstanceVariable(handler, "@stack"); if (stack == null || stack.isNil()) return; // doc is finally a DocumentFragment whose nodes we can check IRubyObject doc = adapter.callMethod(stack, "first"); if (doc == null || doc.isNil()) return; IRubyObject children;
350351352353354355356357358359360
return; IRubyObject children; for (;;) { children = adapter.callMethod(doc, "children"); IRubyObject first = adapter.callMethod(children, "first"); if (isWhitespaceText(context, first)) adapter.callMethod(first, "unlink"); else break;
351352353354355356357358359360361
IRubyObject children; for (;;) { children = adapter.callMethod(doc, "children"); IRubyObject first = adapter.callMethod(children, "first"); if (isWhitespaceText(context, first)) adapter.callMethod(first, "unlink"); else break; }
353354355356357358359360361362363
for (;;) { children = adapter.callMethod(doc, "children"); IRubyObject first = adapter.callMethod(children, "first"); if (isWhitespaceText(context, first)) adapter.callMethod(first, "unlink"); else break; } for (;;) {
359360361362363364365366367368369
else break; } for (;;) { children = adapter.callMethod(doc, "children"); IRubyObject last = adapter.callMethod(children, "last"); if (isWhitespaceText(context, last)) adapter.callMethod(last, "unlink"); else break;
360361362363364365366367368369370
break; } for (;;) { children = adapter.callMethod(doc, "children"); IRubyObject last = adapter.callMethod(children, "last"); if (isWhitespaceText(context, last)) adapter.callMethod(last, "unlink"); else break; }
362363364365366367368369370371372
for (;;) { children = adapter.callMethod(doc, "children"); IRubyObject last = adapter.callMethod(children, "last"); if (isWhitespaceText(context, last)) adapter.callMethod(last, "unlink"); else break; } // While we have a document, normalize it.