Exemplo n.º 1
0
 /**
  * Initialize the new glyph from the given xml node. Only do this if the glyph is a MetSymbol
  *
  * @param g The new glyph
  * @param symbolNode The xml it was created from
  */
 protected void initializeGlyphFromXml(Glyph g, Element symbolNode) {
   if (!(g instanceof MetSymbol)) {
     return;
   }
   ((MetSymbol) g).initialize(symbolNode);
 }