diff options
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/xml/SpecialNode.scala | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/library/scala/xml/SpecialNode.scala b/src/library/scala/xml/SpecialNode.scala index 5d0fbcab4c..b0cd95a2f4 100644 --- a/src/library/scala/xml/SpecialNode.scala +++ b/src/library/scala/xml/SpecialNode.scala @@ -9,27 +9,29 @@ // $Id$ -package scala.xml; +package scala.xml import scala.runtime.compat.StringBuilder -/** a special XML node is either text (PCDATA), a comment, a PI, or - * an entity ref -**/ +/** <code>SpecialNode</code> is a special XML node which + * represents either text (PCDATA), a comment, a PI, or an entity ref. + * + * @author Burak Emir + */ abstract class SpecialNode extends Node { /** always empty */ - final override def attributes = Null; + final override def attributes = Null /** always Node.EmptyNamespace */ - final override def namespace = null; + final override def namespace = null /** always empty */ - final def child = Nil; + final def child = Nil final override def toString(): String = - toString(new StringBuilder()).toString(); + toString(new StringBuilder()).toString() - def toString(sb:StringBuilder): StringBuilder ; + def toString(sb: StringBuilder): StringBuilder } |