org.apache.any23.extractor.html
Class HTMLFixture
java.lang.Object
org.apache.any23.extractor.html.HTMLFixture
public class HTMLFixture
- extends Object
This class is a wrapper around an HTML document providing a simply facade.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLFixture
public HTMLFixture(String filename)
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.