|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.xml.XTidy
public class XTidy
A wrapper for JTidy, to be used in cleaning up XML content.
Tidy| Constructor Summary | |
|---|---|
XTidy()
Default constructor for XTidy. |
|
| Method Summary | |
|---|---|
void |
initErrorWriter()
Creates a PrintWriter to capture errors and warnings from JTidy. |
Document |
tidyDocument(InputStream docSource)
Provided with an InputStream representing a Document, cleans and returns a DOM Document object, sending errors to the MessageHandler er. |
org.w3c.tidy.Node |
tidyNode(InputStream nodeSource)
Provided with an InputStream representing a Node, cleans and returns a DOM Node object, sending errors to the MessageHandler er. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XTidy()
| Method Detail |
|---|
public void initErrorWriter()
public org.w3c.tidy.Node tidyNode(InputStream nodeSource)
nodeSource - the incoming Node to be cleaned.
public Document tidyDocument(InputStream docSource)
docSource - an InputStream containing the incoming Document to be cleaned.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||