in scala/xml
class Node

abstract class Node()
extends NodeSeq
with ScalaObject
Implementing classes or objects:
class Elem(namespace$$: String, label$$: String, attributes: AttributeSeq, child: Node*)
class SpecialNode()

Trait for representing XML using nodes of a labelled tree. This trait contains an implementation of a subset of XPath for navigation.

Method Summary
final def attribute: Map[String,String]
     attribute map for attributes with the same namespace as this element
abstract def attributes: AttributeSeq
     attribute axis - all attributes of this node, in order defined by attrib
abstract def child: Seq[Node]
     child axis (all children of this node)
  def descendant: List[Node]
     descendant axis (all descendants of this node)
  def descendant_or_self: List[Node]
     descendant axis (all descendants of this node)
override def equals(x: Any): Boolean
     structural equality
override def hashCode(): Int
     returns a hashcode
abstract def label: String
     label of this node.
abstract def namespace: String
     the namespace of this node
final def theSeq: List[Node]
     method for NodeSeq
  def toString(stripComment: Boolean): String
     String representation of this node
override def toString(): String

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

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

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

Methods inherited from scala/ScalaObject-class
getType

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

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

Method Detail

label

  abstract def label: String
label of this node. I.e. "foo" for <foo/>)

namespace

  abstract def namespace: String
the namespace of this node

attribute

  final def attribute: Map[String,String]
attribute map for attributes with the same namespace as this element

attributes

  abstract def attributes: AttributeSeq
attribute axis - all attributes of this node, in order defined by attrib

child

  abstract def child: Seq[Node]
child axis (all children of this node)

descendant

  def descendant: List[Node]
descendant axis (all descendants of this node)

descendant_or_self

  def descendant_or_self: List[Node]
descendant axis (all descendants of this node)

equals

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

hashCode

  override def hashCode(): Int
returns a hashcode

theSeq

  final def theSeq: List[Node]
method for NodeSeq

toString

  def toString(stripComment: Boolean): String
String representation of this node
Parameters:
stripComment - if true, strips comment nodes from result

toString

  override def toString(): String
See Also:
"toString(Boolean)"