All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.spotnext.cms.rendering.view.ViewContext Maven / Gradle / Ivy

There is a newer version: 1.0.21-BETA-20190513
Show newest version
package io.spotnext.cms.rendering.view;

import java.util.HashMap;
import java.util.Map;

/**
 * 

ViewContext class.

*/ public class ViewContext { private final Map context = new HashMap<>(); /** *

add.

* * @param property a {@link java.lang.String} object. * @param value a {@link java.lang.Object} object. */ public void add(final String property, final Object value) { context.put(property, value); } /** *

get.

* * @param property a {@link java.lang.String} object. * @return a {@link java.lang.Object} object. */ public Object get(final String property) { return context.get(property); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy