Class AttrImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
org.loboevolution.html.dom.nodeimpl.NodeImpl
org.loboevolution.html.dom.nodeimpl.AttrImpl
- All Implemented Interfaces:
Cloneable,EventTarget,Attr,ModelNode,Node,ScriptableDelegate
AttrImpl class.
-
Field Summary
Fields inherited from class org.loboevolution.html.dom.nodeimpl.NodeImpl
document, nodeList, notificationsSuspended, parentNode, uiNodeFields inherited from interface org.loboevolution.html.node.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortcompareDocumentPosition(Node other) compareDocumentPosition.getLocalName.getName()getName.Returns the next sibling.Returns a string appropriate for the type of node.intReturns the type of node.getNodeValue.Returns the previous sibling.getCurrentNode.getTextContent.booleanReturns true if element has attributes, and false otherwise.insertBefore(Node newChild, Node refChild) insertBefore.booleanisId()isId.removeChild(Node oldChild) removeChild.replaceChild(Node newChild, Node oldChild) replaceChild.voidsetNodeValue(String nodeValue) setNodeValue.voidsetOwnerElement(Node ownerElement) setOwnerElement.toString()Methods inherited from class org.loboevolution.html.dom.nodeimpl.NodeImpl
appendChild, appendChildrenToCollectionImpl, appendInnerHTMLImpl, appendInnerTextImpl, clone, cloneNode, cloneNode, contains, createRenderState, extractDescendentsArrayImpl, findUINode, forgetRenderState, getATTRIBUTE_NODE, getAttributes, getBaseURI, getCDATA_SECTION_NODE, getChildIndex, getChildNodes, getChildren, getCOMMENT_NODE, getDescendents, getDOCUMENT_FRAGMENT_NODE, getDOCUMENT_NODE, getDOCUMENT_POSITION_CONTAINED_BY, getDOCUMENT_POSITION_CONTAINS, getDOCUMENT_POSITION_DISCONNECTED, getDOCUMENT_POSITION_FOLLOWING, getDOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, getDOCUMENT_POSITION_PRECEDING, getDOCUMENT_TYPE_NODE, getDocumentItem, getDocumentNode, getDocumentURL, getELEMENT_NODE, getENTITY_NODE, getENTITY_REFERENCE_NODE, getFeature, getFirstChild, getFirstChildByFilter, getFullURL, getHtmlRendererConfig, getHtmlRendererContext, getLastChild, getNamespaceURI, getNextElementSibling, getNextTo, getNodeList, getNONE, getNOTATION_NODE, getOwnerDocument, getParentElement, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousElementSibling, getPreviousTo, getPROCESSING_INSTRUCTION_NODE, getRenderState, getRootNode, getTEXT_NODE, getUINode, getUserAgentContext, getUserData, hasChildNodes, htmlEncodeChildText, informInvalid, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChildAt, removeChildrenImpl, removeTableChildren, replaceAdjacentTextNodes, setDocumentItem, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUINode, setUserData, visit, visitImpl, warn, warnMethods inherited from class org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
addEventListener, addEventListener, dispatchEvent, dispatchEvent, getFunction, removeEventListener, removeEventListenerMethods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptableMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.loboevolution.html.node.Attr
getNamespaceURI, getOwnerElement, getPrefix, getValue, isSpecified, setValueMethods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListenerMethods inherited from interface org.loboevolution.html.node.ModelNode
getDocumentItem, getFullURL, getParentModelNode, getRenderState, isEqualOrDescendentOf, setDocumentItem, warnMethods inherited from interface org.loboevolution.html.node.Node
appendChild, appendChildrenToCollectionImpl, cloneNode, cloneNode, contains, extractDescendentsArrayImpl, findUINode, forgetRenderState, getAttributes, getBaseURI, getChildNodes, getDocumentNode, getFeature, getFirstChild, getLastChild, getNextTo, getOwnerDocument, getParentElement, getParentNode, getPreviousTo, getRootNode, getUserData, hasChildNodes, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, setNamespaceURI, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUserData, visit
-
Constructor Details
-
AttrImpl
public AttrImpl()
-
-
Method Details
-
getLocalName
getLocalName.
- Specified by:
getLocalNamein interfaceAttr- Specified by:
getLocalNamein interfaceNode- Specified by:
getLocalNamein classNodeImpl- Returns:
- a
Stringobject.
-
getName
getName.
-
getNodeName
Returns a string appropriate for the type of node.- Specified by:
getNodeNamein interfaceNode- Specified by:
getNodeNamein classNodeImpl- Returns:
- a
Stringobject.
-
getNodeType
public int getNodeType()Returns the type of node.- Specified by:
getNodeTypein interfaceNode- Specified by:
getNodeTypein classNodeImpl- Returns:
- a
Integerobject.
-
getNodeValue
getNodeValue.
- Specified by:
getNodeValuein interfaceNode- Specified by:
getNodeValuein classNodeImpl- Returns:
- a
Stringobject.
-
getTextContent
getTextContent.
Gets the text content of this node and its descendents.- Specified by:
getTextContentin interfaceNode- Overrides:
getTextContentin classNodeImpl- Returns:
- a
Stringobject.
-
getSchemaTypeInfo
getCurrentNode.
- Specified by:
getSchemaTypeInfoin interfaceAttr- Returns:
- a
TypeInfoobject.
-
isId
public boolean isId()isId.
-
setNodeValue
setNodeValue.
- Specified by:
setNodeValuein interfaceNode- Specified by:
setNodeValuein classNodeImpl- Parameters:
nodeValue- aStringobject.
-
insertBefore
Description copied from class:NodeImplinsertBefore.
- Specified by:
insertBeforein interfaceNode- Overrides:
insertBeforein classNodeImpl- Parameters:
newChild- aNodeobject.refChild- aNodeobject.- Returns:
- a
Nodeobject.
-
removeChild
Description copied from class:NodeImplremoveChild.
- Specified by:
removeChildin interfaceNode- Overrides:
removeChildin classNodeImpl- Parameters:
oldChild- aNodeobject.- Returns:
- a
Nodeobject.
-
replaceChild
Description copied from class:NodeImplreplaceChild.
- Specified by:
replaceChildin interfaceNode- Overrides:
replaceChildin classNodeImpl- Parameters:
newChild- aNodeobject.oldChild- aNodeobject.- Returns:
- a
Nodeobject.
-
getNextSibling
Description copied from class:NodeImplReturns the next sibling.- Specified by:
getNextSiblingin interfaceNode- Overrides:
getNextSiblingin classNodeImpl- Returns:
- a
Nodeobject.
-
getPreviousSibling
Description copied from class:NodeImplReturns the previous sibling.- Specified by:
getPreviousSiblingin interfaceNode- Overrides:
getPreviousSiblingin classNodeImpl- Returns:
- a
Nodeobject.
-
compareDocumentPosition
Description copied from class:NodeImplcompareDocumentPosition.
- Specified by:
compareDocumentPositionin interfaceNode- Overrides:
compareDocumentPositionin classNodeImpl- Parameters:
other- aNodeobject.- Returns:
- a short.
-
hasAttributes
public boolean hasAttributes()Description copied from interface:NodeReturns true if element has attributes, and false otherwise.- Specified by:
hasAttributesin interfaceNode- Returns:
- a boolean.
-
setOwnerElement
Description copied from interface:AttrsetOwnerElement.
- Specified by:
setOwnerElementin interfaceAttr- Parameters:
ownerElement- aNodeobject.
-
toString
Description copied from class:NodeImpl
-