org.codehaus.xsite.extractors
Class SiteMeshPageExtractor

java.lang.Object
  extended byorg.codehaus.xsite.extractors.SiteMeshPageExtractor
All Implemented Interfaces:
PageExtractor

public class SiteMeshPageExtractor
extends Object
implements PageExtractor

PageExtractor which extract page information from an HTML file using the SiteMesh library.

Author:
Joe Walnes, Jörg Schaible

Nested Class Summary
static class SiteMeshPageExtractor.CannotParsePageException
           
 
Constructor Summary
SiteMeshPageExtractor()
           
SiteMeshPageExtractor(com.opensymphony.module.sitemesh.html.TagRule[] rules, com.opensymphony.module.sitemesh.html.TextFilter[] filter, FileSystem fileSystem)
           
 
Method Summary
 Page extractPage(File htmlFile)
           
 Page extractPage(String filename, String htmlContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteMeshPageExtractor

public SiteMeshPageExtractor()

SiteMeshPageExtractor

public SiteMeshPageExtractor(com.opensymphony.module.sitemesh.html.TagRule[] rules,
                             com.opensymphony.module.sitemesh.html.TextFilter[] filter,
                             FileSystem fileSystem)
Method Detail

extractPage

public Page extractPage(File htmlFile)
Specified by:
extractPage in interface PageExtractor

extractPage

public Page extractPage(String filename,
                        String htmlContent)
Specified by:
extractPage in interface PageExtractor


Copyright © {inceptionYear}-2007 null. All Rights Reserved.