org.jcoderz.commons.doclet
Class HtmlCleaner
java.lang.Object
org.jcoderz.commons.doclet.HtmlCleaner
public class HtmlCleaner
- extends Object
This class provides an easy interface to jTidy to clean up
html fragments as used within javadoc.
- Author:
- Andreas Mandel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlCleaner
public HtmlCleaner()
clean
public String clean(CharSequence in)
- Converts the given HTML fragment string into wellformed xhtml.
- Parameters:
in - the html fragment to be cleaned up.
- Returns:
- a cleaned up wellformed xhtml version of the in string.
getWarnings
public String getWarnings()
- Returns the warnings encountered during last clean.
- Returns:
- the warnings encountered during last clean.
hasErrors
public boolean hasErrors()
Copyright 2007 The jCoderZ Project.