com.gargoylesoftware.htmlunit.html
Class DomDocumentFragment

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.html.DomNode
      extended by com.gargoylesoftware.htmlunit.html.DomDocumentFragment
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class DomDocumentFragment
extends DomNode

A JavaScript object for DocumentFragment.

Version:
$Revision: 1.3 $
Author:
Ahmed Ashour
See Also:
Serialized Form

Field Summary
static java.lang.String NODE_NAME
 The symbolic node name
 
Fields inherited from class com.gargoylesoftware.htmlunit.html.DomNode
PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZED
 
Constructor Summary
DomDocumentFragment(HtmlPage htmlPage)
 Creates an instance.
 
Method Summary
 java.lang.String getNodeName()
 Get the name for the current node.
 short getNodeType()
 Get the type of the current node.
 
Methods inherited from class com.gargoylesoftware.htmlunit.html.DomNode
addDomChangeListener, appendDomChild, asText, asXml, cloneDomNode, getAllHtmlChildElements, getByXPath, getChildIterator, getEndColumnNumber, getEndLineNumber, getEventHandler, getFirstDomChild, getLastDomChild, getNextDomSibling, getNodeValue, getPage, getParentDomNode, getPreviousDomSibling, getReadyState, getScriptObject, getStartColumnNumber, getStartLineNumber, insertBefore, remove, removeAllChildren, removeDomChangeListener, removeEventHandler, replace, setEventHandler, setEventHandler, setNodeValue, setReadyState, setScriptObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE_NAME

public static final java.lang.String NODE_NAME
The symbolic node name

See Also:
Constant Field Values
Constructor Detail

DomDocumentFragment

public DomDocumentFragment(HtmlPage htmlPage)
Creates an instance.

Parameters:
htmlPage - The page which contains this node.
Method Detail

getNodeName

public java.lang.String getNodeName()
Get the name for the current node.

Specified by:
getNodeName in class DomNode
Returns:
the node name, in this case NODE_NAME

getNodeType

public short getNodeType()
Get the type of the current node.

Specified by:
getNodeType in class DomNode
Returns:
the node type constant, in this case Node.DOCUMENT_FRAGMENT_NODE


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