Sidar, principal.
>>contenido
Fundación Sidar - Acceso Universal
Seminario SIDAR
Principal >> Aplicación: UAW >> Documentación de las clases java

org.w3c.tidy
Class PPrint

java.lang.Object
  |
  +--org.w3c.tidy.PPrint

public class PPrint
extends java.lang.Object

Clase de Tidy adaptada a las necesidades del paquete uaw.


Field Summary
private static short ATTRIBVALUE
private static short CDATA
private static short COMMENT
private Configuration configuration
private int count
static short EFFECT_BLEND
static short EFFECT_BOX_IN
static short EFFECT_BOX_OUT
static short EFFECT_CHK_ACROSS
static short EFFECT_CHK_DOWN
static short EFFECT_CIRCLE_IN
static short EFFECT_CIRCLE_OUT
static short EFFECT_HORZ_BLINDS
static short EFFECT_RANDOM
static short EFFECT_RND_BARS_HORZ
static short EFFECT_RND_BARS_VERT
static short EFFECT_RND_DISSOLVE
static short EFFECT_SPLIT_HORZ_IN
static short EFFECT_SPLIT_HORZ_OUT
static short EFFECT_SPLIT_VIRT_IN
static short EFFECT_SPLIT_VIRT_OUT
static short EFFECT_STRIPS_LEFT_DOWN
static short EFFECT_STRIPS_LEFT_UP
static short EFFECT_STRIPS_RIGHT_DOWN
static short EFFECT_STRIPS_RIGHT_UP
static short EFFECT_VERT_BLINDS
static short EFFECT_WIPE_DOWN
static short EFFECT_WIPE_LEFT
static short EFFECT_WIPE_RIGHT
static short EFFECT_WIPE_UP
private boolean inAttVal
private boolean InString
private int lbufsize
private int[] linebuf
private int linelen
private static short NORMAL
private static short NOWRAP
private static short PREFORMATTED
private int slide
private org.w3c.tidy.Node slidecontent
private int wraphere
Constructor Summary
PPrint (Configuration configuration)
Method Summary
private void addC (int c, int index)
void addTransitionEffect (Lexer lexer, org.w3c.tidy.Node root, short effect, double duration)
private static boolean afterSpace (org.w3c.tidy.Node node)
void condFlushLine (org.w3c.tidy.Out fout, int indent)
int countSlides (org.w3c.tidy.Node node)
void createSlides (Lexer lexer, org.w3c.tidy.Node root)
void flushLine (org.w3c.tidy.Out fout, int indent)
static int getUTF8 (byte[] str, int start, org.w3c.tidy.MutableInteger ch)
private void printAsp (org.w3c.tidy.Out fout, int indent, org.w3c.tidy.Node node)
private void printAttribute (org.w3c.tidy.Out fout, int indent, org.w3c.tidy.Node node, org.w3c.tidy.AttVal attr)
private void printAttrs (org.w3c.tidy.Out fout, int indent, org.w3c.tidy.Node node, org.w3c.tidy.AttVal attr)
private void printAttrValue (org.w3c.tidy.Out fout, int indent, java.lang.String value, int delim, boolean wrappable)
private void printCDATA (org.w3c.tidy.Out fout, int indent, org.w3c.tidy.Node node)
private void printChar (int c, short mode)
private void printComment (org.w3c.tidy.Out fout, int indent, org.w3c.tidy.Node node)
private void printDocType (org.w3c.tidy.Out fout, int indent, org.w3c.tidy.Node node)
private void printEndTag (org.w3c.tidy.Out fout, short mode, int indent, org.w3c.tidy.Node node)
private void printJste (org.w3c.tidy.Out fout, int indent, org.w3c.tidy.Node node)
private void printNavBar (org.w3c.tidy.Out fout, int indent)
private void printPhp (org.w3c.tidy.Out fout, int indent, org.w3c.tidy.Node node)
private void printPI (org.w3c.tidy.Out fout, int indent, org.w3c.tidy.Node node)
private void printSection (org.w3c.tidy.Out fout, int indent, org.w3c.tidy.Node node)
void printSlide (org.w3c.tidy.Out fout, short mode, int indent, Lexer lexer)
private void printString (org.w3c.tidy.Out fout, int indent, java.lang.String str)
private void printTag (Lexer lexer, org.w3c.tidy.Out fout, short mode, int indent, org.w3c.tidy.Node node)
private void printText (org.w3c.tidy.Out fout, short mode, int indent, byte[] textarray, int start, int end)
void printTree (org.w3c.tidy.Out fout, short mode, int indent, Lexer lexer, org.w3c.tidy.Node node)
private void printVertSpacer (org.w3c.tidy.Out fout, int indent)
void printXMLTree (org.w3c.tidy.Out fout, short mode, int indent, Lexer lexer, org.w3c.tidy.Node node)
static int putUTF8 (byte[] buf, int start, int c)
private boolean shouldIndent (org.w3c.tidy.Node node)
private void wrapAttrVal (org.w3c.tidy.Out fout, int indent, boolean inString)
private void wrapLine (org.w3c.tidy.Out fout, int indent)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

EFFECT_BLEND

public static final short EFFECT_BLEND
See Also:
Constant Field Values

EFFECT_BOX_IN

public static final short EFFECT_BOX_IN
See Also:
Constant Field Values

EFFECT_BOX_OUT

public static final short EFFECT_BOX_OUT
See Also:
Constant Field Values

EFFECT_CIRCLE_IN

public static final short EFFECT_CIRCLE_IN
See Also:
Constant Field Values

EFFECT_CIRCLE_OUT

public static final short EFFECT_CIRCLE_OUT
See Also:
Constant Field Values

EFFECT_WIPE_UP

public static final short EFFECT_WIPE_UP
See Also:
Constant Field Values

EFFECT_WIPE_DOWN

public static final short EFFECT_WIPE_DOWN
See Also:
Constant Field Values

EFFECT_WIPE_RIGHT

public static final short EFFECT_WIPE_RIGHT
See Also:
Constant Field Values

EFFECT_WIPE_LEFT

public static final short EFFECT_WIPE_LEFT
See Also:
Constant Field Values

EFFECT_VERT_BLINDS

public static final short EFFECT_VERT_BLINDS
See Also:
Constant Field Values

EFFECT_HORZ_BLINDS

public static final short EFFECT_HORZ_BLINDS
See Also:
Constant Field Values

EFFECT_CHK_ACROSS

public static final short EFFECT_CHK_ACROSS
See Also:
Constant Field Values

EFFECT_CHK_DOWN

public static final short EFFECT_CHK_DOWN
See Also:
Constant Field Values

EFFECT_RND_DISSOLVE

public static final short EFFECT_RND_DISSOLVE
See Also:
Constant Field Values

EFFECT_SPLIT_VIRT_IN

public static final short EFFECT_SPLIT_VIRT_IN
See Also:
Constant Field Values

EFFECT_SPLIT_VIRT_OUT

public static final short EFFECT_SPLIT_VIRT_OUT
See Also:
Constant Field Values

EFFECT_SPLIT_HORZ_IN

public static final short EFFECT_SPLIT_HORZ_IN
See Also:
Constant Field Values

EFFECT_SPLIT_HORZ_OUT

public static final short EFFECT_SPLIT_HORZ_OUT
See Also:
Constant Field Values

EFFECT_STRIPS_LEFT_DOWN

public static final short EFFECT_STRIPS_LEFT_DOWN
See Also:
Constant Field Values

EFFECT_STRIPS_LEFT_UP

public static final short EFFECT_STRIPS_LEFT_UP
See Also:
Constant Field Values

EFFECT_STRIPS_RIGHT_DOWN

public static final short EFFECT_STRIPS_RIGHT_DOWN
See Also:
Constant Field Values

EFFECT_STRIPS_RIGHT_UP

public static final short EFFECT_STRIPS_RIGHT_UP
See Also:
Constant Field Values

EFFECT_RND_BARS_HORZ

public static final short EFFECT_RND_BARS_HORZ
See Also:
Constant Field Values

EFFECT_RND_BARS_VERT

public static final short EFFECT_RND_BARS_VERT
See Also:
Constant Field Values

EFFECT_RANDOM

public static final short EFFECT_RANDOM
See Also:
Constant Field Values

NORMAL

private static final short NORMAL
See Also:
Constant Field Values

PREFORMATTED

private static final short PREFORMATTED
See Also:
Constant Field Values

COMMENT

private static final short COMMENT
See Also:
Constant Field Values

ATTRIBVALUE

private static final short ATTRIBVALUE
See Also:
Constant Field Values

NOWRAP

private static final short NOWRAP
See Also:
Constant Field Values

CDATA

private static final short CDATA
See Also:
Constant Field Values

linebuf

private int[] linebuf

lbufsize

private int lbufsize

linelen

private int linelen

wraphere

private int wraphere

inAttVal

private boolean inAttVal

InString

private boolean InString

slide

private int slide

count

private int count

slidecontent

private org.w3c.tidy.Node slidecontent

configuration

private Configuration configuration
Constructor Detail

PPrint

public PPrint(Configuration configuration)
Method Detail

getUTF8

public static int getUTF8(byte[] str,
                          int start,
                          org.w3c.tidy.MutableInteger ch)

putUTF8

public static int putUTF8(byte[] buf,
                          int start,
                          int c)

addC

private void addC(int c,
                  int index)

wrapLine

private void wrapLine(org.w3c.tidy.Out fout,
                      int indent)

wrapAttrVal

private void wrapAttrVal(org.w3c.tidy.Out fout,
                         int indent,
                         boolean inString)

flushLine

public void flushLine(org.w3c.tidy.Out fout,
                      int indent)

condFlushLine

public void condFlushLine(org.w3c.tidy.Out fout,
                          int indent)

printChar

private void printChar(int c,
                       short mode)

printText

private void printText(org.w3c.tidy.Out fout,
                       short mode,
                       int indent,
                       byte[] textarray,
                       int start,
                       int end)

printString

private void printString(org.w3c.tidy.Out fout,
                         int indent,
                         java.lang.String str)

printAttrValue

private void printAttrValue(org.w3c.tidy.Out fout,
                            int indent,
                            java.lang.String value,
                            int delim,
                            boolean wrappable)

printAttribute

private void printAttribute(org.w3c.tidy.Out fout,
                            int indent,
                            org.w3c.tidy.Node node,
                            org.w3c.tidy.AttVal attr)

printAttrs

private void printAttrs(org.w3c.tidy.Out fout,
                        int indent,
                        org.w3c.tidy.Node node,
                        org.w3c.tidy.AttVal attr)

afterSpace

private static boolean afterSpace(org.w3c.tidy.Node node)

printTag

private void printTag(Lexer lexer,
                      org.w3c.tidy.Out fout,
                      short mode,
                      int indent,
                      org.w3c.tidy.Node node)

printEndTag

private void printEndTag(org.w3c.tidy.Out fout,
                         short mode,
                         int indent,
                         org.w3c.tidy.Node node)

printComment

private void printComment(org.w3c.tidy.Out fout,
                          int indent,
                          org.w3c.tidy.Node node)

printDocType

private void printDocType(org.w3c.tidy.Out fout,
                          int indent,
                          org.w3c.tidy.Node node)

printPI

private void printPI(org.w3c.tidy.Out fout,
                     int indent,
                     org.w3c.tidy.Node node)

printAsp

private void printAsp(org.w3c.tidy.Out fout,
                      int indent,
                      org.w3c.tidy.Node node)

printJste

private void printJste(org.w3c.tidy.Out fout,
                       int indent,
                       org.w3c.tidy.Node node)

printPhp

private void printPhp(org.w3c.tidy.Out fout,
                      int indent,
                      org.w3c.tidy.Node node)

printCDATA

private void printCDATA(org.w3c.tidy.Out fout,
                        int indent,
                        org.w3c.tidy.Node node)

printSection

private void printSection(org.w3c.tidy.Out fout,
                          int indent,
                          org.w3c.tidy.Node node)

shouldIndent

private boolean shouldIndent(org.w3c.tidy.Node node)

printTree

public void printTree(org.w3c.tidy.Out fout,
                      short mode,
                      int indent,
                      Lexer lexer,
                      org.w3c.tidy.Node node)

printXMLTree

public void printXMLTree(org.w3c.tidy.Out fout,
                         short mode,
                         int indent,
                         Lexer lexer,
                         org.w3c.tidy.Node node)

countSlides

public int countSlides(org.w3c.tidy.Node node)

printVertSpacer

private void printVertSpacer(org.w3c.tidy.Out fout,
                             int indent)

printNavBar

private void printNavBar(org.w3c.tidy.Out fout,
                         int indent)

printSlide

public void printSlide(org.w3c.tidy.Out fout,
                       short mode,
                       int indent,
                       Lexer lexer)

addTransitionEffect

public void addTransitionEffect(Lexer lexer,
                                org.w3c.tidy.Node root,
                                short effect,
                                double duration)

createSlides

public void createSlides(Lexer lexer,
                         org.w3c.tidy.Node root)