1 50 51 package org.openlaszlo.iv.flash.context; 52 53 import org.openlaszlo.iv.flash.api.*; 54 import java.util.*; 55 56 68 public class FakeContext extends Context { 69 70 private Context context; 72 public FakeContext() {} 73 74 public FakeContext( Context parent ) { 75 setParent( parent ); 76 } 77 78 public String getValue( String name ) { 79 return getValueFromParent(name); 80 } 81 82 public Context getContext() { 83 return context; 84 } 85 86 public void setContext( Context context ) { 87 this.context = context; 88 } 89 } 90 | Popular Tags |