
Public Member Functions | |
| void | addAttribute (String name, String value) |
| void | checkAttributes (Lexer lexer) |
| boolean | checkNodeIntegrity () |
| void | checkUniqueAttributes (Lexer lexer) |
| void | discardDocType () |
| Node | findBody (TagTable tt) |
| Node | findDocType () |
| Node | findHEAD (TagTable tt) |
| Node | findHTML (TagTable tt) |
| org.w3c.dom.Node | getAdapter () |
| AttVal | getAttrByName (String name) |
| Node | getContent () |
| String | getElement () |
| Node | getNext () |
| Node | getParent () |
| Node | getPrev () |
| String | getText () |
| int | getType () |
| boolean | hasOneChild () |
| boolean | isDescendantOf (Dict tag) |
| boolean | isElement () |
| Node (short type, byte[] textarray, int start, int end, String element, TagTable tt) | |
| Node (short type, byte[] textarray, int start, int end) | |
| Node () | |
| void | removeAttribute (AttVal attr) |
| String | toString (boolean descend) |
| String | toString () |
Static Public Member Functions | |
| static void | addClass (Node node, String classname) |
| static void | coerceNode (Lexer lexer, Node node, Dict tag) |
| static Node | discardElement (Node element) |
| static void | fixEmptyRow (Lexer lexer, Node row) |
| static void | insertDocType (Lexer lexer, Node element, Node doctype) |
| static boolean | insertMisc (Node element, Node node) |
| static void | insertNodeAfterElement (Node element, Node node) |
| static void | insertNodeAsParent (Node element, Node node) |
| static void | insertNodeAtEnd (Node element, Node node) |
| static void | insertNodeAtStart (Node element, Node node) |
| static void | insertNodeBeforeElement (Node element, Node node) |
| static boolean | isNewNode (Node node) |
| static void | moveBeforeTable (Node row, Node node, TagTable tt) |
| static void | removeNode (Node node) |
| static void | trimEmptyElement (Lexer lexer, Node element) |
| static void | trimInitialSpace (Lexer lexer, Node element, Node text) |
| static void | trimSpaces (Lexer lexer, Node element) |
| static void | trimTrailingSpace (Lexer lexer, Node element, Node last) |
Static Public Attributes | |
| static final short | AspTag = 10 |
| static final short | CDATATag = 8 |
| static final short | CommentTag = 2 |
| static final short | DocTypeTag = 1 |
| static final short | EndTag = 6 |
| static final short | JsteTag = 11 |
| static final short | PhpTag = 12 |
| static final short | ProcInsTag = 3 |
| static final short | RootNode = 0 |
| static final short | SectionTag = 9 |
| static final short | StartEndTag = 7 |
| static final short | StartTag = 5 |
| static final short | TextNode = 4 |
Protected Member Functions | |
| Object | clone () |
| Node | cloneNode (boolean deep) |
| void | setType (short newType) |
Protected Attributes | |
| org.w3c.dom.Node | adapter = null |
| AttVal | attributes |
| boolean | closed |
| Node | content |
| String | element |
| int | end |
| boolean | implicit |
| Node | last |
| boolean | linebreak |
| Node | next |
| Node | parent |
| Node | prev |
| int | start |
| Dict | tag |
| byte[] | textarray |
| short | type |
| Dict | was |
Static Private Attributes | |
| static final String[] | nodeTypeString |
(c) 1998-2000 (W3C) MIT, INRIA, Keio University See Tidy.java for the copyright notice. Derived from HTML Tidy Release 4 Aug 2000
1.0.1, 1999/05/29
1.1, 1999/06/18 Java Bean
1.2, 1999/07/10 Tidy Release 7 Jul 1999
1.3, 1999/07/30 Tidy Release 26 Jul 1999
1.4, 1999/09/04 DOM support
1.5, 1999/10/23 Tidy Release 27 Sep 1999
1.6, 1999/11/01 Tidy Release 22 Oct 1999
1.7, 1999/12/06 Tidy Release 30 Nov 1999
1.8, 2000/01/22 Tidy Release 13 Jan 2000
1.9, 2000/06/03 Tidy Release 30 Apr 2000
1.10, 2000/07/22 Tidy Release 8 Jul 2000
1.11, 2000/08/16 Tidy Release 4 Aug 2000
| Node | ( | ) |
| Node | ( | short | type, | |
| byte[] | textarray, | |||
| int | start, | |||
| int | end | |||
| ) |
| void checkAttributes | ( | Lexer | lexer | ) |
| boolean checkNodeIntegrity | ( | ) |
| void checkUniqueAttributes | ( | Lexer | lexer | ) |
| Object clone | ( | ) | [protected] |
| Node cloneNode | ( | boolean | deep | ) | [protected] |
| static void coerceNode | ( | Lexer | lexer, | |
| Node | node, | |||
| Dict | tag | |||
| ) | [static] |
| void discardDocType | ( | ) |
| Node findBody | ( | TagTable | tt | ) |
| Node findDocType | ( | ) |
| Node findHEAD | ( | TagTable | tt | ) |
| Node findHTML | ( | TagTable | tt | ) |
| static void fixEmptyRow | ( | Lexer | lexer, | |
| Node | row | |||
| ) | [static] |
| org.w3c.dom.Node getAdapter | ( | ) |
| AttVal getAttrByName | ( | String | name | ) |
| Node getContent | ( | ) |
| String getElement | ( | ) |
| Node getNext | ( | ) |
| Node getParent | ( | ) |
| Node getPrev | ( | ) |
| String getText | ( | ) |
| int getType | ( | ) |
| boolean hasOneChild | ( | ) |
| boolean isDescendantOf | ( | Dict | tag | ) |
| boolean isElement | ( | ) |
| static boolean isNewNode | ( | Node | node | ) | [static] |
| void removeAttribute | ( | AttVal | attr | ) |
| static void removeNode | ( | Node | node | ) | [static] |
| void setType | ( | short | newType | ) | [protected] |
| String toString | ( | boolean | descend | ) |
| String toString | ( | ) |
| static void trimEmptyElement | ( | Lexer | lexer, | |
| Node | element | |||
| ) | [static] |
| static void trimSpaces | ( | Lexer | lexer, | |
| Node | element | |||
| ) | [static] |
final short AspTag = 10 [static] |
AttVal attributes [protected] |
final short CDATATag = 8 [static] |
boolean closed [protected] |
final short CommentTag = 2 [static] |
final short DocTypeTag = 1 [static] |
int end [protected] |
final short EndTag = 6 [static] |
boolean implicit [protected] |
final short JsteTag = 11 [static] |
boolean linebreak [protected] |
final String [] nodeTypeString [static, private] |
Initial value:
{
"RootNode",
"DocTypeTag",
"CommentTag",
"ProcInsTag",
"TextNode",
"StartTag",
"EndTag",
"StartEndTag",
"SectionTag",
"AspTag",
"PhpTag"
}
final short PhpTag = 12 [static] |
final short ProcInsTag = 3 [static] |
final short RootNode = 0 [static] |
final short SectionTag = 9 [static] |
int start [protected] |
final short StartEndTag = 7 [static] |
final short StartTag = 5 [static] |
Dict tag [protected] |
byte [] textarray [protected] |
final short TextNode = 4 [static] |
short type [protected] |
Dict was [protected] |
1.5.8