All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iubio.readseq.SwissDoc

java.lang.Object
   |
   +----iubio.readseq.BioseqDocImpl
           |
           +----iubio.readseq.EmblDoc
                   |
                   +----iubio.readseq.SwissDoc

public class SwissDoc
extends iubio.readseq.EmblDoc

Constructor Index

 o SwissDoc()
public static String swissprop= "EmblDoc"; private static FastHashtable slabel2keys = new FastHashtable(); // format label => biodockey private static FastProperties keys2slabel= new FastProperties(); // biodockey => format label static { String pname= System.getProperty( swissprop, swissprop); getDocProperties(pname,keys2slabel,slabel2keys); } // this isnt helping - still missing doc data (no AA length for swiss -> embl public String getBiodockey(String field) { return (String) slabel2keys.get(field); } public String getFieldName(int kind) { indent= fFieldIndent; String lab= null; String biodockey= getBiodockey(kind); if (biodockey!=null) lab= (String) keys2slabel.get( biodockey); switch (kind) { case kFeatureTable: case kFeatureItem: case kFeatureNote: indent= fFeatIndent; break; } return lab; }
 o SwissDoc(BioseqDoc)
 o SwissDoc(String)

Method Index

 o addFeature(String, String, int, boolean)

Constructors

 o SwissDoc
 public SwissDoc()
public static String swissprop= "EmblDoc"; private static FastHashtable slabel2keys = new FastHashtable(); // format label => biodockey private static FastProperties keys2slabel= new FastProperties(); // biodockey => format label static { String pname= System.getProperty( swissprop, swissprop); getDocProperties(pname,keys2slabel,slabel2keys); } // this isnt helping - still missing doc data (no AA length for swiss -> embl public String getBiodockey(String field) { return (String) slabel2keys.get(field); } public String getFieldName(int kind) { indent= fFieldIndent; String lab= null; String biodockey= getBiodockey(kind); if (biodockey!=null) lab= (String) keys2slabel.get( biodockey); switch (kind) { case kFeatureTable: case kFeatureItem: case kFeatureNote: indent= fFeatIndent; break; } return lab; }

 o SwissDoc
 public SwissDoc(iubio.readseq.BioseqDoc source)
 o SwissDoc
 public SwissDoc(java.lang.String idname)

Methods

 o addFeature
 public void addFeature(java.lang.String field,
                        java.lang.String value,
                        int level,
                        boolean append)
Overrides:
addFeature in class iubio.readseq.BioseqDocImpl

All Packages  Class Hierarchy  This Package  Previous  Next  Index