com.manspace.resultSetDOMWrapper
Class ReadOnlyNode

java.lang.Object
  |
  +--com.manspace.resultSetDOMWrapper.ReadOnlyNode
All Implemented Interfaces:
org.w3c.dom.Node
Direct Known Subclasses:
MetaDataAttribute, ReadOnlyElement, ValueCDATASection

public abstract class ReadOnlyNode
extends java.lang.Object
implements org.w3c.dom.Node

Implements a read-only node

Version:
1.0
Author:
Tal Rotbart

Field Summary
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
ReadOnlyNode()
           
 
Method Summary
 org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
           
 java.lang.String getNodeName()
           
 java.lang.String getTagName()
           
 org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild)
           
 boolean isSupported(java.lang.String feature, java.lang.String version)
           
 void normalize()
           
 org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
           
 org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild)
           
 void setNodeValue(java.lang.String nodeValue)
           
 void setPrefix(java.lang.String prefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes
 

Constructor Detail

ReadOnlyNode

public ReadOnlyNode()
Method Detail

appendChild

public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
                             throws org.w3c.dom.DOMException
Specified by:
appendChild in interface org.w3c.dom.Node
org.w3c.dom.DOMException
See Also:
Node.appendChild(org.w3c.dom.Node)

insertBefore

public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild,
                                     org.w3c.dom.Node refChild)
                              throws org.w3c.dom.DOMException
Specified by:
insertBefore in interface org.w3c.dom.Node
org.w3c.dom.DOMException
See Also:
Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)

isSupported

public boolean isSupported(java.lang.String feature,
                           java.lang.String version)
Specified by:
isSupported in interface org.w3c.dom.Node
See Also:
Node.isSupported(java.lang.String, java.lang.String)

normalize

public void normalize()
Specified by:
normalize in interface org.w3c.dom.Node
See Also:
Node.normalize()

removeChild

public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
                             throws org.w3c.dom.DOMException
Specified by:
removeChild in interface org.w3c.dom.Node
org.w3c.dom.DOMException
See Also:
Node.removeChild(org.w3c.dom.Node)

replaceChild

public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild,
                                     org.w3c.dom.Node oldChild)
                              throws org.w3c.dom.DOMException
Specified by:
replaceChild in interface org.w3c.dom.Node
org.w3c.dom.DOMException
See Also:
Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)

setNodeValue

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

setPrefix

public void setPrefix(java.lang.String prefix)
               throws org.w3c.dom.DOMException
Specified by:
setPrefix in interface org.w3c.dom.Node
org.w3c.dom.DOMException
See Also:
Node.setPrefix(java.lang.String)

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface org.w3c.dom.Node
See Also:
Node.getNodeName()

getTagName

public java.lang.String getTagName()
See Also:
Element.getTagName()


Copyright © 2003 Tal Rotbart, Manspace. See LICENSE.TXT for license.