|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteinshader.structure.visitor.Visitor
org.proteinshader.structure.visitor.AminoAcidLabelVisitor
public class AminoAcidLabelVisitor
Traverses the AminoAcids of a Structure and builds a non-redundant list of residueIDs.
| Constructor Summary | |
|---|---|
AminoAcidLabelVisitor()
Constructs an AminoAcidLabelVisitor. |
|
| Method Summary | |
|---|---|
void |
clearList()
Clears the list of labels. |
List<String> |
getAminoAcidLabels()
Returns the list of non-redundant labels (AminoAcid residueIDs) that |
void |
visit(AminoAcid aminoAcid)
Adds a residueID to the list of labels if it has not been seen before. |
| Methods inherited from class org.proteinshader.structure.visitor.Visitor |
|---|
clear, includeAAHetAndWater, setDebug, setMode, setMode, setMode, setMode, setMode, setMode, setVisitSegments, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AminoAcidLabelVisitor()
| Method Detail |
|---|
public void clearList()
public void visit(AminoAcid aminoAcid)
throws VisitorException
visit in class VisitoraminoAcid - the AminoAcid to get a label from.
VisitorException - if an error occurs during the traversal.public List<String> getAminoAcidLabels()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||