1 26 27 package org.objectweb.util.browser.core.wrapper; 28 29 30 import org.objectweb.util.browser.api.Entry; 31 import org.objectweb.util.browser.core.api.BrowserProperty; 32 import org.objectweb.util.browser.core.api.ContextFactory; 33 import org.objectweb.util.browser.core.api.Role; 34 import org.objectweb.util.browser.core.common.DefaultPropertyContainer; 35 import org.objectweb.util.browser.core.common.ExtendedBoolean; 36 37 43 public class WrapperPropertyContainer extends DefaultPropertyContainer { 44 45 51 57 61 public WrapperPropertyContainer(BrowserProperty loader) { 62 super(loader); 63 } 64 65 71 76 protected Entry getElement(String className, Role role, ExtendedBoolean nodeFound) { 77 return loader_.getWrapper(className, role, nodeFound); 78 } 79 80 87 protected void addEntry(String id, ContextFactory object) { 88 super.addEntry(id, object); 89 } 90 91 97 104 public void addEntry(String id, Object object) { 105 if (object != null) { 106 addEntry(id, (ContextFactory) object); 107 } 108 } 109 110 } 111 | Popular Tags |