Structured Text Toolkit

Package com.saelist.stx.parser

Parsers for indented and free-form structured text.

See:
          Description

Class Summary
LstxParser Parses a text that is structured by indentation.
StxParser Parses free form structured text.
Token Tokens for free form structured text.
Tokenizer Tokenizes free form structured text into @{link Token}s.
 

Exception Summary
ParserException  
 

Package com.saelist.stx.parser Description

Parsers for indented and free-form structured text.

The classes Token and Tokenizer and Parserexception cooperate to parse free form structured text that depends on square brackets for demarkation. For example:

      account[ username[ hannes ] password[ Ux2?..Lkk ] ]
    
Element and Parser belong to a old version of this code and are deprecated. LstxParser2 and LstxParser both parse indented text files (or strings). E.g.
      account
        username=hannes
        password=Ux2?..Lkk
    
LstxParse2 is newer but some dependencies still remain on LstxParser. After clean-up only LstxParser will remain.


Structured Text Toolkit