本文整理了Java中org.mozilla.javascript.Context.getE4xImplementationFactory()
方法的一些代码示例,展示了Context.getE4xImplementationFactory()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Context.getE4xImplementationFactory()
方法的具体详情如下:
包路径:org.mozilla.javascript.Context
类名称:Context
方法名:getE4xImplementationFactory
[英]Returns an object which specifies an E4X implementation to use within this Context
. Note that the XMLLib.Factory interface should be considered experimental. The default implementation uses the implementation provided by this Context
's ContextFactory.
[中]返回一个对象,该对象指定要在此Context
中使用的E4X实现。请注意,XMLLib。工厂接口应视为实验性接口。默认实现使用此Context
的ContextFactory提供的实现。
代码示例来源:origin: com.sun.phobos/phobos-rhino
NativeScript.init(scope, sealed);
boolean withXml = cx.hasFeature(Context.FEATURE_E4X) && cx.getE4xImplementationFactory() != null;
continue;
} else if (withXml && className.equals("(xml)")) {
className = cx.getE4xImplementationFactory().getImplementationClassName();
代码示例来源:origin: rhino/js
cx.getE4xImplementationFactory() != null;
continue;
} else if (withXml && className.equals("(xml)")) {
className = cx.getE4xImplementationFactory().
getImplementationClassName();
代码示例来源:origin: ro.isdc.wro4j/rhino
cx.getE4xImplementationFactory() != null;
String xmlImpl = cx.getE4xImplementationFactory().getImplementationClassName();
new LazilyLoadedCtor(scope, "XML", xmlImpl, sealed, true);
new LazilyLoadedCtor(scope, "XMLList", xmlImpl, sealed, true);
代码示例来源:origin: com.github.tntim96/rhino
cx.getE4xImplementationFactory() != null;
String xmlImpl = cx.getE4xImplementationFactory().getImplementationClassName();
new LazilyLoadedCtor(scope, "XML", xmlImpl, sealed, true);
new LazilyLoadedCtor(scope, "XMLList", xmlImpl, sealed, true);
代码示例来源:origin: io.apigee/rhino
cx.getE4xImplementationFactory() != null;
String xmlImpl = cx.getE4xImplementationFactory().getImplementationClassName();
new LazilyLoadedCtor(scope, "XML", xmlImpl, sealed, true);
new LazilyLoadedCtor(scope, "XMLList", xmlImpl, sealed, true);
代码示例来源:origin: geogebra/geogebra
cx.getE4xImplementationFactory() != null;
String xmlImpl = cx.getE4xImplementationFactory().getImplementationClassName();
new LazilyLoadedCtor(scope, "XML", xmlImpl, sealed, true);
new LazilyLoadedCtor(scope, "XMLList", xmlImpl, sealed, true);
内容来源于网络,如有侵权,请联系作者删除!