Java Javascript Mozilla Library grabContextFactoryGlobalSetter()

Here you can find the source of grabContextFactoryGlobalSetter()

Description

grab Context Factory Global Setter

License

Apache License

Declaration

public static void grabContextFactoryGlobalSetter() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import org.mozilla.javascript.ContextFactory;

public class Main {
    private static ContextFactory.GlobalSetter globalSetter;

    public static void grabContextFactoryGlobalSetter() {
        if (globalSetter == null) {
            globalSetter = ContextFactory.getGlobalSetter();
        }/*from  w w  w  .  j a  v  a 2  s.  c o  m*/
    }
}

Related

  1. getScriptableArgument(Object[] args, int pos, boolean allowNull)
  2. getStaticProperty(Scriptable mixin, String name)
  3. getStringArgument(Object[] args, int pos, boolean allowNull)
  4. getStringValue(AstNode element)
  5. getXhtmlLinks(Object xhtml)
  6. isContained(AstNode mayAncestor, AstNode filial)
  7. isDefined(final Object object)
  8. isName(AstNode node, String value)
  9. isNullNativeObject(Object val)