phenote.dataadapter.phenosyntax
Class PhenoSyntaxChar

java.lang.Object
  extended by phenote.dataadapter.phenosyntax.PhenoSyntaxChar

public class PhenoSyntaxChar
extends java.lang.Object

A phenotype character thats basically a dataadapter object for datamodel CharacterI. It can make a phenosyntax string from a CharacterI and make a CharacterI from a phenosyntax string e.g. E=head Q=large See http://www.fruitfly.org/~cjm/obd/pheno-syntax.html for a full description of pheno syntax. Phenote additions: syntax doesnt do genotype or genetic context but heck we need them - so i added GT=genotype (do we gen context?) GC=geneticContext


Nested Class Summary
(package private)  class PhenoSyntaxChar.BadCharException
           
(package private)  class PhenoSyntaxChar.SyntaxParseException
           
 
Constructor Summary
PhenoSyntaxChar()
           
PhenoSyntaxChar(CharacterI ch)
           
 
Method Summary
(package private)  CharacterI getCharacter()
           
(package private)  java.lang.String getPhenoSyntaxString()
           
(package private)  void parseLine(java.lang.String line)
          Parse syntax line into character
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhenoSyntaxChar

PhenoSyntaxChar()

PhenoSyntaxChar

PhenoSyntaxChar(CharacterI ch)
Method Detail

getPhenoSyntaxString

java.lang.String getPhenoSyntaxString()

parseLine

void parseLine(java.lang.String line)
         throws PhenoSyntaxChar.SyntaxParseException
Parse syntax line into character

Throws:
PhenoSyntaxChar.SyntaxParseException

getCharacter

CharacterI getCharacter()