HTML Lexer Jar Home Page

Uses of Class
org.htmlparser.util.ParserException

Packages that use ParserException
org.htmlparser The basic API classes which will be used by most developers when working with the HTML Parser. 
org.htmlparser.http The http package is responsible for HTTP connections to servers. 
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.scanners The scanners package contains classes responsible for the tertiary identification of tags. 
org.htmlparser.util   
 

Uses of ParserException in org.htmlparser
 

Methods in org.htmlparser that throw ParserException
 Remark NodeFactory.createRemarkNode(Page page, int start, int end)
          Create a new remark node.
 Text NodeFactory.createStringNode(Page page, int start, int end)
          Create a new text node.
 Tag NodeFactory.createTagNode(Page page, int start, int end, java.util.Vector attributes)
          Create a new tag node.
 void Node.doSemanticAction()
          Perform the meaning of this tag.
 

Uses of ParserException in org.htmlparser.http
 

Methods in org.htmlparser.http that throw ParserException
 java.net.URLConnection ConnectionManager.openConnection(java.lang.String string)
          Opens a connection based on a given string.
 java.net.URLConnection ConnectionManager.openConnection(java.net.URL url)
          Opens a connection using the given url.
 void ConnectionMonitor.postConnect(java.net.HttpURLConnection connection)
          Called just after calling connect.
 void ConnectionMonitor.preConnect(java.net.HttpURLConnection connection)
          Called just prior to calling connect.
 

Uses of ParserException in org.htmlparser.lexer
 

Methods in org.htmlparser.lexer that throw ParserException
 char Page.getCharacter(Cursor cursor)
          Read the character at the given cursor position.
static void Lexer.main(java.lang.String[] args)
          Mainline for command line operation
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.
protected  void Lexer.scanJIS(Cursor cursor)
          Advance the cursor through a JIS escape sequence.
 void Page.setConnection(java.net.URLConnection connection)
          Set the URLConnection to be used by this page.
 void StringSource.setEncoding(java.lang.String character_set)
          Set the encoding to the given character set.
abstract  void Source.setEncoding(java.lang.String character_set)
          Set the encoding to the given character set.
 void Page.setEncoding(java.lang.String character_set)
          Begins reading from the source with the given character set.
 void InputStreamSource.setEncoding(java.lang.String character_set)
          Begins reading from the source with the given character set.
 void Page.ungetCharacter(Cursor cursor)
          Return a character.
 

Constructors in org.htmlparser.lexer that throw ParserException
Lexer(java.net.URLConnection connection)
          Creates a new instance of a Lexer.
Page(java.net.URLConnection connection)
          Construct a page reading from a URL connection.
 

Uses of ParserException in org.htmlparser.nodes
 

Methods in org.htmlparser.nodes that throw ParserException
 void AbstractNode.doSemanticAction()
          Perform the meaning of this tag.
 

Uses of ParserException in org.htmlparser.scanners
 

Methods in org.htmlparser.scanners that throw ParserException
 Tag TagScanner.scan(Tag tag, Lexer lexer, NodeList stack)
          Scan the tag.
 Tag Scanner.scan(Tag tag, Lexer lexer, NodeList stack)
          Scan the tag.
 

Uses of ParserException in org.htmlparser.util
 

Subclasses of ParserException in org.htmlparser.util
 class EncodingChangeException
          The encoding is changed invalidating already scanned characters.
 

Methods in org.htmlparser.util that throw ParserException
 boolean NodeIterator.hasMoreNodes()
          Check if more nodes are available.
 Node NodeIterator.nextNode()
          Get the next node.
 void NodeList.visitAllNodesWith(NodeVisitor visitor)
          Utility to apply a visitor to a node list.
 


© 2006 Derrick Oswald
April 1, 2006

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