public final class DocumentFragment
extends com.google.gwt.dom.client.Node
We've added this class because at the time of writing GWT doesn't offer a similar implementation.
See http://code.google.com/p/google-web-toolkit/issues/detail?id=2955.
| Modifier | Constructor and Description |
|---|---|
protected |
DocumentFragment()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentFragment |
as(com.google.gwt.dom.client.Node node)
Assert that the given
Node is a DocumentFragment and automatically typecast it. |
String |
getInnerHTML() |
String |
getInnerText() |
static boolean |
is(com.google.gwt.dom.client.Node node)
Determine whether the given
Node can be cast to a DocumentFragment. |
appendChild, as, cloneNode, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, hasChildNodes, hasParentElement, insertAfter, insertBefore, insertFirst, is, isOrHasChild, removeAllChildren, removeChild, removeFromParent, replaceChild, setNodeValueprotected DocumentFragment()
public static boolean is(com.google.gwt.dom.client.Node node)
Node can be cast to a DocumentFragment. A null node will
cause this method to return false.node - a DOM nodetrue if the given node is a document fragment, false otherwisepublic static DocumentFragment as(com.google.gwt.dom.client.Node node)
Node is a DocumentFragment and automatically typecast it.node - a document fragment DOM nodepublic String getInnerHTML()
public String getInnerText()
Copyright © 2004–2016 XWiki. All rights reserved.