org.lobobrowser.html.domimpl

Class HTMLProcessingInstruction

Implemented Interfaces:
Cloneable, Node, ProcessingInstruction, ModelNode, ScriptableDelegate

public class HTMLProcessingInstruction
extends NodeImpl
implements ProcessingInstruction, Cloneable

HTML DOM object representing processing instruction as per HTML 4.0 specification.
Author:
vitek

Field Summary

Fields inherited from class org.lobobrowser.html.domimpl.NodeImpl

document, logger, nodeList, notificationsSuspended, parentNode, treeLock, uiNode

Constructor Summary

HTMLProcessingInstruction(String target, String data)

Method Summary

Object
clone()
protected Node
createSimilarNode()
String
getData()
String
getLocalName()
String
getNodeName()
short
getNodeType()
String
getNodeValue()
String
getTarget()
void
setData(String data)
void
setNodeValue(String nodeValue)
String
toString()

Methods inherited from class org.lobobrowser.html.domimpl.NodeImpl

appendChild, appendInnerHTMLImpl, cloneNode, compareDocumentPosition, createRenderState, createSimilarNode, equalAttributes, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getAttributes, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, getInnerHTML, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeList, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousSibling, getRenderState, getTextContent, getUINode, getUserAgentContext, getUserData, hasAttributes, hasChildNodes, informExternalScriptLoading, informInvalid, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenImpl, removeChild, removeChildAt, removeChildren, removeChildrenImpl, replaceAdjacentTextNodes, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setNodeValue, setPrefix, setTextContent, setUINode, setUserData, toString, warn, warn

Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate

getScriptable, setScriptable

Constructor Details

HTMLProcessingInstruction

public HTMLProcessingInstruction(String target,
                                 String data)

Method Details

clone

public Object clone()

createSimilarNode

protected Node createSimilarNode()
Overrides:
createSimilarNode in interface NodeImpl

getData

public String getData()

getLocalName

public String getLocalName()
Overrides:
getLocalName in interface NodeImpl

getNodeName

public String getNodeName()
Overrides:
getNodeName in interface NodeImpl

getNodeType

public short getNodeType()
Overrides:
getNodeType in interface NodeImpl

getNodeValue

public String getNodeValue()
            throws DOMException
Overrides:
getNodeValue in interface NodeImpl

getTarget

public String getTarget()

setData

public void setData(String data)
            throws DOMException

setNodeValue

public void setNodeValue(String nodeValue)
            throws DOMException
Overrides:
setNodeValue in interface NodeImpl

toString

public String toString()
Overrides:
toString in interface NodeImpl