| java.lang.Object org.w3c.tidy.Node
Node | public class Node (Code) | | Node
(c) 1998-2000 (W3C) MIT, INRIA, Keio University
See Tidy.java for the copyright notice.
Derived from
HTML Tidy Release 4 Aug 2000
author: Dave Raggett author: Andy Quick (translation to Java) version: 1.0, 1999/05/22 version: 1.0.1, 1999/05/29 version: 1.1, 1999/06/18 Java Bean version: 1.2, 1999/07/10 Tidy Release 7 Jul 1999 version: 1.3, 1999/07/30 Tidy Release 26 Jul 1999 version: 1.4, 1999/09/04 DOM support version: 1.5, 1999/10/23 Tidy Release 27 Sep 1999 version: 1.6, 1999/11/01 Tidy Release 22 Oct 1999 version: 1.7, 1999/12/06 Tidy Release 30 Nov 1999 version: 1.8, 2000/01/22 Tidy Release 13 Jan 2000 version: 1.9, 2000/06/03 Tidy Release 30 Apr 2000 version: 1.10, 2000/07/22 Tidy Release 8 Jul 2000 version: 1.11, 2000/08/16 Tidy Release 4 Aug 2000 |
Constructor Summary | |
public | Node() | public | Node(short type, byte[] textarray, int start, int end) | public | Node(short type, byte[] textarray, int start, int end, String element, TagTable tt) |
Method Summary | |
public void | addAttribute(String name, String value) | public static void | addClass(Node node, String classname) | public void | checkAttributes(Lexer lexer) | public boolean | checkNodeIntegrity() | public void | checkUniqueAttributes(Lexer lexer) | protected Object | clone() | protected Node | cloneNode(boolean deep) | public static void | coerceNode(Lexer lexer, Node node, Dict tag) | public void | discardDocType() | public static Node | discardElement(Node element) | public Node | findBody(TagTable tt) | public Node | findDocType() | public Node | findHEAD(TagTable tt) | public Node | findHTML(TagTable tt) | public static void | fixEmptyRow(Lexer lexer, Node row) | protected org.w3c.dom.Node | getAdapter() | public AttVal | getAttrByName(String name) | public boolean | hasOneChild() | public static void | insertDocType(Lexer lexer, Node element, Node doctype) | public static boolean | insertMisc(Node element, Node node) | public static void | insertNodeAfterElement(Node element, Node node) | public static void | insertNodeAsParent(Node element, Node node) | public static void | insertNodeAtEnd(Node element, Node node) | public static void | insertNodeAtStart(Node element, Node node) | public static void | insertNodeBeforeElement(Node element, Node node) | public boolean | isDescendantOf(Dict tag) | public boolean | isElement() | public static boolean | isNewNode(Node node) | public static void | moveBeforeTable(Node row, Node node, TagTable tt) | public void | removeAttribute(AttVal attr) | public static void | removeNode(Node node) | protected void | setType(short newType) | public String | toString() | public static void | trimEmptyElement(Lexer lexer, Node element) | public static void | trimInitialSpace(Lexer lexer, Node element, Node text) | public static void | trimSpaces(Lexer lexer, Node element) | public static void | trimTrailingSpace(Lexer lexer, Node element, Node last) |
AspTag | final public static short AspTag(Code) | | |
CDATATag | final public static short CDATATag(Code) | | |
CommentTag | final public static short CommentTag(Code) | | |
DocTypeTag | final public static short DocTypeTag(Code) | | |
EndTag | final public static short EndTag(Code) | | |
JsteTag | final public static short JsteTag(Code) | | |
PhpTag | final public static short PhpTag(Code) | | |
ProcInsTag | final public static short ProcInsTag(Code) | | |
RootNode | final public static short RootNode(Code) | | |
SectionTag | final public static short SectionTag(Code) | | |
StartEndTag | final public static short StartEndTag(Code) | | |
StartTag | final public static short StartTag(Code) | | |
TextNode | final public static short TextNode(Code) | | |
closed | protected boolean closed(Code) | | |
implicit | protected boolean implicit(Code) | | |
linebreak | protected boolean linebreak(Code) | | |
start | protected int start(Code) | | |
textarray | protected byte[] textarray(Code) | | |
type | protected short type(Code) | | |
Node | public Node(short type, byte[] textarray, int start, int end)(Code) | | |
Node | public Node(short type, byte[] textarray, int start, int end, String element, TagTable tt)(Code) | | |
checkAttributes | public void checkAttributes(Lexer lexer)(Code) | | |
checkNodeIntegrity | public boolean checkNodeIntegrity()(Code) | | |
checkUniqueAttributes | public void checkUniqueAttributes(Lexer lexer)(Code) | | |
cloneNode | protected Node cloneNode(boolean deep)(Code) | | |
discardDocType | public void discardDocType()(Code) | | |
hasOneChild | public boolean hasOneChild()(Code) | | |
insertMisc | public static boolean insertMisc(Node element, Node node)(Code) | | |
insertNodeAfterElement | public static void insertNodeAfterElement(Node element, Node node)(Code) | | |
insertNodeAsParent | public static void insertNodeAsParent(Node element, Node node)(Code) | | |
insertNodeAtEnd | public static void insertNodeAtEnd(Node element, Node node)(Code) | | |
insertNodeAtStart | public static void insertNodeAtStart(Node element, Node node)(Code) | | |
insertNodeBeforeElement | public static void insertNodeBeforeElement(Node element, Node node)(Code) | | |
isDescendantOf | public boolean isDescendantOf(Dict tag)(Code) | | |
isElement | public boolean isElement()(Code) | | |
isNewNode | public static boolean isNewNode(Node node)(Code) | | |
removeAttribute | public void removeAttribute(AttVal attr)(Code) | | |
removeNode | public static void removeNode(Node node)(Code) | | |
setType | protected void setType(short newType)(Code) | | |
trimEmptyElement | public static void trimEmptyElement(Lexer lexer, Node element)(Code) | | |
trimInitialSpace | public static void trimInitialSpace(Lexer lexer, Node element, Node text)(Code) | | |
trimTrailingSpace | public static void trimTrailingSpace(Lexer lexer, Node element, Node last)(Code) | | |
|
|