org.apache.xerces.impl.xs.opti

Class DefaultNode

Implemented Interfaces:
Node
Known Direct Subclasses:
NodeImpl

public class DefaultNode
extends java.lang.Object
implements Node

Version:
$Id: DefaultNode.java,v 1.9 2005/05/02 22:00:52 mrglavas Exp $
Author:
Rahul Srivastava, Sun Microsystems Inc.

Constructor Summary

DefaultNode()

Method Summary

Node
appendChild(Node newChild)
Node
cloneNode(boolean deep)
short
compareDocumentPosition(Node other)
NamedNodeMap
getAttributes()
String
getBaseURI()
DOM Level 3
NodeList
getChildNodes()
Object
getFeature(String feature, String version)
Node
getFirstChild()
Node
getLastChild()
String
getLocalName()
String
getNamespaceURI()
Node
getNextSibling()
String
getNodeName()
short
getNodeType()
String
getNodeValue()
Document
getOwnerDocument()
Node
getParentNode()
String
getPrefix()
Node
getPreviousSibling()
String
getTextContent()
Object
getUserData(String key)
boolean
hasAttributes()
boolean
hasChildNodes()
Node
insertBefore(Node newChild, Node refChild)
boolean
isDefaultNamespace(String namespaceURI)
boolean
isEqualNode(Node arg)
boolean
isSameNode(Node other)
boolean
isSupported(String feature, String version)
String
lookupNamespaceURI(String prefix)
String
lookupPrefix(String namespaceURI)
void
normalize()
Node
removeChild(Node oldChild)
Node
replaceChild(Node newChild, Node oldChild)
void
setNodeValue(String nodeValue)
void
setPrefix(String prefix)
void
setTextContent(String textContent)
Object
setUserData(String key, Object data, UserDataHandler handler)

Constructor Details

DefaultNode

public DefaultNode()

Method Details

appendChild

public Node appendChild(Node newChild)
            throws DOMException

cloneNode

public Node cloneNode(boolean deep)

compareDocumentPosition

public short compareDocumentPosition(Node other)

getAttributes

public NamedNodeMap getAttributes()

getBaseURI

public String getBaseURI()
DOM Level 3

getChildNodes

public NodeList getChildNodes()

getFeature

public Object getFeature(String feature,
                         String version)

getFirstChild

public Node getFirstChild()

getLastChild

public Node getLastChild()

getLocalName

public String getLocalName()

getNamespaceURI

public String getNamespaceURI()

getNextSibling

public Node getNextSibling()

getNodeName

public String getNodeName()

getNodeType

public short getNodeType()

getNodeValue

public String getNodeValue()
            throws DOMException

getOwnerDocument

public Document getOwnerDocument()

getParentNode

public Node getParentNode()

getPrefix

public String getPrefix()

getPreviousSibling

public Node getPreviousSibling()

getTextContent

public String getTextContent()
            throws DOMException

getUserData

public Object getUserData(String key)

hasAttributes

public boolean hasAttributes()

hasChildNodes

public boolean hasChildNodes()

insertBefore

public Node insertBefore(Node newChild,
                         Node refChild)
            throws DOMException

isDefaultNamespace

public boolean isDefaultNamespace(String namespaceURI)

isEqualNode

public boolean isEqualNode(Node arg)

isSameNode

public boolean isSameNode(Node other)

isSupported

public boolean isSupported(String feature,
                           String version)

lookupNamespaceURI

public String lookupNamespaceURI(String prefix)

lookupPrefix

public String lookupPrefix(String namespaceURI)

normalize

public void normalize()

removeChild

public Node removeChild(Node oldChild)
            throws DOMException

replaceChild

public Node replaceChild(Node newChild,
                         Node oldChild)
            throws DOMException

setNodeValue

public void setNodeValue(String nodeValue)
            throws DOMException

setPrefix

public void setPrefix(String prefix)
            throws DOMException

setTextContent

public void setTextContent(String textContent)
            throws DOMException

setUserData

public Object setUserData(String key,
                          Object data,
                          UserDataHandler handler)

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.