org.w3c.tidy
Class Configuration

java.lang.Object
  |
  +--org.w3c.tidy.Configuration
All Implemented Interfaces:
java.io.Serializable

public class Configuration
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.lang.String altText
           
static int ASCII
           
protected  boolean BreakBeforeBR
           
protected  boolean BurstSlides
           
protected  int CharEncoding
           
static int DOCTYPE_AUTO
           
static int DOCTYPE_LOOSE
           
static int DOCTYPE_OMIT
           
static int DOCTYPE_STRICT
           
static int DOCTYPE_USER
           
protected  int docTypeMode
           
protected  java.lang.String docTypeStr
           
protected  boolean DropEmptyParas
           
protected  boolean DropFontTags
           
protected  boolean Emacs
           
protected  boolean EncloseBlockText
           
protected  boolean EncloseBodyText
           
protected  java.lang.String errfile
           
protected  boolean FixBackslash
           
protected  boolean FixComments
           
protected  boolean HideEndTags
           
protected  boolean IndentAttributes
           
protected  boolean IndentContent
           
static int ISO2022
           
protected  boolean KeepFileTimes
           
static int LATIN1
           
protected  boolean LiteralAttribs
           
protected  boolean LogicalEmphasis
           
static int MACROMAN
           
protected  boolean MakeClean
           
protected  boolean NumEntities
           
protected  boolean OnlyErrors
           
protected  boolean Quiet
           
protected  boolean QuoteAmpersand
           
protected  boolean QuoteMarks
           
protected  boolean QuoteNbsp
           
static int RAW
           
protected  boolean RawOut
           
protected  boolean ShowWarnings
           
protected  java.lang.String slidestyle
           
protected  boolean SmartIndent
           
protected  int spaces
           
protected  int tabsize
           
protected  boolean TidyMark
           
protected  TagTable tt
           
protected  boolean UpperCaseAttrs
           
protected  boolean UpperCaseTags
           
static int UTF8
           
protected  boolean Word2000
           
protected  boolean WrapAsp
           
protected  boolean WrapAttVals
           
protected  boolean WrapJste
           
protected  int wraplen
           
protected  boolean WrapPhp
           
protected  boolean WrapScriptlets
           
protected  boolean WrapSection
           
protected  boolean writeback
           
protected  boolean xHTML
           
protected  boolean XmlOut
           
protected  boolean XmlPi
           
protected  boolean XmlPIs
           
protected  boolean XmlSpace
           
protected  boolean XmlTags
           
 
Constructor Summary
Configuration()
           
 
Method Summary
 void addProps(java.util.Properties p)
           
 void adjust()
           
protected  java.lang.String parseDocType(java.lang.String s, java.lang.String option)
           
 void parseFile(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RAW

public static final int RAW

ASCII

public static final int ASCII

LATIN1

public static final int LATIN1

UTF8

public static final int UTF8

ISO2022

public static final int ISO2022

MACROMAN

public static final int MACROMAN

DOCTYPE_OMIT

public static final int DOCTYPE_OMIT

DOCTYPE_AUTO

public static final int DOCTYPE_AUTO

DOCTYPE_STRICT

public static final int DOCTYPE_STRICT

DOCTYPE_LOOSE

public static final int DOCTYPE_LOOSE

DOCTYPE_USER

public static final int DOCTYPE_USER

spaces

protected int spaces

wraplen

protected int wraplen

CharEncoding

protected int CharEncoding

tabsize

protected int tabsize

docTypeMode

protected int docTypeMode

altText

protected java.lang.String altText

slidestyle

protected java.lang.String slidestyle

docTypeStr

protected java.lang.String docTypeStr

errfile

protected java.lang.String errfile

writeback

protected boolean writeback

OnlyErrors

protected boolean OnlyErrors

ShowWarnings

protected boolean ShowWarnings

Quiet

protected boolean Quiet

IndentContent

protected boolean IndentContent

SmartIndent

protected boolean SmartIndent

HideEndTags

protected boolean HideEndTags

XmlTags

protected boolean XmlTags

XmlOut

protected boolean XmlOut

xHTML

protected boolean xHTML

XmlPi

protected boolean XmlPi

RawOut

protected boolean RawOut

UpperCaseTags

protected boolean UpperCaseTags

UpperCaseAttrs

protected boolean UpperCaseAttrs

MakeClean

protected boolean MakeClean

LogicalEmphasis

protected boolean LogicalEmphasis

DropFontTags

protected boolean DropFontTags

DropEmptyParas

protected boolean DropEmptyParas

FixComments

protected boolean FixComments

BreakBeforeBR

protected boolean BreakBeforeBR

BurstSlides

protected boolean BurstSlides

NumEntities

protected boolean NumEntities

QuoteMarks

protected boolean QuoteMarks

QuoteNbsp

protected boolean QuoteNbsp

QuoteAmpersand

protected boolean QuoteAmpersand

WrapAttVals

protected boolean WrapAttVals

WrapScriptlets

protected boolean WrapScriptlets

WrapSection

protected boolean WrapSection

WrapAsp

protected boolean WrapAsp

WrapJste

protected boolean WrapJste

WrapPhp

protected boolean WrapPhp

FixBackslash

protected boolean FixBackslash

IndentAttributes

protected boolean IndentAttributes

XmlPIs

protected boolean XmlPIs

XmlSpace

protected boolean XmlSpace

EncloseBodyText

protected boolean EncloseBodyText

EncloseBlockText

protected boolean EncloseBlockText

KeepFileTimes

protected boolean KeepFileTimes

Word2000

protected boolean Word2000

TidyMark

protected boolean TidyMark

Emacs

protected boolean Emacs

LiteralAttribs

protected boolean LiteralAttribs

tt

protected TagTable tt
Constructor Detail

Configuration

public Configuration()
Method Detail

addProps

public void addProps(java.util.Properties p)

parseFile

public void parseFile(java.lang.String filename)

adjust

public void adjust()

parseDocType

protected java.lang.String parseDocType(java.lang.String s,
                                        java.lang.String option)