org.melati.poem.prepro
Class TableQualifier

Package class diagram package TableQualifier
java.lang.Object
  extended by org.melati.poem.prepro.TableQualifier
Direct Known Subclasses:
CacheSizeTableQualifier, CategoryTableQualifier, DescriptionTableQualifier, DisplayNameTableQualifier, DisplayOrderTableQualifier, SeqCachedTableQualifier

public abstract class TableQualifier
extends Object

Abstract class from which all TableQualifiers are derived.


Constructor Summary
TableQualifier()
           
 
Method Summary
abstract  void apply(TableDef table)
          Update the model.
static TableQualifier from(StreamTokenizer tokens)
          Creates the appropriate type of TableQualifier from the input stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableQualifier

public TableQualifier()
Method Detail

apply

public abstract void apply(TableDef table)
                    throws org.melati.poem.prepro.IllegalityException
Update the model.

Parameters:
table - the TableDef to update
Throws:
IllegalityException - if there is a semantic error

from

public static TableQualifier from(StreamTokenizer tokens)
                           throws org.melati.poem.prepro.ParsingDSDException,
                                  IOException
Creates the appropriate type of TableQualifier from the input stream.

Parameters:
tokens - the StreamTokenizer to get tokens from
Returns:
the required sub type
Throws:
ParsingDSDException - if an unexpected token is encountered
IOException - if something goes wrong with the file system


Copyright © 2000-2010 PanEris. All Rights Reserved.