Examples of nsIDOMHTMLAnchorElement


Examples of org.mozilla.interfaces.nsIDOMHTMLAnchorElement

    * @param   node   the node to convert.
    * @return   the node as an anchor element.
    * @exception   XPCOMException   if the node is not an anchor.
    */
   public static nsIDOMHTMLAnchorElement asAnchor(nsIDOMNode node) {
      nsIDOMHTMLAnchorElement anchor = (nsIDOMHTMLAnchorElement) node.queryInterface(nsIDOMHTMLAnchorElement.NS_IDOMHTMLANCHORELEMENT_IID);
      return anchor;
      }
View Full Code Here

Examples of org.mozilla.interfaces.nsIDOMHTMLAnchorElement

    * Query the {@code nsIDOMHTMLAnchorElement} interface from the node.
    * @param   node   the node to convert.
    * @exception   XPCOMException   if the node is not an anchor.
    */
   public static nsIDOMHTMLAnchorElement asAnchor(nsIDOMNode node) {
      nsIDOMHTMLAnchorElement anchor = (nsIDOMHTMLAnchorElement) node.queryInterface(nsIDOMHTMLAnchorElement.NS_IDOMHTMLANCHORELEMENT_IID);
      return anchor;
      }
View Full Code Here

Examples of org.mozilla.interfaces.nsIDOMHTMLAnchorElement

    * Query the {@code nsIDOMHTMLAnchorElement} interface from the node.
    * @param   node   the node to convert.
    * @exception   XPCOMException   if the node is not an anchor.
    */
   public static nsIDOMHTMLAnchorElement asAnchor(nsIDOMNode node) {
      nsIDOMHTMLAnchorElement anchor = (nsIDOMHTMLAnchorElement) node.queryInterface(nsIDOMHTMLAnchorElement.NS_IDOMHTMLANCHORELEMENT_IID);
      return anchor;
      }
View Full Code Here

Examples of org.mozilla.interfaces.nsIDOMHTMLAnchorElement

    * Query the {@code nsIDOMHTMLAnchorElement} interface from the node.
    * @param   node   the node to convert.
    * @exception   XPCOMException   if the node is not an anchor.
    */
   public static nsIDOMHTMLAnchorElement asAnchor(nsIDOMNode node) {
      nsIDOMHTMLAnchorElement anchor = (nsIDOMHTMLAnchorElement) node.queryInterface(nsIDOMHTMLAnchorElement.NS_IDOMHTMLANCHORELEMENT_IID);
      return anchor;
      }
View Full Code Here

Examples of org.mozilla.interfaces.nsIDOMHTMLAnchorElement

    * @param   node   the node to convert.
    * @return   the node as an anchor element.
    * @exception   XPCOMException   if the node is not an anchor.
    */
   public static nsIDOMHTMLAnchorElement asAnchor(nsIDOMNode node) {
      nsIDOMHTMLAnchorElement anchor = (nsIDOMHTMLAnchorElement) node.queryInterface(nsIDOMHTMLAnchorElement.NS_IDOMHTMLANCHORELEMENT_IID);
      return anchor;
      }
View Full Code Here

Examples of org.mozilla.interfaces.nsIDOMHTMLAnchorElement

      List<nsIDOMNode> anchors = this.selector()
                                     .add(Filters.element("a"))
                                     .add(Filters.attribute("class", "tab"))
                                     .list();
      for (nsIDOMNode node : anchors) {
         nsIDOMHTMLAnchorElement anchor = asAnchor(node);
         String text = this.exploreAnchor(anchor);
         System.out.println("* Menu is " + text);
         }
      }
View Full Code Here

Examples of org.mozilla.interfaces.nsIDOMHTMLAnchorElement

      List<nsIDOMNode> anchors = this.selector()
                                     .element("a")
                                     .attribute("class", "tab")
                                     .list();
      for (nsIDOMNode node : anchors) {
         nsIDOMHTMLAnchorElement anchor = asAnchor(node);
         String text = this.exploreAnchor(anchor);
         System.out.println("* Menu is " + text);
         }
      }
View Full Code Here

Examples of org.mozilla.interfaces.nsIDOMHTMLAnchorElement

      inspect(div);

      System.out.println("=== Listing the menu ===");
      nsIDOMNodeList anchors = div.getElementsByTagName("a");
      for (long i = 0, len = anchors.getLength(); i < len; i++) {
         nsIDOMHTMLAnchorElement anchor = asAnchor(anchors.item(i));
         String text = this.exploreTableCell(anchor);
         System.out.println("Menu #" + (i+1) + " is " + text);
         }
      }
View Full Code Here

Examples of org.mozilla.interfaces.nsIDOMHTMLAnchorElement

    * Query the {@code nsIDOMHTMLAnchorElement} interface from the node.
    * @param   node   the node to convert.
    * @exception   XPCOMException   if the node is not an anchor.
    */
   public static nsIDOMHTMLAnchorElement asAnchor(nsIDOMNode node) {
      nsIDOMHTMLAnchorElement anchor = (nsIDOMHTMLAnchorElement) node.queryInterface(nsIDOMHTMLAnchorElement.NS_IDOMHTMLANCHORELEMENT_IID);
      return anchor;
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.