in scala/xml
class Comment

case class Comment(commentText: String)
extends SpecialNode
with ScalaObject
with CaseClass

an XML node for comments.
Author:
Burak Emir
Parameters:
text - text contained in this node, may not contain "--"

Field Summary
  val commentText: String

Method Summary
override def equals(x: Any): Boolean
     structural equality
override def hashCode(): Int
     hashcode for this Comment
  def label: String
     the constant "#REM"
override def text: String
  def toString(sb: StringBuffer): StringBuffer
     appends "" to this stringbuffer
final override def toString(): String
     Same as toString(false).

Methods inherited from java/lang/Object-class
clone, eq, finalize, getClass, ne, notify, notifyAll, synchronized, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/CaseClass-class
caseArity, caseElement, caseName

Methods inherited from scala/Iterable-class
/:, :\, concat, exists, find, foldLeft, foldRight, forall, foreach, sameElements

Methods inherited from scala/ScalaObject-class
getScalaType

Methods inherited from scala/Seq-class
concat, copyToArray, drop, indexOf, isDefinedAt, lastIndexOf, stringPrefix, subseq, take, toList

Methods inherited from scala/xml/Node-class
attribute, attribute, descendant, descendant_or_self, getNamespace, nameToString, prefix, scope, theSeq, xmlType

Methods inherited from scala/xml/NodeSeq-class
\, \\, apply, apply, asList, elements, filter, flatMap, length, map

Methods inherited from scala/xml/SpecialNode-class
attributes, child, namespace, toString

Field Detail

commentText

  val commentText: String
Method Detail

equals

  override def equals(x: Any): Boolean
structural equality

label

  def label: String
the constant "#REM"

hashCode

  override def hashCode(): Int
hashcode for this Comment

text

  override def text: String

toString

  def toString(sb: StringBuffer): StringBuffer
appends "" to this stringbuffer

toString

  final override def toString(): String
Same as toString(false).
See Also:
"toString(Boolean)"