}
protected String addMapping(Mapping mapping, JipletContext context)
throws JipletException
{
MappingCompiler compiler = new MappingCompiler();
compiler.setCompiledList(criteria);
compiler.setMappedObject(context);
compiler.setMapping(mapping);
synchronized (criteria)
{
String ret = compiler.compile();
if (ret == null)
{
throw new JipletException("Failed to compile mapping");
}