diff options
author | Manuel Carrasco <manolo@apache.org> | 2013-02-20 07:30:38 -0800 |
---|---|---|
committer | Manuel Carrasco <manolo@apache.org> | 2013-02-20 07:30:38 -0800 |
commit | 9e7a629e65eb9d5210538db5eb3cbd809a3ff323 (patch) | |
tree | f16a59fab9d6d66f92bc39cd30759ce33dc55ccc | |
parent | 09cd400a279b59564e14ecb76f6db1ef5f85307a (diff) | |
parent | 3e22d9df50e328b2608d9e6cdd88b976eb0ab669 (diff) | |
download | gwtquery-9e7a629e65eb9d5210538db5eb3cbd809a3ff323.tar.gz gwtquery-9e7a629e65eb9d5210538db5eb3cbd809a3ff323.zip |
Merge pull request #16 from manolo/master
set abstract in JsQuery overlay class
-rw-r--r-- | jsquery/src/main/java/com/google/gwt/query/jsquery/client/GQueryOverlay.java | 484 |
1 files changed, 246 insertions, 238 deletions
diff --git a/jsquery/src/main/java/com/google/gwt/query/jsquery/client/GQueryOverlay.java b/jsquery/src/main/java/com/google/gwt/query/jsquery/client/GQueryOverlay.java index 88a7acde..cad0a1d2 100644 --- a/jsquery/src/main/java/com/google/gwt/query/jsquery/client/GQueryOverlay.java +++ b/jsquery/src/main/java/com/google/gwt/query/jsquery/client/GQueryOverlay.java @@ -19,6 +19,7 @@ import com.google.gwt.query.client.GQuery; import com.google.gwt.query.client.GQuery.Offset; import com.google.gwt.query.client.Predicate; import com.google.gwt.query.client.Properties; +import com.google.gwt.query.client.js.JsCache; import com.google.gwt.query.client.js.JsUtils; import com.google.gwt.query.client.plugins.Effects; import com.google.gwt.query.client.plugins.effects.PropertiesAnimation; @@ -37,7 +38,7 @@ import com.google.gwt.user.client.Event; */ @ExportPackage("JsQuery") @Export(value="fn", all=false) -public class GQueryOverlay implements ExportOverlay<GQuery> { +public abstract class GQueryOverlay implements ExportOverlay<GQuery> { @ExportPackage("JsQuery") @Export("jFunction") @@ -63,7 +64,7 @@ public class GQueryOverlay implements ExportOverlay<GQuery> { * the GQuery object */ @ExportJsInitMethod - public NodeList<Element> get() {return null;} + public abstract NodeList<Element> get(); /** * Customized JS code to execute after GQuery has been exported. @@ -73,6 +74,8 @@ public class GQueryOverlay implements ExportOverlay<GQuery> { $ = $wnd.$; window = $wnd; document = $doc; + $.fn = $wnd.JsQuery.fn.prototype; + $.fn.extend = $.extend }-*/; @ExportStaticMethod("$wnd.$") @@ -90,6 +93,12 @@ public class GQueryOverlay implements ExportOverlay<GQuery> { return JsQueryUtils.extend(objs); } + @ExportStaticMethod("$wnd.$.expr") + // TODO: it is just a dummy implementation, fix it + public static JavaScriptObject expr(Object...objs) { + return JsCache.createObject(); + } + @ExportStaticMethod("$wnd.$.each") public static JavaScriptObject[] each(JavaScriptObject[] objs, Function f) { return JsQueryUtils.each(objs, f); @@ -145,253 +154,252 @@ public class GQueryOverlay implements ExportOverlay<GQuery> { return g.unbind(s); } - public String toString() {return null;} - public GQuery add(GQuery previousObject) {return null;} - public GQuery add(String selector) {return null;} - public GQuery addClass(String... classes) {return null;} - public GQuery after(GQuery query) {return null;} - public GQuery after(Node n) {return null;} - public GQuery after(String html) {return null;} - public GQuery andSelf() {return null;} + public abstract String toString(); + public abstract GQuery add(GQuery previousObject); + public abstract GQuery add(String selector); + public abstract GQuery addClass(String... classes); + public abstract GQuery after(GQuery query); + public abstract GQuery after(Node n); + public abstract GQuery after(String html); + public abstract GQuery andSelf(); -// public GQuery animate(Object stringOrProperties, int duration, Easing easing, Function... funcs) {return null;} - public GQuery animate(Object stringOrProperties, Function... funcs) {return null;} - public GQuery animate(Object stringOrProperties, int duration, Function... funcs) {return null;} -// public GQuery attr(Properties properties) {return null;} - public String attr(String name) {return null;} -// public GQuery attr(String key, Function closure) {return null;} - public GQuery attr(String key, Object value) {return null;} - public int size() {return 0;} +// public GQuery animate(Object stringOrProperties, int duration, Easing easing, Function... funcs); + public abstract GQuery animate(Object stringOrProperties, Function... funcs); + public abstract GQuery animate(Object stringOrProperties, int duration, Function... funcs); +// public GQuery attr(Properties properties); + public abstract String attr(String name); +// public GQuery attr(String key, Function closure); + public abstract GQuery attr(String key, Object value); + public abstract int size(); - public GQuery append(GQuery query) {return null;} - public GQuery append(Node n) {return null;} - public GQuery append(String html) {return null;} - public GQuery appendTo(GQuery other) {return null;} - public GQuery appendTo(Node n) {return null;} - public GQuery appendTo(String html) {return null;} - public <T extends GQuery> T as(Class<T> plugin) {return null;} + public abstract GQuery append(GQuery query); + public abstract GQuery append(Node n); + public abstract GQuery append(String html); + public abstract GQuery appendTo(GQuery other); + public abstract GQuery appendTo(Node n); + public abstract GQuery appendTo(String html); + public abstract <T extends GQuery> T as(Class<T> plugin); - public GQuery before(GQuery query) {return null;} - public GQuery before(Node n) {return null;} - public GQuery before(String html) {return null;} -// public GQuery bind(int eventbits, Object data, Function... funcs) {return null;} -// public GQuery bind(String eventType, Object data, Function... funcs) {return null;} + public abstract GQuery before(GQuery query); + public abstract GQuery before(Node n); + public abstract GQuery before(String html); +// public GQuery bind(int eventbits, Object data, Function... funcs); +// public GQuery bind(String eventType, Object data, Function... funcs); @ExportInstanceMethod public static GQuery bind(GQuery g, String events, Function func) { return g.bind(events, null, func); } - public GQuery blur(Function... f) {return null;} - public GQuery change(Function... f) {return null;} - public GQuery children() {return null;} - public GQuery children(String... filters) {return null;} - public GQuery clearQueue() {return null;} - public GQuery clone() {return null;} - public GQuery clearQueue(String queueName) {return null;} - public GQuery click(Function... f) {return null;} - public GQuery closest(String selector) {return null;} -// public JsNamedArray<NodeList<Element>> closest(String[] selectors) {return null;} -// public JsNamedArray<NodeList<Element>> closest(String[] selectors, Node context) {return null;} - public GQuery closest(String selector, Node context) {return null;} - public GQuery contains(String text) {return null;} - public GQuery contents() {return null;} -// public GQuery css(Properties properties) {return null;} -// public String css(String name) {return null;} -// public String css(String name, boolean force) {return null;} - public GQuery css(String prop, String val) {return null;} - public double cur(String prop) {return 0;} - public double cur(String prop, boolean force) {return 0;} - public Object data(String name) {return null;} -// public <T> T data(String name, Class<T> clz) {return null;} - public GQuery data(String name, Object value) {return null;} - public GQuery dblclick(Function... f) {return null;} + public abstract GQuery blur(Function... f); + public abstract GQuery change(Function... f); + public abstract GQuery children(); + public abstract GQuery children(String... filters); + public abstract GQuery clearQueue(); + public abstract GQuery clone(); + public abstract GQuery clearQueue(String queueName); + public abstract GQuery click(Function... f); + public abstract GQuery closest(String selector); +// public abstract JsNamedArray<NodeList<Element>> closest(String[] selectors); +// public abstract JsNamedArray<NodeList<Element>> closest(String[] selectors, Node context); + public abstract GQuery closest(String selector, Node context); + public abstract GQuery contains(String text); + public abstract GQuery contents(); +// public abstract GQuery css(Properties properties); +// public abstract String css(String name); +// public abstract String css(String name, boolean force); + public abstract GQuery css(String prop, String val); + public abstract double cur(String prop); + public abstract double cur(String prop, boolean force); + public abstract Object data(String name); +// public abstract <T> T data(String name, Class<T> clz); + public abstract GQuery data(String name, Object value); + public abstract GQuery dblclick(Function... f); @ExportInstanceMethod public static GQuery delay(GQuery g, int milliseconds) { - System.out.println("DDDDD"); return g.delay(milliseconds); } - public GQuery delay(int milliseconds, Function... f) {return null;} - public GQuery delay(int milliseconds, String queueName, Function... f) {return null;} - public GQuery delegate(String selector, String eventType, Function... handlers) {return null;} - public GQuery delegate(String selector, String eventType, Object data, Function... handlers) {return null;} - public GQuery delegate(String selector, int eventbits, Function... handlers) {return null;} - public GQuery delegate(String selector, int eventbits, Object data, Function... handlers) {return null;} - public GQuery dequeue() {return null;} - public GQuery dequeue(String queueName) {return null;} - public GQuery detach() {return null;} - public GQuery detach(String filter) {return null;} - public GQuery die() {return null;} - public GQuery die(String eventName) {return null;} -// public GQuery die(int eventbits) {return null;} - public GQuery each(Function... f) {return null;} - public Element[] elements() {return null;} - public GQuery empty() {return null;} -// public GQuery end() {return null;} - public GQuery eq(int pos) {return null;} - public GQuery error(Function... f) {return null;} - public GQuery fadeIn(Function... f) {return null;} - public GQuery fadeIn(int millisecs, Function... f) {return null;} - public GQuery fadeOut(Function... f) {return null;} - public GQuery fadeOut(int millisecs, Function... f) {return null;} - public Effects fadeToggle(int millisecs, Function... f) {return null;} - public GQuery filter(Predicate filterFn) {return null;} -// public GQuery filter(String... filters) {return null;} - public GQuery find(String... filters) {return null;} - public GQuery first() {return null;} - public GQuery focus(Function... f) {return null;} - public Element get(int i) {return null;} - public Node getContext() {return null;} - public GQuery getPreviousObject() {return null;} - public String getSelector() {return null;} - public GQuery gt(int pos) {return null;} - public boolean hasClass(String... classes) {return false;} - public int height() {return 0;} - public GQuery height(int height) {return null;} - public GQuery height(String height) {return null;} - public GQuery hide() {return null;} - public GQuery hover(Function fover, Function fout) {return null;} - public String html() {return null;} - public GQuery html(String html) {return null;} - public String id() {return null;} - public GQuery id(String id) {return null;} - public int index(Element element) {return 0;} - public int innerHeight() {return 0;} - public int innerWidth() {return 0;} - public GQuery insertAfter(Element elem) {return null;} - public GQuery insertAfter(GQuery query) {return null;} - public GQuery insertAfter(String selector) {return null;} - public GQuery insertBefore(Element item) {return null;} - public GQuery insertBefore(GQuery query) {return null;} - public GQuery insertBefore(String selector) {return null;} - public boolean is(String... filters) {return false;} - public boolean isEmpty() {return false;} - public GQuery keydown(Function... f) {return null;} - public GQuery keydown(int key) {return null;} - public GQuery keypress(Function... f) {return null;} - public GQuery keypress(int key) {return null;} - public GQuery keyup(Function... f) {return null;} - public GQuery keyup(int key) {return null;} - public GQuery last() {return null;} - public int left() {return 0;} - public int length() {return 0;} - public GQuery live(String eventName, Function... funcs) {return null;} -// public GQuery live(int eventbits, Function... funcs) {return null;} -// public GQuery live(int eventbits, Object data, Function... funcs) {return null;} - public GQuery live(String eventName, Object data, Function... funcs) {return null;} -// public GQuery load(Function f) {return null;} - public GQuery lt(int pos) {return null;} -// public <W> List<W> map(Function f) {return null;} - public GQuery mousedown(Function... f) {return null;} - public GQuery mousemove(Function... f) {return null;} - public GQuery mouseout(Function... f) {return null;} - public GQuery mouseover(Function... f) {return null;} - public GQuery mouseup(Function... f) {return null;} - public GQuery next() {return null;} - public GQuery next(String... selectors) {return null;} - public GQuery nextAll() {return null;} - public GQuery nextUntil(String selector) {return null;} - public GQuery not(Element elem) {return null;} - public GQuery not(GQuery gq) {return null;} - public GQuery not(String... filters) {return null;} - public GQuery offsetParent() {return null;} - public GQuery one(int eventbits, Object data, Function f) {return null;} - public int outerHeight() {return 0;} - public int outerHeight(boolean includeMargin) {return 0;} - public int outerWidth() {return 0;} - public int outerWidth(boolean includeMargin) {return 0;} - public GQuery parent() {return null;} - public GQuery parent(String... filters) {return null;} - public GQuery parents() {return null;} - public GQuery parents(String... filters) {return null;} - public GQuery parentsUntil(String selector) {return null;} -// public Offset position() {return null;} - public GQuery prepend(GQuery query) {return null;} - public GQuery prepend(Node n) {return null;} - public GQuery prepend(String html) {return null;} - public GQuery prependTo(GQuery other) {return null;} - public GQuery prependTo(Node n) {return null;} - public GQuery prependTo(String html) {return null;} - public GQuery prev() {return null;} - public GQuery prev(String... selectors) {return null;} - public GQuery prevAll() {return null;} - public GQuery prevUntil(String selector) {return null;} - public boolean prop(String key) {return false;} - public GQuery prop(String key, boolean value) {return null;} - public GQuery prop(String key, Function closure) {return null;} - public int queue() {return 0;} - public int queue(String queueName) {return 0;} - public GQuery queue(Function... f) {return null;} - public GQuery queue(String queueName, Function... f) {return null;} - public GQuery remove() {return null;} - public GQuery remove(String filter) {return null;} - public GQuery removeAttr(String key) {return null;} - public GQuery removeClass(String... classes) {return null;} - public GQuery removeData(String name) {return null;} - public GQuery replaceAll(Element elem) {return null;} - public GQuery replaceAll(GQuery target) {return null;} - public GQuery replaceAll(String selector) {return null;} - public GQuery replaceWith(Element elem) {return null;} - public GQuery replaceWith(GQuery target) {return null;} - public GQuery replaceWith(String html) {return null;} - public GQuery resize(Function... f) {return null;} - public void restoreCssAttrs(String... cssProps) {} - public void resize(Function f) {} - public void saveCssAttrs(String... cssProps) {} - public GQuery scroll(Function... f) {return null;} - public GQuery scrollIntoView() {return null;} - public GQuery scrollIntoView(boolean ensure) {return null;} - public int scrollLeft() {return 0;} - public GQuery scrollLeft(int left) {return null;} - public GQuery scrollTo(int left, int top) {return null;} - public int scrollTop() {return 0;} - public GQuery scrollTop(int top) {return null;} - public GQuery select() {return null;} - public GQuery setArray(NodeList<Element> list) {return null;} - public void setPreviousObject(GQuery previousObject) {} - public GQuery setSelector(String selector) {return null;} - public GQuery show() {return null;} - public GQuery siblings() {return null;} - public GQuery siblings(String... selectors) {return null;} - public GQuery slice(int start, int end) {return null;} - public Effects slideDown(Function... f) {return null;} - public Effects slideDown(int millisecs, Function... f) {return null;} - public Effects slideToggle(int millisecs, Function... f) {return null;} - public Effects slideUp(Function... f) {return null;} - public Effects slideUp(int millisecs, Function... f) {return null;} - public GQuery stop() {return null;} - public GQuery stop(boolean clearQueue) {return null;} - public GQuery stop(boolean clearQueue, boolean jumpToEnd) {return null;} - public GQuery submit(Function... funcs) {return null;} - public String text() {return null;} - public GQuery text(String txt) {return null;} - public GQuery toggle() {return null;} - public GQuery toggle(Function... fn) {return null;} - public GQuery toggleClass(String... classes) {return null;} - public GQuery toggleClass(String clz, boolean addOrRemove) {return null;} - public int top() {return 0;} - public String toString(boolean pretty) {return null;} -// public GQuery trigger(int eventbits, int... keys) {return null;} -// public GQuery unbind(int eventbits) {return null;} - public GQuery undelegate() {return null;} - public GQuery undelegate(String selector) {return null;} - public GQuery undelegate(String selector, String eventName) {return null;} - public GQuery undelegate(String selector, int eventBit) {return null;} -// public JsNodeArray unique(NodeList<Element> result) {return null;} - public GQuery unwrap() {return null;} - public String val() {return null;} - public GQuery val(String... values) {return null;} - public String[] vals() {return null;} - public boolean isVisible() {return false;} - public int width() {return 0;} - public GQuery width(int width) {return null;} - public GQuery wrap(Element elem) {return null;} - public GQuery wrap(GQuery query) {return null;} - public GQuery wrap(String html) {return null;} - public GQuery wrapAll(Element elem) {return null;} - public GQuery wrapAll(GQuery query) {return null;} - public GQuery wrapAll(String html) {return null;} - public GQuery wrapInner(Element elem) {return null;} - public GQuery wrapInner(GQuery query) {return null;} - public GQuery wrapInner(String html) {return null;} + public abstract GQuery delay(int milliseconds, Function... f); + public abstract GQuery delay(int milliseconds, String queueName, Function... f); + public abstract GQuery delegate(String selector, String eventType, Function... handlers); + public abstract GQuery delegate(String selector, String eventType, Object data, Function... handlers); + public abstract GQuery delegate(String selector, int eventbits, Function... handlers); + public abstract GQuery delegate(String selector, int eventbits, Object data, Function... handlers); + public abstract GQuery dequeue(); + public abstract GQuery dequeue(String queueName); + public abstract GQuery detach(); + public abstract GQuery detach(String filter); + public abstract GQuery die(); + public abstract GQuery die(String eventName); +// public abstract GQuery die(int eventbits); + public abstract GQuery each(Function... f); + public abstract Element[] elements(); + public abstract GQuery empty(); +// public abstract GQuery end(); + public abstract GQuery eq(int pos); + public abstract GQuery error(Function... f); + public abstract GQuery fadeIn(Function... f); + public abstract GQuery fadeIn(int millisecs, Function... f); + public abstract GQuery fadeOut(Function... f); + public abstract GQuery fadeOut(int millisecs, Function... f); + public abstract Effects fadeToggle(int millisecs, Function... f); + public abstract GQuery filter(Predicate filterFn); +// public abstract GQuery filter(String... filters); + public abstract GQuery find(String... filters); + public abstract GQuery first(); + public abstract GQuery focus(Function... f); + public abstract Element get(int i); + public abstract Node getContext(); + public abstract GQuery getPreviousObject(); + public abstract String getSelector(); + public abstract GQuery gt(int pos); + public abstract boolean hasClass(String... classes); + public abstract int height(); + public abstract GQuery height(int height); + public abstract GQuery height(String height); + public abstract GQuery hide(); + public abstract GQuery hover(Function fover, Function fout); + public abstract String html(); + public abstract GQuery html(String html); + public abstract String id(); + public abstract GQuery id(String id); + public abstract int index(Element element); + public abstract int innerHeight(); + public abstract int innerWidth(); + public abstract GQuery insertAfter(Element elem); + public abstract GQuery insertAfter(GQuery query); + public abstract GQuery insertAfter(String selector); + public abstract GQuery insertBefore(Element item); + public abstract GQuery insertBefore(GQuery query); + public abstract GQuery insertBefore(String selector); + public abstract boolean is(String... filters); + public abstract boolean isEmpty(); + public abstract GQuery keydown(Function... f); + public abstract GQuery keydown(int key); + public abstract GQuery keypress(Function... f); + public abstract GQuery keypress(int key); + public abstract GQuery keyup(Function... f); + public abstract GQuery keyup(int key); + public abstract GQuery last(); + public abstract int left(); + public abstract int length(); + public abstract GQuery live(String eventName, Function... funcs); +// public abstract GQuery live(int eventbits, Function... funcs); +// public abstract GQuery live(int eventbits, Object data, Function... funcs); + public abstract GQuery live(String eventName, Object data, Function... funcs); +// public abstract GQuery load(Function f); + public abstract GQuery lt(int pos); +// public abstract <W> List<W> map(Function f); + public abstract GQuery mousedown(Function... f); + public abstract GQuery mousemove(Function... f); + public abstract GQuery mouseout(Function... f); + public abstract GQuery mouseover(Function... f); + public abstract GQuery mouseup(Function... f); + public abstract GQuery next(); + public abstract GQuery next(String... selectors); + public abstract GQuery nextAll(); + public abstract GQuery nextUntil(String selector); + public abstract GQuery not(Element elem); + public abstract GQuery not(GQuery gq); + public abstract GQuery not(String... filters); + public abstract GQuery offsetParent(); + public abstract GQuery one(int eventbits, Object data, Function f); + public abstract int outerHeight(); + public abstract int outerHeight(boolean includeMargin); + public abstract int outerWidth(); + public abstract int outerWidth(boolean includeMargin); + public abstract GQuery parent(); + public abstract GQuery parent(String... filters); + public abstract GQuery parents(); + public abstract GQuery parents(String... filters); + public abstract GQuery parentsUntil(String selector); +// public abstract Offset position(); + public abstract GQuery prepend(GQuery query); + public abstract GQuery prepend(Node n); + public abstract GQuery prepend(String html); + public abstract GQuery prependTo(GQuery other); + public abstract GQuery prependTo(Node n); + public abstract GQuery prependTo(String html); + public abstract GQuery prev(); + public abstract GQuery prev(String... selectors); + public abstract GQuery prevAll(); + public abstract GQuery prevUntil(String selector); + public abstract boolean prop(String key); + public abstract GQuery prop(String key, boolean value); + public abstract GQuery prop(String key, Function closure); + public abstract int queue(); + public abstract int queue(String queueName); + public abstract GQuery queue(Function... f); + public abstract GQuery queue(String queueName, Function... f); + public abstract GQuery remove(); + public abstract GQuery remove(String filter); + public abstract GQuery removeAttr(String key); + public abstract GQuery removeClass(String... classes); + public abstract GQuery removeData(String name); + public abstract GQuery replaceAll(Element elem); + public abstract GQuery replaceAll(GQuery target); + public abstract GQuery replaceAll(String selector); + public abstract GQuery replaceWith(Element elem); + public abstract GQuery replaceWith(GQuery target); + public abstract GQuery replaceWith(String html); + public abstract GQuery resize(Function... f); + public abstract void restoreCssAttrs(String... cssProps); + public abstract void resize(Function f); + public abstract void saveCssAttrs(String... cssProps); + public abstract GQuery scroll(Function... f); + public abstract GQuery scrollIntoView(); + public abstract GQuery scrollIntoView(boolean ensure); + public abstract int scrollLeft(); + public abstract GQuery scrollLeft(int left); + public abstract GQuery scrollTo(int left, int top); + public abstract int scrollTop(); + public abstract GQuery scrollTop(int top); + public abstract GQuery select(); + public abstract GQuery setArray(NodeList<Element> list); + public abstract void setPreviousObject(GQuery previousObject); + public abstract GQuery setSelector(String selector); + public abstract GQuery show(); + public abstract GQuery siblings(); + public abstract GQuery siblings(String... selectors); + public abstract GQuery slice(int start, int end); + public abstract Effects slideDown(Function... f); + public abstract Effects slideDown(int millisecs, Function... f); + public abstract Effects slideToggle(int millisecs, Function... f); + public abstract Effects slideUp(Function... f); + public abstract Effects slideUp(int millisecs, Function... f); + public abstract GQuery stop(); + public abstract GQuery stop(boolean clearQueue); + public abstract GQuery stop(boolean clearQueue, boolean jumpToEnd); + public abstract GQuery submit(Function... funcs); + public abstract String text(); + public abstract GQuery text(String txt); + public abstract GQuery toggle(); + public abstract GQuery toggle(Function... fn); + public abstract GQuery toggleClass(String... classes); + public abstract GQuery toggleClass(String clz, boolean addOrRemove); + public abstract int top(); + public abstract String toString(boolean pretty); +// public abstract GQuery trigger(int eventbits, int... keys); +// public abstract GQuery unbind(int eventbits); + public abstract GQuery undelegate(); + public abstract GQuery undelegate(String selector); + public abstract GQuery undelegate(String selector, String eventName); + public abstract GQuery undelegate(String selector, int eventBit); +// public abstract JsNodeArray unique(NodeList<Element> result); + public abstract GQuery unwrap(); + public abstract String val(); + public abstract GQuery val(String... values); + public abstract String[] vals(); + public abstract boolean isVisible(); + public abstract int width(); + public abstract GQuery width(int width); + public abstract GQuery wrap(Element elem); + public abstract GQuery wrap(GQuery query); + public abstract GQuery wrap(String html); + public abstract GQuery wrapAll(Element elem); + public abstract GQuery wrapAll(GQuery query); + public abstract GQuery wrapAll(String html); + public abstract GQuery wrapInner(Element elem); + public abstract GQuery wrapInner(GQuery query); + public abstract GQuery wrapInner(String html); } |