1 26 package org.objectweb.util.explorer.context.lib; 27 28 import org.objectweb.util.explorer.context.api.ContextPropertiesFeeder; 29 import org.objectweb.util.explorer.context.api.ContextPropertiesProvider; 30 import org.objectweb.util.explorer.context.api.Decoder; 31 32 40 public class Properties 41 implements ContextPropertiesFeeder, ContextPropertiesProvider 42 { 43 44 50 protected Decoder first_ = null; 51 protected Decoder last_ = null; 52 53 59 65 71 74 public void addDecoder(Decoder decoder) { 75 if(decoder!=null){ 76 if(first_==null){ 77 first_ = decoder; 78 } else { 79 last_.setNext(decoder); 80 } 81 last_ = decoder; 82 } 83 } 84 85 91 94 public Decoder getDecoder() { 95 return first_; 96 } 97 98 } 99 | Popular Tags |