org.apache.droids.parse.html
Class HtmlParser

Package class diagram package HtmlParser
java.lang.Object
  extended by org.apache.droids.helper.Loggable
      extended by org.apache.droids.parse.html.HtmlParser
All Implemented Interfaces:
Parser

public class HtmlParser
extends Loggable
implements Parser


Field Summary
 
Fields inherited from class org.apache.droids.helper.Loggable
log
 
Constructor Summary
HtmlParser()
           
 
Method Summary
 Map<String,String> getElements()
           
 Parse getParse(InputStream stream, Task newLink)
          Creates the parse for some content.
 void setElements(Map<String,String> elements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlParser

public HtmlParser()
Method Detail

getElements

public Map<String,String> getElements()

setElements

public void setElements(Map<String,String> elements)

getParse

public Parse getParse(InputStream stream,
                      Task newLink)
Description copied from interface: Parser
Creates the parse for some content.

Specified by:
getParse in interface Parser
Parameters:
stream - the underlying stream we are using
newLink - the link that correspond to the stream
Returns:
the parse object


Copyright © 2008 The Apache Software Foundation