Package org.nexml.model

Examples of org.nexml.model.UncertainCharacterState


        attachTreeBaseID((Annotatable)xmlState,tbState,DiscreteCharState.class);       
      }       
    }
   
    // the missing symbol ("?") includes all others, including gap ("-")
    UncertainCharacterState gap = xmlStateSet.createUncertainCharacterState("-", new HashSet<CharacterState>());
    gap.setLabel("-");
    xmlMissingStates.add(gap);
    UncertainCharacterState missing = xmlStateSet.createUncertainCharacterState("?", xmlMissingStates);
    missing.setLabel("?");
   
    // then create the XML characters, assigning them all the same state set
    List<MatrixColumn> tbColumns = tbMatrix.getColumnsReadOnly();
    for ( int i = 0; i < tbColumns.size(); i++ ) {
      MatrixColumn tbColumn = tbColumns.get(i);     
View Full Code Here

TOP

Related Classes of org.nexml.model.UncertainCharacterState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.