All Packages Class Hierarchy This Package Previous Next Index
Interface aioli.vtp.Phylum
- public interface Phylum
- extends Serializable
Defines the notion of phylum
-
contains(Operator)
-
Checks if an operator belongs to a phylum.
-
formalism()
- Returns the formalism of the phylum.
-
genDTD(PrintWriter)
- Returns the DTD code for the phylum
-
genJava(PrintWriter, String)
- Prints the java declaration of the phylum.
-
genJavaInsert(PrintWriter, String)
-
Prints the java insertion of the operators in the phylum.
-
insert(Operator)
- Inserts an operator to the phylum.
Warning No check that the operator is added twice .
-
insertCheck(Operator)
- Inserts an operator to the phylum.
Checks if the operator is added twice.
-
name()
- Returns the name of the phylum
-
operators()
-
Returns the list of the operators, this list can be safely modified.
-
toString()
- Returns the Metal version of the phylum
contains
public abstract boolean contains(Operator op)
- Checks if an operator belongs to a phylum.
- Parameters:
- op - The operator.
- Returns:
- true if op belongs to the phylum, false otherwise.
- See Also:
- Operator
formalism
public abstract Formalism formalism()
- Returns the formalism of the phylum.
insert
public abstract void insert(Operator op)
- Inserts an operator to the phylum.
Warning No check that the operator is added twice .
- Parameters:
- op - The operator to be added.
insertCheck
public abstract boolean insertCheck(Operator op)
- Inserts an operator to the phylum.
Checks if the operator is added twice.
- Parameters:
- op - The operator to be added.
- Returns:
- true if op has been inserted false otherwise.
operators
public abstract Operator[] operators()
- Returns the list of the operators, this list can be safely modified.
name
public abstract String name()
- Returns the name of the phylum
toString
public abstract String toString()
- Returns the Metal version of the phylum
- Overrides:
- toString in class Object
genJava
public abstract void genJava(PrintWriter ps,
String str)
- Prints the java declaration of the phylum.
- Parameters:
- ps - The output Writer.
- str - The phylum name.
genJavaInsert
public abstract void genJavaInsert(PrintWriter ps,
String str)
- Prints the java insertion of the operators in the phylum.
- Parameters:
- ps - The output Writer.
- str - The phylum name.
genDTD
public abstract void genDTD(PrintWriter ps)
- Returns the DTD code for the phylum
All Packages Class Hierarchy This Package Previous Next Index