public void addExplanationPhrase(ExplanationPhrase explanationPhrase) {
phrasesMap.put(explanationPhrase.getNode(), explanationPhrase);
}
public ExplanationPhrase getExplanationPhrase(String node) throws Exception {
ExplanationPhrase ep = phrasesMap.get(node);
if (ep == null) {
throw new Exception("N� n�o encontrado.");
} else {
return (ExplanationPhrase) ep;
}