appendChild
public Node appendChild(Node newChild)
throws DOMException
appendInnerHTMLImpl
protected void appendInnerHTMLImpl(StringBuffer buffer)
cloneNode
public Node cloneNode(boolean deep)
compareDocumentPosition
public short compareDocumentPosition(Node other)
throws DOMException
createSimilarNode
protected abstract Node createSimilarNode()
Should create a node with some cloned properties, like the node name,
but not attributes or children.
equalAttributes
public boolean equalAttributes(Node arg)
findUINode
public UINode findUINode()
Tries to get a UINode associated with the current node.
Failing that, it tries ancestors recursively. This method
will return the closest block-level renderer node, if any.
forgetRenderState
protected void forgetRenderState()
getAlignmentX
public float getAlignmentX()
getAlignmentY
public float getAlignmentY()
getAttributes
public NamedNodeMap getAttributes()
getBaseURI
public String getBaseURI()
getChildNodes
public NodeList getChildNodes()
getChildrenArray
public NodeImpl[] getChildrenArray()
getDescendents
public ArrayList getDescendents(NodeFilter filter,
boolean nestIntoMatchingNodes)
Creates an ArrayList
of descendent nodes that
the given filter condition.
getDocumentURL
public URL getDocumentURL()
getFeature
public Object getFeature(String feature,
String version)
getFirstChild
public Node getFirstChild()
getFullURL
public URL getFullURL(String spec)
throws MalformedURLException
- getFullURL in interface ModelNode
getInnerHTML
public String getInnerHTML()
getLastChild
public Node getLastChild()
getLocalName
public abstract String getLocalName()
getNamespaceURI
public String getNamespaceURI()
getNextSibling
public Node getNextSibling()
getNodeList
protected NodeList getNodeList(NodeFilter filter)
getNodeName
public abstract String getNodeName()
getNodeType
public abstract short getNodeType()
getNodeValue
public abstract String getNodeValue()
throws DOMException
getOwnerDocument
public Document getOwnerDocument()
getParentNode
public Node getParentNode()
getParentRenderState
protected final RenderState getParentRenderState(Object parent)
getPrefix
public String getPrefix()
getPreviousSibling
public Node getPreviousSibling()
getTextContent
public String getTextContent()
throws DOMException
Gets the text content of this node
and its descendents.
getUINode
public UINode getUINode()
getUserData
public Object getUserData(String key)
hasAttributes
public boolean hasAttributes()
hasChildNodes
public boolean hasChildNodes()
informExternalScriptLoading
protected void informExternalScriptLoading()
informInvalid
public void informInvalid()
informLayoutInvalid
public void informLayoutInvalid()
informLookInvalid
public void informLookInvalid()
informNodeLoaded
protected void informNodeLoaded()
informPositionInvalid
public void informPositionInvalid()
informSizeInvalid
public void informSizeInvalid()
informStructureInvalid
public void informStructureInvalid()
insertAfter
public Node insertAfter(Node newChild,
Node refChild)
insertAt
protected Node insertAt(Node newChild,
int idx)
throws DOMException
insertBefore
public Node insertBefore(Node newChild,
Node refChild)
throws DOMException
isDefaultNamespace
public boolean isDefaultNamespace(String namespaceURI)
isEqualNode
public boolean isEqualNode(Node arg)
isSameNode
public boolean isSameNode(Node other)
isSupported
public boolean isSupported(String feature,
String version)
lookupNamespaceURI
public String lookupNamespaceURI(String prefix)
lookupPrefix
public String lookupPrefix(String namespaceURI)
normalize
public void normalize()
removeAllChildren
protected void removeAllChildren()
removeAllChildrenImpl
protected void removeAllChildrenImpl()
removeChild
public Node removeChild(Node oldChild)
throws DOMException
removeChildAt
public Node removeChildAt(int index)
throws DOMException
removeChildren
protected void removeChildren(NodeFilter filter)
removeChildrenImpl
protected void removeChildrenImpl(NodeFilter filter)
replaceAdjacentTextNodes
public Text replaceAdjacentTextNodes(Text node)
replaceAdjacentTextNodes
public Text replaceAdjacentTextNodes(Text node,
String textContent)
replaceChild
public Node replaceChild(Node newChild,
Node oldChild)
throws DOMException
setDocumentItem
public void setDocumentItem(String name,
Object value)
Sets a document item. A radio button, for example,
can use this to set button group state.
- setDocumentItem in interface ModelNode
setNodeValue
public abstract void setNodeValue(String nodeValue)
throws DOMException
setPrefix
public void setPrefix(String prefix)
throws DOMException
setTextContent
public void setTextContent(String textContent)
throws DOMException
setUINode
public void setUINode(UINode uiNode)
setUserData
public Object setUserData(String key,
Object data,
UserDataHandler handler)
toString
public String toString()
warn
public void warn(String message)
warn
public void warn(String message,
Throwable err)
- warn in interface ModelNode