Java Doc for Tidy.java in  » Groupware » hipergate » org » w3c » tidy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Groupware » hipergate » org.w3c.tidy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.w3c.tidy.Tidy

Tidy
public class Tidy implements java.io.Serializable(Code)

HTML parser and pretty printer

(c) 1998-2000 (W3C) MIT, INRIA, Keio University See Tidy.java for the copyright notice. Derived from HTML Tidy Release 4 Aug 2000

Copyright (c) 1998-2000 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved.

Contributing Author(s):
Dave Raggett
Andy Quick (translation to Java)

The contributing author(s) would like to thank all those who helped with testing, bug fixes, and patience. This wouldn't have been possible without all of you.

COPYRIGHT NOTICE:
This software and documentation is provided "as is," and the copyright holders and contributing author(s) make no representations or warranties, express or implied, including but not limited to, warranties of merchantability or fitness for any particular purpose or that the use of the software or documentation will not infringe any third party patents, copyrights, trademarks or other rights.

The copyright holders and contributing author(s) will not be liable for any direct, indirect, special or consequential damages arising out of any use of the software or documentation, even if advised of the possibility of such damage.

Permission is hereby granted to use, copy, modify, and distribute this source code, or portions hereof, documentation and executables, for any purpose, without fee, subject to the following restrictions:

  1. The origin of this source code must not be misrepresented.
  2. Altered versions must be plainly marked as such and must not be misrepresented as being the original source.
  3. This Copyright notice may not be removed or altered from any source or altered source distribution.

The copyright holders and contributing author(s) specifically permit, without fee, and encourage the use of this source code as a component for supporting the Hypertext Markup Language in commercial products. If you use this source code in a product, acknowledgment is not required but would be appreciated.


author:
   Dave Raggett
author:
   Andy Quick (translation to Java)
version:
   1.0, 1999/05/22
version:
   1.0.1, 1999/05/29
version:
   1.1, 1999/06/18 Java Bean
version:
   1.2, 1999/07/10 Tidy Release 7 Jul 1999
version:
   1.3, 1999/07/30 Tidy Release 26 Jul 1999
version:
   1.4, 1999/09/04 DOM support
version:
   1.5, 1999/10/23 Tidy Release 27 Sep 1999
version:
   1.6, 1999/11/01 Tidy Release 22 Oct 1999
version:
   1.7, 1999/12/06 Tidy Release 30 Nov 1999
version:
   1.8, 2000/01/22 Tidy Release 13 Jan 2000
version:
   1.9, 2000/06/03 Tidy Release 30 Apr 2000
version:
   1.10, 2000/07/22 Tidy Release 8 Jul 2000
version:
   1.11, 2000/08/16 Tidy Release 4 Aug 2000


Field Summary
final static  longserialVersionUID
    

Constructor Summary
public  Tidy()
    

Method Summary
public static  org.w3c.dom.DocumentcreateEmptyDocument()
     Creates an empty DOM Document.
public  StringgetAltText()
    
public  booleangetBreakBeforeBR()
    
public  booleangetBurstSlides()
    
public  intgetCharEncoding()
    
public  ConfigurationgetConfiguration()
    
public  StringgetDocType()
    
public  booleangetDropEmptyParas()
    
public  booleangetDropFontTags()
    
public  booleangetEmacs()
    
public  booleangetEncloseBlockText()
    
public  booleangetEncloseText()
    
public  StringgetErrfile()
    
public  PrintWritergetErrout()
    
public  booleangetFixBackslash()
    
public  booleangetFixComments()
    
public  booleangetHideEndTags()
    
public  booleangetIndentAttributes()
    
public  booleangetIndentContent()
    
public  StringgetInputStreamName()
    
public  booleangetKeepFileTimes()
    
public  booleangetLiteralAttribs()
    
public  booleangetLogicalEmphasis()
    
public  booleangetMakeClean()
    
public  booleangetNumEntities()
    
public  booleangetOnlyErrors()
    
public  intgetParseErrors()
    
public  intgetParseWarnings()
    
public  booleangetQuiet()
    
public  booleangetQuoteAmpersand()
    
public  booleangetQuoteMarks()
    
public  booleangetQuoteNbsp()
    
public  booleangetRawOut()
    
public  booleangetShowWarnings()
    
public  StringgetSlidestyle()
    
public  booleangetSmartIndent()
    
public  intgetSpaces()
    
public  PrintWritergetStderr()
    
public  intgetTabsize()
    
public  booleangetTidyMark()
    
public  booleangetUpperCaseAttrs()
    
public  booleangetUpperCaseTags()
    
public  booleangetWord2000()
    
public  booleangetWrapAsp()
    
public  booleangetWrapAttVals()
    
public  booleangetWrapJste()
    
public  booleangetWrapPhp()
    
public  booleangetWrapScriptlets()
    
public  booleangetWrapSection()
    
public  intgetWraplen()
    
public  booleangetWriteback()
    
public  booleangetXHTML()
    
public  booleangetXmlOut()
    
public  booleangetXmlPIs()
    
public  booleangetXmlPi()
    
public  booleangetXmlSpace()
    
public  booleangetXmlTags()
    
public static  voidmain(String[] argv)
     Command line interface to parser and pretty printer.
public  Nodeparse(InputStream in, OutputStream out)
     Parses InputStream in and returns the root Node.
public  org.w3c.dom.DocumentparseDOM(InputStream in, OutputStream out)
     Parses InputStream in and returns a DOM Document node.
public  voidpprint(org.w3c.dom.Document doc, OutputStream out)
     Pretty-prints a DOM Document.
public  voidsetAltText(String altText)
    
public  voidsetBreakBeforeBR(boolean BreakBeforeBR)
    
public  voidsetBurstSlides(boolean BurstSlides)
    
public  voidsetCharEncoding(int charencoding)
    
public  voidsetConfigurationFromFile(String filename)
     Sets the configuration from a configuration file.
public  voidsetConfigurationFromProps(Properties props)
     Sets the configuration from a properties object.
public  voidsetDocType(String doctype)
     DocType - user specified doctype omit | auto | strict | loose | fpi where the fpi is a string similar to "-//ACME//DTD HTML 3.14159//EN" Note: for fpi include the double-quotes in the string.
public  voidsetDropEmptyParas(boolean DropEmptyParas)
    
public  voidsetDropFontTags(boolean DropFontTags)
    
public  voidsetEmacs(boolean Emacs)
    
public  voidsetEncloseBlockText(boolean EncloseBlockText)
    
public  voidsetEncloseText(boolean EncloseText)
    
public  voidsetErrfile(String errfile)
    
public  voidsetErrout(PrintWriter errout)
    
public  voidsetFixBackslash(boolean FixBackslash)
    
public  voidsetFixComments(boolean FixComments)
    
public  voidsetHideEndTags(boolean HideEndTags)
    
public  voidsetIndentAttributes(boolean IndentAttributes)
    
public  voidsetIndentContent(boolean IndentContent)
    
public  voidsetInputStreamName(String name)
     InputStreamName - the name of the input stream (printed in the header information).
public  voidsetKeepFileTimes(boolean KeepFileTimes)
    
public  voidsetLiteralAttribs(boolean LiteralAttribs)
    
public  voidsetLogicalEmphasis(boolean LogicalEmphasis)
    
public  voidsetMakeClean(boolean MakeClean)
    
public  voidsetNumEntities(boolean NumEntities)
    
public  voidsetOnlyErrors(boolean OnlyErrors)
    
public  voidsetQuiet(boolean Quiet)
    
public  voidsetQuoteAmpersand(boolean QuoteAmpersand)
    
public  voidsetQuoteMarks(boolean QuoteMarks)
    
public  voidsetQuoteNbsp(boolean QuoteNbsp)
    
public  voidsetRawOut(boolean RawOut)
    
public  voidsetShowWarnings(boolean ShowWarnings)
    
public  voidsetSlidestyle(String slidestyle)
    
public  voidsetSmartIndent(boolean SmartIndent)
    
public  voidsetSpaces(int spaces)
    
public  voidsetTabsize(int tabsize)
    
public  voidsetTidyMark(boolean TidyMark)
    
public  voidsetUpperCaseAttrs(boolean UpperCaseAttrs)
    
public  voidsetUpperCaseTags(boolean UpperCaseTags)
    
public  voidsetWord2000(boolean Word2000)
    
public  voidsetWrapAsp(boolean WrapAsp)
    
public  voidsetWrapAttVals(boolean WrapAttVals)
    
public  voidsetWrapJste(boolean WrapJste)
    
public  voidsetWrapPhp(boolean WrapPhp)
    
public  voidsetWrapScriptlets(boolean WrapScriptlets)
    
public  voidsetWrapSection(boolean WrapSection)
     WrapSection - wrap within <![ ...
public  voidsetWraplen(int wraplen)
    
public  voidsetWriteback(boolean writeback)
     Writeback - if true then output tidied markup NOTE: this property is ignored when parsing from an InputStream.
public  voidsetXHTML(boolean xHTML)
    
public  voidsetXmlOut(boolean XmlOut)
    
public  voidsetXmlPIs(boolean XmlPIs)
    
public  voidsetXmlPi(boolean XmlPi)
    
public  voidsetXmlSpace(boolean XmlSpace)
    
public  voidsetXmlTags(boolean XmlTags)
    

Field Detail
serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
Tidy
public Tidy()(Code)




Method Detail
createEmptyDocument
public static org.w3c.dom.Document createEmptyDocument()(Code)
Creates an empty DOM Document.



getAltText
public String getAltText()(Code)



getBreakBeforeBR
public boolean getBreakBeforeBR()(Code)



getBurstSlides
public boolean getBurstSlides()(Code)



getCharEncoding
public int getCharEncoding()(Code)



getConfiguration
public Configuration getConfiguration()(Code)



getDocType
public String getDocType()(Code)



getDropEmptyParas
public boolean getDropEmptyParas()(Code)



getDropFontTags
public boolean getDropFontTags()(Code)



getEmacs
public boolean getEmacs()(Code)



getEncloseBlockText
public boolean getEncloseBlockText()(Code)



getEncloseText
public boolean getEncloseText()(Code)



getErrfile
public String getErrfile()(Code)



getErrout
public PrintWriter getErrout()(Code)
Errout - the error output stream



getFixBackslash
public boolean getFixBackslash()(Code)



getFixComments
public boolean getFixComments()(Code)



getHideEndTags
public boolean getHideEndTags()(Code)



getIndentAttributes
public boolean getIndentAttributes()(Code)



getIndentContent
public boolean getIndentContent()(Code)



getInputStreamName
public String getInputStreamName()(Code)



getKeepFileTimes
public boolean getKeepFileTimes()(Code)



getLiteralAttribs
public boolean getLiteralAttribs()(Code)



getLogicalEmphasis
public boolean getLogicalEmphasis()(Code)



getMakeClean
public boolean getMakeClean()(Code)



getNumEntities
public boolean getNumEntities()(Code)



getOnlyErrors
public boolean getOnlyErrors()(Code)



getParseErrors
public int getParseErrors()(Code)
ParseErrors - the number of errors that occurred in the most recent parse operation



getParseWarnings
public int getParseWarnings()(Code)
ParseWarnings - the number of warnings that occurred in the most recent parse operation



getQuiet
public boolean getQuiet()(Code)



getQuoteAmpersand
public boolean getQuoteAmpersand()(Code)



getQuoteMarks
public boolean getQuoteMarks()(Code)



getQuoteNbsp
public boolean getQuoteNbsp()(Code)



getRawOut
public boolean getRawOut()(Code)



getShowWarnings
public boolean getShowWarnings()(Code)



getSlidestyle
public String getSlidestyle()(Code)



getSmartIndent
public boolean getSmartIndent()(Code)



getSpaces
public int getSpaces()(Code)



getStderr
public PrintWriter getStderr()(Code)



getTabsize
public int getTabsize()(Code)



getTidyMark
public boolean getTidyMark()(Code)



getUpperCaseAttrs
public boolean getUpperCaseAttrs()(Code)



getUpperCaseTags
public boolean getUpperCaseTags()(Code)



getWord2000
public boolean getWord2000()(Code)



getWrapAsp
public boolean getWrapAsp()(Code)



getWrapAttVals
public boolean getWrapAttVals()(Code)



getWrapJste
public boolean getWrapJste()(Code)



getWrapPhp
public boolean getWrapPhp()(Code)



getWrapScriptlets
public boolean getWrapScriptlets()(Code)



getWrapSection
public boolean getWrapSection()(Code)



getWraplen
public int getWraplen()(Code)



getWriteback
public boolean getWriteback()(Code)



getXHTML
public boolean getXHTML()(Code)



getXmlOut
public boolean getXmlOut()(Code)



getXmlPIs
public boolean getXmlPIs()(Code)



getXmlPi
public boolean getXmlPi()(Code)



getXmlSpace
public boolean getXmlSpace()(Code)



getXmlTags
public boolean getXmlTags()(Code)



main
public static void main(String[] argv)(Code)
Command line interface to parser and pretty printer.



parse
public Node parse(InputStream in, OutputStream out)(Code)
Parses InputStream in and returns the root Node. If out is non-null, pretty prints to OutputStream out.



parseDOM
public org.w3c.dom.Document parseDOM(InputStream in, OutputStream out)(Code)
Parses InputStream in and returns a DOM Document node. If out is non-null, pretty prints to OutputStream out.



pprint
public void pprint(org.w3c.dom.Document doc, OutputStream out)(Code)
Pretty-prints a DOM Document.



setAltText
public void setAltText(String altText)(Code)
AltText - default text for alt attribute
See Also:   org.w3c.tidy.Configuration.altText



setBreakBeforeBR
public void setBreakBeforeBR(boolean BreakBeforeBR)(Code)
BreakBeforeBR - o/p newline before <br> or not?
See Also:   org.w3c.tidy.Configuration.BreakBeforeBR



setBurstSlides
public void setBurstSlides(boolean BurstSlides)(Code)
BurstSlides - create slides on each h2 element
See Also:   org.w3c.tidy.Configuration.BurstSlides



setCharEncoding
public void setCharEncoding(int charencoding)(Code)
CharEncoding
See Also:   org.w3c.tidy.Configuration.CharEncoding



setConfigurationFromFile
public void setConfigurationFromFile(String filename)(Code)
Sets the configuration from a configuration file.



setConfigurationFromProps
public void setConfigurationFromProps(Properties props)(Code)
Sets the configuration from a properties object.



setDocType
public void setDocType(String doctype)(Code)
DocType - user specified doctype omit | auto | strict | loose | fpi where the fpi is a string similar to "-//ACME//DTD HTML 3.14159//EN" Note: for fpi include the double-quotes in the string.
See Also:   org.w3c.tidy.Configuration.docTypeStr
See Also:   org.w3c.tidy.Configuration.docTypeMode



setDropEmptyParas
public void setDropEmptyParas(boolean DropEmptyParas)(Code)
DropEmptyParas - discard empty p elements
See Also:   org.w3c.tidy.Configuration.DropEmptyParas



setDropFontTags
public void setDropFontTags(boolean DropFontTags)(Code)
DropFontTags - discard presentation tags
See Also:   org.w3c.tidy.Configuration.DropFontTags



setEmacs
public void setEmacs(boolean Emacs)(Code)
Emacs - if true format error output for GNU Emacs
See Also:   org.w3c.tidy.Configuration.Emacs



setEncloseBlockText
public void setEncloseBlockText(boolean EncloseBlockText)(Code)
EncloseBlockText - if true text in blocks is wrapped in <p>'s
See Also:   org.w3c.tidy.Configuration.EncloseBlockText



setEncloseText
public void setEncloseText(boolean EncloseText)(Code)
EncloseText - if true text at body is wrapped in <p>'s
See Also:   org.w3c.tidy.Configuration.EncloseBodyText



setErrfile
public void setErrfile(String errfile)(Code)
Errfile - file name to write errors to
See Also:   org.w3c.tidy.Configuration.errfile



setErrout
public void setErrout(PrintWriter errout)(Code)



setFixBackslash
public void setFixBackslash(boolean FixBackslash)(Code)
FixBackslash - fix URLs by replacing \ with /
See Also:   org.w3c.tidy.Configuration.FixBackslash



setFixComments
public void setFixComments(boolean FixComments)(Code)
FixComments - fix comments with adjacent hyphens
See Also:   org.w3c.tidy.Configuration.FixComments



setHideEndTags
public void setHideEndTags(boolean HideEndTags)(Code)
HideEndTags - suppress optional end tags
See Also:   org.w3c.tidy.Configuration.HideEndTags



setIndentAttributes
public void setIndentAttributes(boolean IndentAttributes)(Code)
IndentAttributes - newline+indent before each attribute
See Also:   org.w3c.tidy.Configuration.IndentAttributes



setIndentContent
public void setIndentContent(boolean IndentContent)(Code)
IndentContent - indent content of appropriate tags
See Also:   org.w3c.tidy.Configuration.IndentContent



setInputStreamName
public void setInputStreamName(String name)(Code)
InputStreamName - the name of the input stream (printed in the header information).



setKeepFileTimes
public void setKeepFileTimes(boolean KeepFileTimes)(Code)
KeepFileTimes - if true last modified time is preserved
this is NOT supported at this time.
See Also:   org.w3c.tidy.Configuration.KeepFileTimes



setLiteralAttribs
public void setLiteralAttribs(boolean LiteralAttribs)(Code)
LiteralAttribs - if true attributes may use newlines
See Also:   org.w3c.tidy.Configuration.LiteralAttribs



setLogicalEmphasis
public void setLogicalEmphasis(boolean LogicalEmphasis)(Code)
LogicalEmphasis - replace i by em and b by strong
See Also:   org.w3c.tidy.Configuration.LogicalEmphasis



setMakeClean
public void setMakeClean(boolean MakeClean)(Code)
MakeClean - remove presentational clutter
See Also:   org.w3c.tidy.Configuration.MakeClean



setNumEntities
public void setNumEntities(boolean NumEntities)(Code)
NumEntities - use numeric entities
See Also:   org.w3c.tidy.Configuration.NumEntities



setOnlyErrors
public void setOnlyErrors(boolean OnlyErrors)(Code)
OnlyErrors - if true normal output is suppressed
See Also:   org.w3c.tidy.Configuration.OnlyErrors



setQuiet
public void setQuiet(boolean Quiet)(Code)
Quiet - no 'Parsing X', guessed DTD or summary
See Also:   org.w3c.tidy.Configuration.Quiet



setQuoteAmpersand
public void setQuoteAmpersand(boolean QuoteAmpersand)(Code)
QuoteAmpersand - output naked ampersand as &
See Also:   org.w3c.tidy.Configuration.QuoteAmpersand



setQuoteMarks
public void setQuoteMarks(boolean QuoteMarks)(Code)
QuoteMarks - output " marks as &quot;
See Also:   org.w3c.tidy.Configuration.QuoteMarks



setQuoteNbsp
public void setQuoteNbsp(boolean QuoteNbsp)(Code)
QuoteNbsp - output non-breaking space as entity
See Also:   org.w3c.tidy.Configuration.QuoteNbsp



setRawOut
public void setRawOut(boolean RawOut)(Code)
RawOut - avoid mapping values > 127 to entities
See Also:   org.w3c.tidy.Configuration.RawOut



setShowWarnings
public void setShowWarnings(boolean ShowWarnings)(Code)
ShowWarnings - however errors are always shown
See Also:   org.w3c.tidy.Configuration.ShowWarnings



setSlidestyle
public void setSlidestyle(String slidestyle)(Code)
Slidestyle - style sheet for slides
See Also:   org.w3c.tidy.Configuration.slidestyle



setSmartIndent
public void setSmartIndent(boolean SmartIndent)(Code)
SmartIndent - does text/block level content effect indentation
See Also:   org.w3c.tidy.Configuration.SmartIndent



setSpaces
public void setSpaces(int spaces)(Code)
Spaces - default indentation
See Also:   org.w3c.tidy.Configuration.spaces



setTabsize
public void setTabsize(int tabsize)(Code)
Tabsize
See Also:   org.w3c.tidy.Configuration.tabsize



setTidyMark
public void setTidyMark(boolean TidyMark)(Code)
TidyMark - add meta element indicating tidied doc
See Also:   org.w3c.tidy.Configuration.TidyMark



setUpperCaseAttrs
public void setUpperCaseAttrs(boolean UpperCaseAttrs)(Code)
UpperCaseAttrs - output attributes in upper not lower case
See Also:   org.w3c.tidy.Configuration.UpperCaseAttrs



setUpperCaseTags
public void setUpperCaseTags(boolean UpperCaseTags)(Code)
UpperCaseTags - output tags in upper not lower case
See Also:   org.w3c.tidy.Configuration.UpperCaseTags



setWord2000
public void setWord2000(boolean Word2000)(Code)
Word2000 - draconian cleaning for Word2000
See Also:   org.w3c.tidy.Configuration.Word2000



setWrapAsp
public void setWrapAsp(boolean WrapAsp)(Code)
WrapAsp - wrap within ASP pseudo elements
See Also:   org.w3c.tidy.Configuration.WrapAsp



setWrapAttVals
public void setWrapAttVals(boolean WrapAttVals)(Code)
WrapAttVals - wrap within attribute values
See Also:   org.w3c.tidy.Configuration.WrapAttVals



setWrapJste
public void setWrapJste(boolean WrapJste)(Code)
WrapJste - wrap within JSTE pseudo elements
See Also:   org.w3c.tidy.Configuration.WrapJste



setWrapPhp
public void setWrapPhp(boolean WrapPhp)(Code)
WrapPhp - wrap within PHP pseudo elements
See Also:   org.w3c.tidy.Configuration.WrapPhp



setWrapScriptlets
public void setWrapScriptlets(boolean WrapScriptlets)(Code)
WrapScriptlets - wrap within JavaScript string literals
See Also:   org.w3c.tidy.Configuration.WrapScriptlets



setWrapSection
public void setWrapSection(boolean WrapSection)(Code)
WrapSection - wrap within <![ ... ]> section tags
See Also:   org.w3c.tidy.Configuration.WrapSection



setWraplen
public void setWraplen(int wraplen)(Code)
Wraplen - default wrap margin
See Also:   org.w3c.tidy.Configuration.wraplen



setWriteback
public void setWriteback(boolean writeback)(Code)
Writeback - if true then output tidied markup NOTE: this property is ignored when parsing from an InputStream.
See Also:   org.w3c.tidy.Configuration.writeback



setXHTML
public void setXHTML(boolean xHTML)(Code)
XHTML - output extensible HTML
See Also:   org.w3c.tidy.Configuration.xHTML



setXmlOut
public void setXmlOut(boolean XmlOut)(Code)
XmlOut - create output as XML
See Also:   org.w3c.tidy.Configuration.XmlOut



setXmlPIs
public void setXmlPIs(boolean XmlPIs)(Code)
XmlPIs - if set to true PIs must end with ?>
See Also:   org.w3c.tidy.Configuration.XmlPIs



setXmlPi
public void setXmlPi(boolean XmlPi)(Code)
XmlPi - add <?xml?> for XML docs
See Also:   org.w3c.tidy.Configuration.XmlPi



setXmlSpace
public void setXmlSpace(boolean XmlSpace)(Code)
XmlSpace - if set to yes adds xml:space attr as needed
See Also:   org.w3c.tidy.Configuration.XmlSpace



setXmlTags
public void setXmlTags(boolean XmlTags)(Code)
XmlTags - treat input as XML
See Also:   org.w3c.tidy.Configuration.XmlTags



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.