| com.gargoylesoftware.htmlunit.javascript.SimpleScriptable com.gargoylesoftware.htmlunit.javascript.NamedNodeMap
Method Summary | |
final public Object | get(int index, Scriptable start) Returns the element at the specified index, or NOT_FOUND if the index is invalid. | public Object | getWithFallback(String name) Returns the element with the specified name, or NOT_FOUND if the name is invalid. | public Object | jsxFunction_getNamedItem(String name) Gets the specified attribute.
Parameters: name - attribute name. | public int | jsxGet_length() Returns the number of attributes in this named node map. |
NamedNodeMap | public NamedNodeMap()(Code) | | Rhino requires default constructors.
|
NamedNodeMap | public NamedNodeMap(HtmlElement element)(Code) | | Creates a new named node map for the specified element.
Parameters: element - the owning element |
get | final public Object get(int index, Scriptable start)(Code) | | Returns the element at the specified index, or NOT_FOUND if the index is invalid.
|
getWithFallback | public Object getWithFallback(String name)(Code) | | Returns the element with the specified name, or NOT_FOUND if the name is invalid.
|
jsxFunction_getNamedItem | public Object jsxFunction_getNamedItem(String name)(Code) | | Gets the specified attribute.
Parameters: name - attribute name. The attribute node, null if the attribute is not defined |
jsxGet_length | public int jsxGet_length()(Code) | | Returns the number of attributes in this named node map.
the number of attributes in this named node map |
Methods inherited from com.gargoylesoftware.htmlunit.javascript.SimpleScriptable | public Object get(String name, Scriptable start)(Code)(Java Doc) public static boolean getBooleanArg(int index, Object[] args, boolean defaultValue)(Code)(Java Doc) public String getClassName()(Code)(Java Doc) public Object getDefaultValue(Class hint)(Code)(Java Doc) final public DomNode getDomNodeOrDie() throws IllegalStateException(Code)(Java Doc) final public DomNode getDomNodeOrNull()(Code)(Java Doc) public static int getIntArg(int index, Object[] args, int defaultValue)(Code)(Java Doc) final protected Log getLog()(Code)(Java Doc) public static Object getObjectArg(int index, Object[] args, Object defaultValue)(Code)(Java Doc) protected Scriptable getPrototype(Class javaScriptClass)(Code)(Java Doc) protected SimpleScriptable getScriptableFor(Object object)(Code)(Java Doc) protected Scriptable getStartingScope()(Code)(Java Doc) public static String getStringArg(int index, Object[] args, String defaultValue)(Code)(Java Doc) protected Transformer getTransformerScriptableFor()(Code)(Java Doc) protected Window getWindow() throws RuntimeException(Code)(Java Doc) protected static Window getWindow(Scriptable s) throws RuntimeException(Code)(Java Doc) protected Object getWithPreemption(String name)(Code)(Java Doc) public SimpleScriptable makeScriptableFor(DomNode domNode)(Code)(Java Doc) public void setDomNode(DomNode domNode)(Code)(Java Doc) protected void setDomNode(DomNode domNode, boolean assignScriptObject)(Code)(Java Doc) public void setHtmlElement(HtmlElement htmlElement)(Code)(Java Doc)
|
|
|