The selector works a little bit like the {@code $()} variable fromjQuery. @author Daniel LĂ©onard @version $Revision$
336337338339340341342343
* Creates a selector on the document and its children. * @return the selector. */ public Selector selector() { nsIDOMNode document = this.getDocument(); Selector selector = this.selector(document); return selector; }
346347348349350351352353
* Creates a selector on the specified node and its children. * @param root the root node. * @return the selector. */ public Selector selector(nsIDOMNode root) { Selector selector = new Selector(root); return selector; }
325326327328329330331332
334335336337338339340341
/** * Creates a selector on the specified node and its children. * @return the selector. */ public Selector selector(nsIDOMNode root) { Selector selector = new Selector(root); return selector; }