# Serialized Form

## Package org.w3c.tidy

### Class org.w3c.tidy.Configuration

class Configuration extends Object implements Serializable

serialVersionUID:
  -4955155037138560842L

#### Serialized Fields

##### altText

    String altText

default text for alt attribute.

##### asciiChars

    boolean asciiChars

convert quotes and dashes to nearest ASCII char.

##### bodyOnly

    boolean bodyOnly

output BODY content only.

##### breakBeforeBR

    boolean breakBeforeBR

o/p newline before br or not?

##### burstSlides

    boolean burstSlides

create slides on each h2 element.

##### cssPrefix

    String cssPrefix

CSS class naming for -clean option.

##### definedTags

    int definedTags

track what types of tags user has defined to eliminate unnecessary searches.

##### docTypeMode

    int docTypeMode

see doctype property.

##### docTypeStr

    String docTypeStr

user specified doctype.

##### dropEmptyParas

    boolean dropEmptyParas

discard empty p elements.

##### dropFontTags

    boolean dropFontTags

discard presentation tags.

##### dropProprietaryAttributes

    boolean dropProprietaryAttributes

discard proprietary attributes.

##### duplicateAttrs

    int duplicateAttrs

Keep first or last duplicate attribute.

##### emacs

    boolean emacs

if true format error output for GNU Emacs.

##### encloseBlockText

    boolean encloseBlockText

if yes text in blocks is wrapped in p's.

##### encloseBodyText

    boolean encloseBodyText

if yes text at body is wrapped in p's.

##### ENCODING_NAMES

    String[] ENCODING_NAMES

Convert from deprecated tidy encoding constant to standard java encoding name.

##### errfile

    String errfile

file name to write errors to.

##### escapeCdata

    boolean escapeCdata

replace CDATA sections with escaped text.

##### fixBackslash

    boolean fixBackslash

fix URLs by replacing \ with /.

##### fixComments

    boolean fixComments

fix comments with adjacent hyphens.

##### fixUri

    boolean fixUri

properly escape URLs.

##### forceOutput

    boolean forceOutput

output document even if errors were found.

##### hideComments

    boolean hideComments

hides all (real) comments in output.

##### hideEndTags

    boolean hideEndTags

suppress optional end tags.

##### htmlOut

    boolean htmlOut

output plain-old HTML, even for XHTML input. Yes means set explicitly.

##### inCharEncoding

    String inCharEncoding

Input character encoding (defaults to "ISO8859_1").

##### indentAttributes

    boolean indentAttributes

newline+indent before each attribute.

##### indentCdata

    boolean indentCdata

indent CDATA sections.

##### indentContent

    boolean indentContent

indent content of appropriate tags.

##### joinClasses

    boolean joinClasses

join multiple class attributes.

##### joinStyles

    boolean joinStyles

join multiple style attributes.

##### keepFileTimes

    boolean keepFileTimes

if yes last modied time is preserved.

##### language

    String language

RJ language property.

##### literalAttribs

    boolean literalAttribs

if true attributes may use newlines.

##### logicalEmphasis

    boolean logicalEmphasis

replace i by em and b by strong.

##### lowerLiterals

    boolean lowerLiterals

folds known attribute values to lower case.

##### makeBare

    boolean makeBare

Make bare HTML: remove Microsoft cruft.

##### makeClean

    boolean makeClean

remove presentational clutter.

##### ncr

    boolean ncr

allow numeric character references.

##### newline

    char[] newline

bytes for the newline marker.

##### numEntities

    boolean numEntities

use numeric entities.

##### onlyErrors

    boolean onlyErrors

if true normal output is suppressed.

##### outCharEncoding

    String outCharEncoding

Output character encoding (defaults to "ASCII").

##### quiet

    boolean quiet

no 'Parsing X', guessed DTD or summary.

##### quoteAmpersand

    boolean quoteAmpersand

output naked ampersand as &.

##### quoteMarks

    boolean quoteMarks

output " marks as ".

##### quoteNbsp

    boolean quoteNbsp

output non-breaking space as entity.

##### rawOut

    boolean rawOut

Avoid mapping values > 127 to entities.

##### replaceColor

    boolean replaceColor

replace hex color attribute values with names.

##### replacementCharEncoding

    String replacementCharEncoding

char encoding used when replacing illegal SGML chars, regardless of specified encoding.

##### report

    Report report

Report instance. Used for messages.

##### showErrors

    int showErrors

number of errors to put out.

##### showWarnings

    boolean showWarnings

however errors are always shown.

##### slidestyle

    String slidestyle

Deprecated.
does nothing
style sheet for slides.

##### smartIndent

    boolean smartIndent

does text/block level content effect indentation.

##### spaces

    int spaces

default indentation.

##### tabsize

    int tabsize

default tab size (8).

##### tidyMark

    boolean tidyMark

add meta element indicating tidied doc.

##### trimEmpty

    boolean trimEmpty

trim empty elements.

##### tt

    TagTable tt

TagTable associated with this Configuration.

##### upperCaseAttrs

    boolean upperCaseAttrs

output attributes in upper not lower case.

##### upperCaseTags

    boolean upperCaseTags

output tags in upper not lower case.

##### word2000

    boolean word2000

draconian cleaning for Word2000.

##### wrapAsp

    boolean wrapAsp

wrap within ASP pseudo elements.

##### wrapAttVals

    boolean wrapAttVals

wrap within attribute values.

##### wrapJste

    boolean wrapJste

wrap within JSTE pseudo elements.

##### wraplen

    int wraplen

default wrap margin (68).

##### wrapPhp

    boolean wrapPhp

wrap within PHP pseudo elements.

##### wrapScriptlets

    boolean wrapScriptlets

wrap within JavaScript string literals.

##### wrapSection

    boolean wrapSection

wrap within CDATA section tags.

##### writeback

    boolean writeback

if true then output tidied markup.

##### xHTML

    boolean xHTML

output extensible HTML.

##### xmlOut

    boolean xmlOut

create output as XML.

##### xmlPi

    boolean xmlPi

add `<?xml?>` for XML docs.

##### xmlPIs

    boolean xmlPIs

If set to yes PIs must end with `?>`.

##### xmlSpace

    boolean xmlSpace

if set to yes adds xml:space attr as needed.

##### xmlTags

    boolean xmlTags

treat input as XML.

### Class org.w3c.tidy.Tidy

class Tidy extends Object implements Serializable

serialVersionUID:
  -2794371560623987718L

#### Serialized Fields

##### configuration

    Configuration configuration

##### errout

    PrintWriter errout

Error output stream.

##### inputStreamName

    String inputStreamName

##### parseErrors

    int parseErrors

##### parseWarnings

    int parseWarnings

##### report

    Report report

##### stderr

    PrintWriter stderr