Package org.encog.bot.browse.range

Examples of org.encog.bot.browse.range.Div


   *            The index to begin at.
   * @param tag
   *            The beginning div tag.
   */
  private void loadDiv(final int index, final Tag tag) {
    final Div div = new Div(this.page);
    final String classAttribute = tag.getAttributeValue("class");
    final String idAttribute = tag.getAttributeValue("id");

    div.setIdAttribute(idAttribute);
    div.setClassAttribute(classAttribute);
    div.setBegin(index);
    div.setEnd(findEndTag(index + 1, tag));
    addHierarchyElement(div);
  }
View Full Code Here


   *            The index to begin at.
   * @param tag
   *            The beginning div tag.
   */
  private void loadDiv(final int index, final Tag tag) {
    final Div div = new Div(this.page);
    final String classAttribute = tag.getAttributeValue("class");
    final String idAttribute = tag.getAttributeValue("id");

    div.setIdAttribute(idAttribute);
    div.setClassAttribute(classAttribute);
    div.setBegin(index);
    div.setEnd(findEndTag(index + 1, tag));
    addHierarchyElement(div);
  }
View Full Code Here

TOP

Related Classes of org.encog.bot.browse.range.Div

Copyright © 2018 www.massapicom. 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.