Package | Description |
---|---|
org.w3c.tidy |
Modifier and Type | Class and Description |
---|---|
class |
OutJavaImpl
Output implementation using java writers.
|
Modifier and Type | Method and Description |
---|---|
static Out |
OutFactory.getOut(Configuration config,
java.io.OutputStream stream)
Returns the appropriate Out implementation.
|
static Out |
OutFactory.getOut(Configuration config,
java.io.Writer writer)
Returns the appropriate Out implementation.
|
Modifier and Type | Method and Description |
---|---|
void |
PPrint.condFlushLine(Out fout,
int indent) |
void |
PPrint.flushLine(Out fout,
int indent) |
private Node |
Tidy.parse(StreamIn streamIn,
Out o)
Internal routine that actually does the parsing.
|
private void |
PPrint.printAsp(Out fout,
int indent,
Node node)
note ASP and JSTE share <% ...
|
private void |
PPrint.printAttribute(Out fout,
int indent,
Node node,
AttVal attr) |
private void |
PPrint.printAttrs(Out fout,
int indent,
Node node,
AttVal attr) |
private void |
PPrint.printAttrValue(Out fout,
int indent,
java.lang.String value,
int delim,
boolean wrappable) |
(package private) void |
PPrint.printBody(Out fout,
Lexer lexer,
Node root,
boolean xml)
Print just the content of the body element.
|
private void |
PPrint.printCDATA(Out fout,
int indent,
Node node) |
private void |
PPrint.printComment(Out fout,
int indent,
Node node) |
private void |
PPrint.printDocType(Out fout,
int indent,
Lexer lexer,
Node node) |
private void |
PPrint.printJste(Out fout,
int indent,
Node node)
JSTE also supports <# ...
|
private void |
PPrint.printNavBar(Out fout,
int indent) |
private void |
PPrint.printPhp(Out fout,
int indent,
Node node)
PHP is based on XML processing instructions.
|
private void |
PPrint.printPI(Out fout,
int indent,
Node node) |
private void |
PPrint.printScriptStyle(Out fout,
short mode,
int indent,
Lexer lexer,
Node node)
Print script and style elements.
|
private void |
PPrint.printSection(Out fout,
int indent,
Node node) |
void |
PPrint.printSlide(Out fout,
short mode,
int indent,
Lexer lexer)
Called from printTree to print the content of a slide from the node slidecontent.
|
private void |
PPrint.printTag(Lexer lexer,
Out fout,
short mode,
int indent,
Node node) |
private void |
PPrint.printText(Out fout,
short mode,
int indent,
byte[] textarray,
int start,
int end)
The line buffer is uint not char so we can hold Unicode values unencoded.
|
void |
PPrint.printTree(Out fout,
short mode,
int indent,
Lexer lexer,
Node node) |
private void |
PPrint.printXmlDecl(Out fout,
int indent,
Node node)
Pretty print the xml declaration.
|
void |
PPrint.printXMLTree(Out fout,
short mode,
int indent,
Lexer lexer,
Node node) |
private void |
PPrint.wrapAttrVal(Out fout,
int indent,
boolean inString) |
private void |
PPrint.wrapLine(Out fout,
int indent) |