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.Node; 31 import org.objectweb.util.explorer.explorerConfig.Wrapper; 32 33 41 public class WrapperManager 42 extends AbstractNodeParser 43 { 44 45 51 57 63 69 72 public void parseNode(Object key, Node node) { 73 Wrapper wrapper = node.getWrapper(); 74 if(wrapper!=null && wrapper.getCode()!=null){ 75 CodeDescription codeDesc = ParserUtils.getCodeDescription(wrapper.getCode()); 76 if(codeDesc!=null && !codeDesc.isEmpty()){ 77 getFeeder().feed(ExplorerConstants.WRAPPER_PROPERTY, key, codeDesc); 78 } 79 } 80 } 81 82 } 83 | Popular Tags |