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
-
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;
}
-
SwissDoc(BioseqDoc)
-
-
SwissDoc(String)
-
-
addFeature(String, String, int, boolean)
-
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;
}
SwissDoc
public SwissDoc(iubio.readseq.BioseqDoc source)
SwissDoc
public SwissDoc(java.lang.String idname)
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