caucho
Resin 1.1
FAQ
Reference
JavaDoc
Demo
Java Tutorial

Getting Started
Configuration
Servlet
JSP
XTP/XSL
JavaScript
JS Library

Core Library
File Library
Servlet Library
Database Library
XML Library

Parser
XQL
XSL
Document
Node
Element
Text
Comment
EntityRef
CData
PI
 XML Comment

Comment inherits from Node.

See Text for examples.

Comment
nodeName Returns '#comment'
nodeType Returns COMMENT_NODE
nodeValue Returns the comment data.
data Returns the comment data.
length Returns the length of the comment.
substringData(offset, count) Returns a count character substring starting at offset
appendData(data) Appends data to the text.
insertData(offset, data) Inserts data to the text.
deleteData(offset, count) Deletes a range of data from the text.
replaceData(offset, count, data) Replaces the range with the new data.

Comment DOM 1.0

nodeName

Returns '#comment'

nodeType

Returns COMMENT_NODE

nodeValue

Returns the comment data.

data

Returns the comment data.

length

Returns the length of the comment.

substringData(offset, count)

Returns a count character substring starting at offset

appendData(data)

Appends data to the text.

insertData(offset, data)

Inserts data to the text.

deleteData(offset, count)

Deletes a range of data from the text.

replaceData(offset, count, data)

Replaces the range with the new data.

Text   EntityRef
Copyright © 1998-2000 Caucho Technology. All rights reserved.
Last modified: Fri, 31 Mar 2000 18:56:38 -0800 (PST)