com.gargoylesoftware.htmlunit.javascript.host
Class DOMImplementation

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
          extended by com.gargoylesoftware.htmlunit.javascript.host.DOMImplementation
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class DOMImplementation
extends SimpleScriptable

A JavaScript object for DOMImplementation.

Version:
$Revision: 1.3 $
Author:
Ahmed Ashour
See Also:
W3C Dom Level 1, Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
DOMImplementation()
  
 
Method Summary
 void jsConstructor()
 Javascript constructor.
 boolean jsxFunction_hasFeature(java.lang.String feature, java.lang.String version)
 Test if the DOM implementation implements a specific feature.
 
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getHtmlElementOrDie, getHtmlElementOrNull, getIntArg, getObjectArg, getStringArg, makeScriptableFor, setDomNode, setHtmlElement
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMImplementation

public DOMImplementation()
Method Detail

jsConstructor

public void jsConstructor()
Javascript constructor.


jsxFunction_hasFeature

public boolean jsxFunction_hasFeature(java.lang.String feature,
                                      java.lang.String version)
Test if the DOM implementation implements a specific feature.

Parameters:
feature - The name of the feature to test (case-insensitive).
version - The version number of the feature to test.
Returns:
true if the feature is implemented in the specified version, false otherwise.


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.