in scala/xml
class NodeBuffer

class NodeBuffer()
extends ArrayBuffer[Node]
with ScalaObject

This class acts as a Buffer for nodes. If it is used as a sequence of nodes Seq[Node], it must be ensured that no updates occur after that point, because scala.xml.Node is assumed to be immutable. Despite this being a sequence, don't use it as key in a hashtable. Calling the hashcode function will result in a runtime error.

Method Summary
  def &+(o: Any): NodeBuffer
     Append a single node to this buffer, returns reference on this NodeBuffer for convenience.

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

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

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, subseq, take, toList, toString

Methods inherited from scala/collection/mutable/ArrayBuffer-class
+, ++, ++:, +:, apply, clear, clone, equals, insertAll, remove, stringPrefix, update

Methods inherited from scala/collection/mutable/Buffer-class
++, ++=, ++=, +=, <<, append, appendAll, hashCode, insert, prepend, prependAll, trimEnd, trimStart

Methods inherited from scala/collection/mutable/ResizableArray-class
array, copy, elements, ensureSize, initialSize, length, size, swap

Method Detail

&+

  def &+(o: Any): NodeBuffer
Append a single node to this buffer, returns reference on this NodeBuffer for convenience. Append an iterable object to this buffer, returns reference on this NodeBuffer for convenience. Append given string as a scala.xml.Text node to this buffer, returns reference on this NodeBuffer for convenience.
Parameters:
n -