org.apache.droids.parse.html
Class 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

Version:
1.0

Field Summary
 
Fields inherited from class org.apache.droids.helper.Loggable
log
 
Constructor Summary
HtmlParser()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getElements()
           
 Parse parse(ContentEntity entity, Link newLink)
          Creates the parse for some content.
 void setElements(java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.String> getElements()

setElements

public void setElements(java.util.Map<java.lang.String,java.lang.String> elements)

parse

public Parse parse(ContentEntity entity,
                   Link newLink)
            throws DroidsException,
                   java.io.IOException
Description copied from interface: Parser
Creates the parse for some content.

Specified by:
parse in interface Parser
Parameters:
entity - the underlying stream we are using
newLink - the link that correspond to the stream
Returns:
the parse object
Throws:
DroidsException
java.io.IOException


Copyright © 2007-2009. All Rights Reserved.