HTML Lexer Jar Home Page

Uses of Interface
org.htmlparser.Node

Packages that use Node
org.htmlparser The basic API classes which will be used by most developers when working with the HTML Parser. 
org.htmlparser.lexer The lexer package is the base level I/O subsystem. 
org.htmlparser.nodes The nodes package has the concrete node implementations. 
org.htmlparser.util   
 

Uses of Node in org.htmlparser
 

Subinterfaces of Node in org.htmlparser
 interface Remark
          This interface represents a comment in the HTML document.
 interface Tag
          This interface represents a tag (<xxx yyy="zzz">) in the HTML document.
 interface Text
          This interface represents a piece of the content of the HTML document.
 

Methods in org.htmlparser that return Node
 Node Node.getFirstChild()
          Get the first child of this node.
 Node Node.getLastChild()
          Get the last child of this node.
 Node Node.getNextSibling()
          Get the next sibling to this node.
 Node Node.getParent()
          Get the parent of this node.
 Node Node.getPreviousSibling()
          Get the previous sibling to this node.
 

Methods in org.htmlparser with parameters of type Node
 boolean NodeFilter.accept(Node node)
          Predicate to determine whether or not to keep the given node.
 void Node.setParent(Node node)
          Sets the parent of this node.
 

Uses of Node in org.htmlparser.lexer
 

Methods in org.htmlparser.lexer that return Node
protected  Node Lexer.makeRemark(int start, int end)
          Create a remark node based on the current cursor and the one provided.
protected  Node Lexer.makeString(int start, int end)
          Create a string node based on the current cursor and the one provided.
protected  Node Lexer.makeTag(int start, int end, java.util.Vector attributes)
          Create a tag node based on the current cursor and the one provided.
 Node Lexer.nextNode()
          Get the next node from the source.
 Node Lexer.nextNode(boolean quotesmart)
          Get the next node from the source.
 Node Lexer.parseCDATA()
          Return CDATA as a text node.
 Node Lexer.parseCDATA(boolean quotesmart)
          Return CDATA as a text node.
protected  Node Lexer.parseJsp(int start)
          Parse a java server page node.
protected  Node Lexer.parsePI(int start)
          Parse an XML processing instruction.
protected  Node Lexer.parseRemark(int start, boolean quotesmart)
          Parse a comment.
protected  Node Lexer.parseString(int start, boolean quotesmart)
          Parse a string node.
protected  Node Lexer.parseTag(int start)
          Parse a tag.
 

Uses of Node in org.htmlparser.nodes
 

Classes in org.htmlparser.nodes that implement Node
 class AbstractNode
          The concrete base class for all types of nodes (tags, text remarks).
 class RemarkNode
          The remark tag is identified and represented by this class.
 class TagNode
          TagNode represents a generic tag.
 class TextNode
          Normal text in the HTML document is represented by this class.
 

Fields in org.htmlparser.nodes declared as Node
protected  Node AbstractNode.parent
          The parent of this node.
 

Methods in org.htmlparser.nodes that return Node
 Node AbstractNode.getFirstChild()
          Get the first child of this node.
 Node AbstractNode.getLastChild()
          Get the last child of this node.
 Node AbstractNode.getNextSibling()
          Get the next sibling to this node.
 Node AbstractNode.getParent()
          Get the parent of this node.
 Node AbstractNode.getPreviousSibling()
          Get the previous sibling to this node.
 

Methods in org.htmlparser.nodes with parameters of type Node
 void AbstractNode.setParent(Node node)
          Sets the parent of this node.
 

Uses of Node in org.htmlparser.util
 

Methods in org.htmlparser.util that return Node
 Node NodeList.elementAt(int i)
           
 Node SimpleNodeIterator.nextNode()
          Get the next node.
 Node NodeIterator.nextNode()
          Get the next node.
 Node NodeList.remove(int index)
          Remove the node at index.
 Node[] NodeList.toNodeArray()
           
 

Methods in org.htmlparser.util with parameters of type Node
 void NodeList.add(Node node)
           
 boolean NodeList.contains(Node node)
          Check to see if the NodeList contains the supplied Node.
 void NodeList.copyToNodeArray(Node[] array)
           
 int NodeList.indexOf(Node node)
          Finds the index of the supplied Node.
 void NodeList.prepend(Node node)
          Insert the given node at the head of the list.
 boolean NodeList.remove(Node node)
          Remove the supplied Node from the list.
 

Constructors in org.htmlparser.util with parameters of type Node
NodeList(Node node)
          Create a one element node list.
 


© 2006 Derrick Oswald
April 1, 2006

HTML Parser is an open source library released under Common Public License.SourceForge.net