All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.tidy.Node

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

public class Node
extends Object
Node (c) 1998, 1999 (W3C) MIT, INRIA, Keio University See Tidy.java for the copyright notice. Derived from HTML Tidy Release 26 Jul 1999


Variable Index

 o AspTag
 o attributes
 o CommentTag
 o content
 o DocTypeTag
 o element
 o end
 o EndTag
 o implicit
 o last
 o next
 o parent
 o prev
 o ProcInsTag
 o RootNode
 o start
 o StartEndTag
 o StartTag
 o tag
 o textarray
 o TextNode
 o type
 o was

Constructor Index

 o Node()
 o Node(short, char[], int, int)
 o Node(short, char[], int, int, String)

Method Index

 o checkAttributes(Lexer)
 o clone()
 o discardDocType()
 o discardElement(Node)
 o findBody(Node)
 o findDocType()
 o getNodeValue()
 o insertDocType(Lexer, Node, Node)
 o insertNode(Node, Node)
 o insertNodeAfterElement(Node, Node)
 o insertNodeBeforeElement(Node, Node)
 o isDescendantOf(Dict)
 o isElement()
 o moveBeforeTable(Node, Node)
 o trimEmptyElement(Lexer, Node)
 o trimInitialSpace(Lexer, Node, Node)
 o trimSpace(Lexer, Node)
 o trimTrailingSpace(Lexer, Node)

Variables

 o RootNode
 public static final short RootNode
 o DocTypeTag
 public static final short DocTypeTag
 o CommentTag
 public static final short CommentTag
 o ProcInsTag
 public static final short ProcInsTag
 o TextNode
 public static final short TextNode
 o StartTag
 public static final short StartTag
 o EndTag
 public static final short EndTag
 o StartEndTag
 public static final short StartEndTag
 o AspTag
 public static final short AspTag
 o parent
 public Node parent
 o prev
 public Node prev
 o next
 public Node next
 o last
 public Node last
 o start
 protected int start
 o end
 protected int end
 o textarray
 protected char textarray[]
 o type
 public short type
 o implicit
 public boolean implicit
 o was
 public Dict was
 o tag
 public Dict tag
 o element
 public String element
 o attributes
 public AttVal attributes
 o content
 public Node content

Constructors

 o Node
 public Node()
 o Node
 public Node(short type,
             char textarray[],
             int start,
             int end)
 o Node
 public Node(short type,
             char textarray[],
             int start,
             int end,
             String element)

Methods

 o clone
 protected Object clone()
Overrides:
clone in class Object
 o getNodeValue
 public String getNodeValue()
 o checkAttributes
 public void checkAttributes(Lexer lexer)
 o findDocType
 public Node findDocType()
 o discardDocType
 public void discardDocType()
 o discardElement
 public static void discardElement(Node element)
 o insertNode
 public static void insertNode(Node element,
                               Node node)
 o insertNodeBeforeElement
 public static void insertNodeBeforeElement(Node element,
                                            Node node)
 o insertNodeAfterElement
 public static void insertNodeAfterElement(Node element,
                                           Node node)
 o trimEmptyElement
 public static void trimEmptyElement(Lexer lexer,
                                     Node element)
 o trimSpace
 public static void trimSpace(Lexer lexer,
                              Node last)
 o trimTrailingSpace
 public static void trimTrailingSpace(Lexer lexer,
                                      Node last)
 o trimInitialSpace
 public static void trimInitialSpace(Lexer lexer,
                                     Node element,
                                     Node text)
 o isDescendantOf
 public boolean isDescendantOf(Dict tag)
 o insertDocType
 public static void insertDocType(Lexer lexer,
                                  Node element,
                                  Node doctype)
 o findBody
 public static Node findBody(Node root)
 o isElement
 public boolean isElement()
 o moveBeforeTable
 public static void moveBeforeTable(Node row,
                                    Node node)

All Packages  Class Hierarchy  This Package  Previous  Next  Index