scala.xml

class SpecialNode

[source: scala/xml/SpecialNode.scala]

abstract class SpecialNode
extends Node with XMLEvent

SpecialNode is a special XML node which represents either text (PCDATA), a comment, a PI, or an entity ref.

SpecialNodes also play the role of XMLEvents for pull-parsing.

Author
Burak Emir
Direct Known Subclasses:
Atom, Comment, EntityRef, ProcInstr

Method Summary
override final def attributes : Null
always empty
abstract def buildString (sb : StringBuilder) : StringBuilder
append string representation to the given stringbuffer
final def child : Nil
always empty
override final def namespace : Null
always Node.EmptyNamespace
Methods inherited from Node
label (abstract), prefix, isAtom, doCollectNamespaces, doTransform, scope, getNamespace, attribute, attribute, descendant, descendant_or_self, equals, hashCode, theSeq, buildString, toString, nameToString, xmlType, text
Methods inherited from NodeSeq
newBuilder, length, iterator, apply, apply, \, \\
Methods inherited from Seq
companion
Methods inherited from SeqLike
thisCollection, toCollection, lengthCompare, size, isDefinedAt, segmentLength, prefixLength, indexWhere, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, lastIndexWhere, reverse, reverseMap, reverseIterator, reversedElements, startsWith, startsWith, endsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, removeDuplicates, patch, updated, +:, :+, padTo, sortWith, sortWith, sortBy, toSeq, indices, view, view, findLastIndexOf, equalsWith, containsSlice, projection
Methods inherited from PartialFunction
orElse, andThen
Methods inherited from Function1
compose
Methods inherited from IterableLike
elements, foreach, forall, exists, find, isEmpty, foldRight, reduceRight, toIterable, head, take, slice, takeWhile, takeRight, dropRight, copyToArray, zip, zipAll, zipWithIndex, sameElements, toStream, canEqual, first, firstOption
Methods inherited from GenericTraversableTemplate
genericBuilder, unzip, flatten, transpose
Methods inherited from TraversableLike
repr, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filter, filterNot, partialMap, remove, partition, groupBy, count, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, sum, product, min, max, headOption, tail, last, lastOption, init, drop, dropWhile, span, splitAt, copyToBuffer, copyToArray, toArray, toList, toIndexedSeq, toSet, mkString, mkString, mkString, addString, addString, addString, stringPrefix, withFilter
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
override final def attributes : Null
always empty
Overrides
Node.attributes

override final def namespace : Null
always Node.EmptyNamespace
Overrides
Node.namespace

final def child : Nil
always empty
Overrides
Node.child

abstract def buildString(sb : StringBuilder) : StringBuilder
append string representation to the given stringbuffer