Package de.zeigermann.xpa.tokenParser

This package contains classes needed to adapt XML parsers to ANTLR token streams used by ANTLR generated parsers.

See:
          Description

Class Summary
BlockingLinkedListTokenQueue This is class is a special form of a LinkedListTokenQueue.
LinkedListTokenQueue This class is a very simple implementation of a token queue using a linked list.
Parser2XMLTokenStreamAdapter This abstract class provides base functionality to adapt XML parsers to a token stream needed by ANTLR genrated (token) parsers.
SAXDrivenTokenStream This class is a token stream parser driven by an underlying SAX parser.
XMLEndToken This class stores XML end tags as ANTLR tokens.
XMLFragmentDrivenTokenStream This class is a token stream parser driven by an XMLFragmentParser.
XMLStartToken This class stores XML start tags as ANTLR tokens.
XMLToken The XMLToken class is the basic class to represent ANTLR tokens that contain XML data.
 

Package de.zeigermann.xpa.tokenParser Description

This package contains classes needed to adapt XML parsers to ANTLR token streams used by ANTLR generated parsers. The adapting class Parser2XMLTokenStreamAdapter thus takes the place of a lexer that normally feeds the parser.

Actually, there are only two existing adapters for XML parsers. One for SAX and one for the rudimentary internal parser.



Copyright 1999-2003 Oliver Zeigermann. All Rights Reserved.