org.apache.any23.extractor.html
Class HTMLFixture

java.lang.Object
  extended by org.apache.any23.extractor.html.HTMLFixture

public class HTMLFixture
extends Object

This class is a wrapper around an HTML document providing a simply facade.


Constructor Summary
HTMLFixture(String filename)
           
 
Method Summary
 Node getDOM()
           
 org.apache.any23.extractor.html.HTMLDocument getHTMLDocument()
           
 org.apache.any23.source.DocumentSource getOpener(String baseURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLFixture

public HTMLFixture(String filename)
Method Detail

getOpener

public org.apache.any23.source.DocumentSource getOpener(String baseURI)

getDOM

public Node getDOM()
Returns:
the DOM root Node of the whole document.

getHTMLDocument

public org.apache.any23.extractor.html.HTMLDocument getHTMLDocument()
Returns:
an HTMLDocument object of the whole HTML document.


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.