public class DefaultGlycoCtResolver extends Object implements GlycoCtResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_GLYCOCT_MONOSACCHARIDES |
static String |
PROPERTY_GLYCOCT_SUBSTITUENTS |
| Constructor and Description |
|---|
DefaultGlycoCtResolver() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<Anomericity> |
getAnomericity(String glycoCtCode)
Returns the appropriate Anomericity instance for the given glycoct code.
|
com.google.common.base.Optional<Composition> |
getLinkageComposition(String glycoCtCode)
Returns the appropriate LinkageComposition instance for the given GlycoCT code.
|
Monosaccharide |
getMonosaccharide(String glycoCtCode)
Search for the monosaccharide that resolves the GlycoCT code in input.
|
Substituent |
getSubstituent(String glycoCtCode)
Search for the substituent that resolves the GlycoCT code in input.
|
public static final String PROPERTY_GLYCOCT_MONOSACCHARIDES
public static final String PROPERTY_GLYCOCT_SUBSTITUENTS
public Monosaccharide getMonosaccharide(String glycoCtCode)
The method throw an IllegalStateException if there is no monosaccharide that resolves the GlycoCT Code
getMonosaccharide in interface GlycoCtResolverglycoCtCode - GlycoCT code to resolve.public Substituent getSubstituent(String glycoCtCode)
The method throw an IllegalStateException if there is no substituent that resolves the GlycoCT Code
getSubstituent in interface GlycoCtResolverglycoCtCode - GlycoCT Code to resolve.public com.google.common.base.Optional<Anomericity> getAnomericity(String glycoCtCode)
getAnomericity in interface GlycoCtResolverglycoCtCode - the GlycoCT code to resolve.public com.google.common.base.Optional<Composition> getLinkageComposition(String glycoCtCode)
getLinkageComposition in interface GlycoCtResolverglycoCtCode - the GlycoCT code to resolve.Copyright © 2016. All Rights Reserved.