org.lobobrowser.html.domimpl

Class AttrImpl

Implemented Interfaces:
Attr, Node, ModelNode, ScriptableDelegate

public class AttrImpl
extends NodeImpl
implements Attr

Field Summary

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

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

Constructor Summary

AttrImpl(String name)
AttrImpl(String name, String value, boolean specified, Element owner, boolean isId)

Method Summary

protected Node
createSimilarNode()
Should create a node with some cloned properties, like the node name, but not attributes or children.
String
getLocalName()
String
getName()
String
getNodeName()
short
getNodeType()
String
getNodeValue()
Element
getOwnerElement()
TypeInfo
getSchemaTypeInfo()
boolean
getSpecified()
String
getValue()
boolean
isId()
void
setId(boolean value)
void
setNodeValue(String nodeValue)
void
setValue(String value)

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

appendChild, cloneNode, compareDocumentPosition, createRenderState, createSimilarNode, equalAttributes, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getAttributes, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, 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, 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

AttrImpl

public AttrImpl(String name)
Parameters:
name -

AttrImpl

public AttrImpl(String name,
                String value,
                boolean specified,
                Element owner,
                boolean isId)
Parameters:
name -
value -

Method Details

createSimilarNode

protected Node createSimilarNode()
Should create a node with some cloned properties, like the node name, but not attributes or children.
Overrides:
createSimilarNode in interface NodeImpl

getLocalName

public String getLocalName()
Overrides:
getLocalName in interface NodeImpl

getName

public String getName()

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

getOwnerElement

public Element getOwnerElement()

getSchemaTypeInfo

public TypeInfo getSchemaTypeInfo()

getSpecified

public boolean getSpecified()

getValue

public String getValue()

isId

public boolean isId()

setId

public void setId(boolean value)

setNodeValue

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

setValue

public void setValue(String value)
            throws DOMException