1 26 package org.objectweb.util.explorer.parser.lib; 27 28 import org.objectweb.util.explorer.core.code.api.CodeDescription; 29 import org.objectweb.util.explorer.core.common.api.ExplorerConstants; 30 import org.objectweb.util.explorer.explorerConfig.Info; 31 import org.objectweb.util.explorer.explorerConfig.Node; 32 33 41 public class InfoManager 42 extends AbstractNodeParser 43 { 44 45 51 57 63 69 72 public void parseNode(Object key, Node node) { 73 Info info = node.getInfo(); 74 if(info!=null){ 75 CodeDescription codeDesc = ParserUtils.getCodeDescription(info.getCode()); 76 if(codeDesc!=null && !codeDesc.isEmpty()){ 77 getFeeder().feed(ExplorerConstants.INFO_PROPERTY, key, codeDesc); 78 } 79 } 80 } 81 82 } 83 84 85 | Popular Tags |