org.w3c.tidy

Class DOMAttrImpl

Implemented Interfaces:
org.w3c.dom.Attr, Cloneable, org.w3c.dom.Node

public class DOMAttrImpl
extends DOMNodeImpl
implements org.w3c.dom.Attr, Cloneable

Tidy implementation of org.w3c.dom.DOMAttrImpl.
Version:
$Revision: 738 $ ($Author: fgiust $)
Authors:
Dave Raggett dsr@w3.org
Andy Quick ac.quick@sympatico.ca (translation to Java)
Fabrizio Giustina

Field Summary

protected AttVal
avAdaptee
wrapped org.w3c.tidy.AttVal.

Fields inherited from class org.w3c.tidy.DOMNodeImpl

adaptee

Constructor Summary

DOMAttrImpl(AttVal adaptee)
instantiates a new DOMAttrImpl which wraps the given AttVal.

Method Summary

org.w3c.dom.Node
appendChild(org.w3c.dom.Node newChild)
Not supported.
protected Object
clone()
org.w3c.dom.Node
cloneNode(boolean deep)
org.w3c.dom.NamedNodeMap
getAttributes()
org.w3c.dom.NodeList
getChildNodes()
org.w3c.dom.Node
getFirstChild()
org.w3c.dom.Node
getLastChild()
String
getName()
org.w3c.dom.Node
getNextSibling()
String
getNodeName()
short
getNodeType()
String
getNodeValue()
org.w3c.dom.Document
getOwnerDocument()
org.w3c.dom.Element
getOwnerElement()
org.w3c.dom.Node
getParentNode()
org.w3c.dom.Node
getPreviousSibling()
TypeInfo
getSchemaTypeInfo()
boolean
getSpecified()
String
getValue()
boolean
hasChildNodes()
org.w3c.dom.Node
insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild)
Not supported.
boolean
isId()
org.w3c.dom.Node
removeChild(org.w3c.dom.Node oldChild)
Not supported.
org.w3c.dom.Node
replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild)
Not supported.
void
setNodeValue(String nodeValue)
void
setValue(String value)

Methods inherited from class org.w3c.tidy.DOMNodeImpl

appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, supports

Field Details

avAdaptee

protected AttVal avAdaptee
wrapped org.w3c.tidy.AttVal.

Constructor Details

DOMAttrImpl

protected DOMAttrImpl(AttVal adaptee)
instantiates a new DOMAttrImpl which wraps the given AttVal.
Parameters:
adaptee - wrapped AttVal

Method Details

appendChild

public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
            throws DOMException
Not supported.
Overrides:
appendChild in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.appendChild(org.w3c.dom.Node)

clone

protected Object clone()
See Also:
java.lang.Object.clone()

cloneNode

public org.w3c.dom.Node cloneNode(boolean deep)
Overrides:
cloneNode in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.cloneNode(boolean)

getAttributes

public org.w3c.dom.NamedNodeMap getAttributes()
Overrides:
getAttributes in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getAttributes()

getChildNodes

public org.w3c.dom.NodeList getChildNodes()
Overrides:
getChildNodes in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getChildNodes()

getFirstChild

public org.w3c.dom.Node getFirstChild()
Overrides:
getFirstChild in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getFirstChild()

getLastChild

public org.w3c.dom.Node getLastChild()
Overrides:
getLastChild in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getLastChild()

getName

public String getName()
See Also:
org.w3c.dom.Attr.getName

getNextSibling

public org.w3c.dom.Node getNextSibling()
Overrides:
getNextSibling in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getNextSibling()

getNodeName

public String getNodeName()
Overrides:
getNodeName in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getNodeName()

getNodeType

public short getNodeType()
Overrides:
getNodeType in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getNodeType()

getNodeValue

public String getNodeValue()
            throws DOMException
Overrides:
getNodeValue in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getNodeValue()

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
Overrides:
getOwnerDocument in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getOwnerDocument()

getOwnerElement

public org.w3c.dom.Element getOwnerElement()
See Also:
org.w3c.dom.Attr.getOwnerElement()

getParentNode

public org.w3c.dom.Node getParentNode()
Overrides:
getParentNode in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getParentNode()

getPreviousSibling

public org.w3c.dom.Node getPreviousSibling()
Overrides:
getPreviousSibling in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.getPreviousSibling()

getSchemaTypeInfo

public TypeInfo getSchemaTypeInfo()
See Also:
org.w3c.dom.Attr.getSchemaTypeInfo()

getSpecified

public boolean getSpecified()
See Also:
org.w3c.dom.Attr.getSpecified

getValue

public String getValue()
See Also:
org.w3c.dom.Attr.getValue

hasChildNodes

public boolean hasChildNodes()
Overrides:
hasChildNodes in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.hasChildNodes()

insertBefore

public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild,
                                     org.w3c.dom.Node refChild)
            throws DOMException
Not supported.
Overrides:
insertBefore in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)

isId

public boolean isId()
See Also:
org.w3c.dom.Attr.isId()

removeChild

public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
            throws DOMException
Not supported.
Overrides:
removeChild in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.removeChild(org.w3c.dom.Node)

replaceChild

public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild,
                                     org.w3c.dom.Node oldChild)
            throws DOMException
Not supported.
Overrides:
replaceChild in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)

setNodeValue

public void setNodeValue(String nodeValue)
            throws DOMException
Overrides:
setNodeValue in interface DOMNodeImpl
See Also:
org.w3c.dom.Node.setNodeValue(java.lang.String)

setValue

public void setValue(String value)
See Also:
org.w3c.dom.Attr.setValue(java.lang.String)