::class xmlComment public subclass xmlNode inherit xmlCharacterData

CLASS: xmlComment

This interface inherits from xmlCharacterData and represents the content of a comment, i.e., all the characters
between the starting ''. Note that this is the definition of a comment in XML, and, in practice,
HTML, although some HTML tools may implement the full SGML comment structure.

No lexical check is done on the content of a comment and it is therefore possible to have the character sequence "--"
(double-hyphen) in the content, which is illegal in a comment per section 2.5 of [XML 1.0]. The presence of this
character sequence must generate a fatal error during serialization.

Definition at line 1288 of xmlDOM.cls

Public Methods

  init (data)

Public Class Methods inherited from xmlNode

number - unique identifier for the new xmlNode getId ()

Public Methods inherited from xmlNode

node - the node appended appendChild (child)
nodes - A xmlNodeList that contains all the children of this node. children ()
node - the duplicated node cloneNode (deep=.false)
number - Position relatively to the reference node compareDocumentPosition (other)
child - The first child of this node firstChild ()
domObject - An object which implements the specialized APIs or .nil getFeature (feature, version)
userdata - the DOMUserData associated, or .nil if there was none getUserData (key)
boolean - .true if this node has any attributes, .false otherwise hasAttributes ()
boolean - .true if this node has any children, .false otherwise hasChildNodes ()
  init ()
node - the node being inserted insertBefore (child, where)
boolean - .true if default, .false otherwise isDefaultNamespace (uri)
boolean - .true if equal, .false otherwise isEqualNode (other)
boolean - .true if the nodes are the same, .false otherwise. isSameNode (other)
boolean - .true if supported on this node, .false otherwise. isSupported (feature, version)
aNode - The last child of this node. lastChild ()
aString - The associated namespaceURI or .nil if none is found. lookupNamespaceURI (prefix)
aString - An associated namespace prefix or .nil if none is found lookupPrefix (uri)
aNode - The node immediately following this node. normalize ()
aNode - The node immediately preceding this node. removeChild (child)
aNode - The node replaced. replaceChild (new, old)
  setReadOnly (attrName, attrValue)
userData - The DOMUserData previously associated to the given key on this node, or null if there was none. setUserData (key, data, handler)
  textContent ()

Public Attributes inherited from xmlNode

  attributes
  attributes
no comment
  baseURI
  baseURI
no comment
  childNodes
  childNodes
no comment
  localName
  localName
no comment
  namespaceURI
  namespaceURI
no comment
  nextSibling
  nodeName
  nodeName
no comment
  nodeType
  nodeType
no comment
  nodeValue
  nodeValue
no comment
  ownerDocument
  ownerDocument
no comment
  parentNode
  parentNode
no comment
  prefix
  prefix
no comment
  previousSibling
  textContent
no comment

Private Class Attributes inherited from xmlNode

  instances

Private Methods inherited from xmlNode

  treeWalk (nodes, name, nl)

Private Attributes inherited from xmlNode

  id

Public Methods mixed in from xmlCharacterData

  appendData (arg)
  data ()
  deleteData (offset, count)
  init (data)
  insertData (offset, string)
  length ()
  replaceData (offset, count, string)
string - The specified substring. If the sum of offset and count exceeds the length, then all characters to the end of the data are returned. substringData (offset, count)

Public Class Methods inherited from xmlNode

number - unique identifier for the new xmlNode getId ()

Public Methods inherited from xmlNode

node - the node appended appendChild (child)
nodes - A xmlNodeList that contains all the children of this node. children ()
node - the duplicated node cloneNode (deep=.false)
number - Position relatively to the reference node compareDocumentPosition (other)
child - The first child of this node firstChild ()
domObject - An object which implements the specialized APIs or .nil getFeature (feature, version)
userdata - the DOMUserData associated, or .nil if there was none getUserData (key)
boolean - .true if this node has any attributes, .false otherwise hasAttributes ()
boolean - .true if this node has any children, .false otherwise hasChildNodes ()
  init ()
node - the node being inserted insertBefore (child, where)
boolean - .true if default, .false otherwise isDefaultNamespace (uri)
boolean - .true if equal, .false otherwise isEqualNode (other)
boolean - .true if the nodes are the same, .false otherwise. isSameNode (other)
boolean - .true if supported on this node, .false otherwise. isSupported (feature, version)
aNode - The last child of this node. lastChild ()
aString - The associated namespaceURI or .nil if none is found. lookupNamespaceURI (prefix)
aString - An associated namespace prefix or .nil if none is found lookupPrefix (uri)
aNode - The node immediately following this node. normalize ()
aNode - The node immediately preceding this node. removeChild (child)
aNode - The node replaced. replaceChild (new, old)
  setReadOnly (attrName, attrValue)
userData - The DOMUserData previously associated to the given key on this node, or null if there was none. setUserData (key, data, handler)
  textContent ()

Public Attributes inherited from xmlNode

  attributes
  attributes
no comment
  baseURI
  baseURI
no comment
  childNodes
  childNodes
no comment
  localName
  localName
no comment
  namespaceURI
  namespaceURI
no comment
  nextSibling
  nodeName
  nodeName
no comment
  nodeType
  nodeType
no comment
  nodeValue
  nodeValue
no comment
  ownerDocument
  ownerDocument
no comment
  parentNode
  parentNode
no comment
  prefix
  prefix
no comment
  previousSibling
  textContent
no comment

Private Class Attributes inherited from xmlNode

  instances

Private Methods inherited from xmlNode

  treeWalk (nodes, name, nl)

Private Attributes inherited from xmlNode

  id

Instantiated by

xmlDOM.cls line 2291

Feature Detail

xmlComment::method init

commentNode instance constructor.

Parameters
data - The string representing the XML comment

Definition at line 1293 of xmlDOM.cls

Get RexxLiterate at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated on 30 Jul 2015 13:56:52 for xmlDOM for OOrexx by rexxliterate  0.0.1