org.stjs.javascript.dom
Class Document

java.lang.Object
  extended by org.stjs.javascript.dom.Node
      extended by org.stjs.javascript.dom.Document

public abstract class Document
extends Node


Field Summary
 HTMLCollection<Anchor> anchors
           
 HTMLCollection<Applet> applets
           
 Element body
           
 String cookie
           
 Element documentElement
           
 String documentURI
           
 String domain
           
 HTMLCollection<Form> forms
           
 HTMLCollection<Image> images
           
 HTMLCollection<Link> links
           
 Location location
           
 String referrer
           
 String title
           
 String URL
           
 
Fields inherited from class org.stjs.javascript.dom.Node
attributes, baseURI, childNodes, firstChild, hasAttributes, hasChildNodes, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, ownerDocument, parentNode, prefix, previousSibling, textContent
 
Constructor Summary
Document()
           
 
Method Summary
 void close()
           
 Attr createAttribute(String name)
           
 Element createElement(String tagName)
           
 Text createTextNode(String data)
           
 Element getElementById(String id)
           
 HTMLList<Element> getElementsByName(String arg0)
           
 HTMLList<Element> getElementsByTagName(String tagName)
           
 void open()
           
 void write(String arg0)
           
 void writeln(String arg0)
           
 
Methods inherited from class org.stjs.javascript.dom.Node
appendChild, cloneNode, compareDocumentPosition, getFeature, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL

public String URL

documentURI

public String documentURI

anchors

public HTMLCollection<Anchor> anchors

applets

public HTMLCollection<Applet> applets

body

public Element body

cookie

public String cookie

domain

public String domain

forms

public HTMLCollection<Form> forms

images

public HTMLCollection<Image> images

links

public HTMLCollection<Link> links

referrer

public String referrer

title

public String title

documentElement

public Element documentElement

location

public Location location
Constructor Detail

Document

public Document()
Method Detail

getElementsByName

public HTMLList<Element> getElementsByName(String arg0)

getElementById

public Element getElementById(String id)

getElementsByTagName

public HTMLList<Element> getElementsByTagName(String tagName)

writeln

public void writeln(String arg0)

write

public void write(String arg0)

close

public void close()

open

public void open()

createElement

public Element createElement(String tagName)

createTextNode

public Text createTextNode(String data)

createAttribute

public Attr createAttribute(String name)


Copyright © 2013. All Rights Reserved.