Package org.encog.bot.browse.range

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


   * @param tag
   *            The beginning tag.
   */

  private void loadSpan(final int index, final Tag tag) {
    final Span span = new Span(this.page);
    final String classAttribute = tag.getAttributeValue("class");
    final String idAttribute = tag.getAttributeValue("id");

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


   * @param tag
   *            The beginning tag.
   */

  private void loadSpan(final int index, final Tag tag) {
    final Span span = new Span(this.page);
    final String classAttribute = tag.getAttributeValue("class");
    final String idAttribute = tag.getAttributeValue("id");

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

TOP

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

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.