Java Script Binding toScriptBindings(Map context)

Here you can find the source of toScriptBindings(Map context)

Description

to Script Bindings

License

Open Source License

Declaration

public static Bindings toScriptBindings(Map<String, Object> context) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Map;
import javax.script.Bindings;

import javax.script.SimpleBindings;

public class Main {

    public static Bindings toScriptBindings(Map<String, Object> context) {
        return new SimpleBindings(context);
    }//  w  w w . ja  v  a  2  s. c o  m
}

Related

  1. documentFromMap(Bindings from)
  2. getBindings(Bindings bindings)
  3. getBindings(Map bindings)
  4. merge(Bindings former, Bindings latter)
  5. putSimpleField(String field, Bindings options, BasicDBObjectBuilder command)