Overview  Package   Class  Tree  Index 

be.lassi.ui.sheet.parse
Class SyntaxLevel

java.lang.Object
  extended by be.lassi.ui.sheet.parse.DefaultSyntax
      extended by be.lassi.ui.sheet.parse.SyntaxLevel
All Implemented Interfaces:
Syntax

public class SyntaxLevel
extends DefaultSyntax

Check syntax of sheet level cells.


Nested Class Summary
 
Nested classes/interfaces inherited from class be.lassi.ui.sheet.parse.DefaultSyntax
DefaultSyntax.SyntaxException
 
Constructor Summary
SyntaxLevel()
           
 
Method Summary
protected  void parse(java.lang.String string)
          Verify if the syntax of given string meets all requirements for sheet level cells.
 
Methods inherited from class be.lassi.ui.sheet.parse.DefaultSyntax
singleOccurance, syntax, validateCharacters, validateDigits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntaxLevel

public SyntaxLevel()
Method Detail

parse

protected void parse(java.lang.String string)
              throws DefaultSyntax.SyntaxException
Verify if the syntax of given string meets all requirements for sheet level cells.
  1. All characters have to be digits.
  2. Maximum length is 3.
  3. The only valid value with a length of 3 is "100"

Specified by:
parse in class DefaultSyntax
Throws:
DefaultSyntax.SyntaxException

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2