Lines Matching refs:global
20 * This is a special implementation of ChainedData to be used for holding the local and global Data
21 * objects (like local and global HDFs in Clearsilver). It prevents writes and modifications to the
22 * global Data object and applies them all to the local data object.
30 * global-scoped HDF that can be read from the template renderer. Part of the backwards
34 * @param global application global HDF data that should be read but not written to from the
37 public LocalAndGlobalData(Data local, Data global) {
38 this(local, global, false);
43 * global-scoped HDF that can be read from the template renderer. Part of the backwards
44 * compatibility with JNI Clearsilver and its globalHdf support. We wrap the global HDF in an
48 * @param global application global HDF data that should be read but not written to from the
51 * the global Data with an Unmodifiable wrapper. Should not be set to {@code true} unless
53 * introduce bugs in templates that acquire local references to the global data structure
56 public LocalAndGlobalData(Data local, Data global, boolean allowGlobalDataModification) {
57 super(local, prepareGlobal(global, allowGlobalDataModification));
61 private static Data prepareGlobal(Data global, boolean allowGlobalDataModification) {
63 return global;
65 return new UnmodifiableData(global);
71 // We never want to modify the global Data object.