org.w3c.tidy
Class DOMAttrImpl
org.w3c.tidy.DOMAttrImpl
- public class DOMAttrImpl
DOMAttrImpl
(c) 1998-2000 (W3C) MIT, INRIA, Keio University
See Tidy.java for the copyright notice.
Derived from
HTML Tidy Release 4 Aug 2000
- Version:
- 1.4, 1999/09/04 DOM Support
- Author:
- Dave Raggett , Andy Quick (translation to Java)
avAdaptee
protected AttVal avAdaptee
DOMAttrImpl
protected DOMAttrImpl(AttVal adaptee)
getNodeValue
public String getNodeValue()
throws DOMException
setNodeValue
public void setNodeValue(String nodeValue)
throws DOMException
getNodeName
public String getNodeName()
getNodeType
public short getNodeType()
getParentNode
public Node getParentNode()
getChildNodes
public NodeList getChildNodes()
getFirstChild
public Node getFirstChild()
getLastChild
public Node getLastChild()
getPreviousSibling
public Node getPreviousSibling()
getNextSibling
public Node getNextSibling()
getAttributes
public NamedNodeMap getAttributes()
getOwnerDocument
public Document getOwnerDocument()
insertBefore
public Node insertBefore(Node newChild,
Node refChild)
throws DOMException
replaceChild
public Node replaceChild(Node newChild,
Node oldChild)
throws DOMException
removeChild
public Node removeChild(Node oldChild)
throws DOMException
appendChild
public Node appendChild(Node newChild)
throws DOMException
hasChildNodes
public boolean hasChildNodes()
cloneNode
public Node cloneNode(boolean deep)
getName
public String getName()
- See Also:
org.w3c.dom.Attr#getName
getSpecified
public boolean getSpecified()
- See Also:
org.w3c.dom.Attr#getSpecified
getValue
public String getValue()
- Returns value of this attribute. If this attribute has a null value,
then the attribute name is returned instead.
Thanks to Brett Knights for this fix.
- See Also:
org.w3c.dom.Attr#getValue
setValue
public void setValue(String value)
- See Also:
org.w3c.dom.Attr#setValue
getOwnerElement
public Element getOwnerElement()
- DOM2 - not implemented.
Copyright © 1998-2000 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights reserved.