in scala.xml
class Node

abstract class Node
extends scala.xml.NodeSeq
with scala.ScalaObject
An abstract class representing XML with nodes of a labelled tree. This class contains an implementation of a subset of XPath for navigation.
author:
Burak Emir and others
version:
1.1

Constructor Summary
def this



Def Summary
final def attribute ( key : java.lang.String ) : java.lang.String
Looks up an unprefixed attribute in attributes of this node.
final def attribute ( uri : java.lang.String , key : java.lang.String ) : java.lang.String
Looks up a prefixed attribute in attributes of this node.
def attributes : scala.xml.MetaData
Attribute axis - all attributes of this node, in order defined by attrib
def child : scala.Seq[scala.xml.Node]
child axis (all children of this node)
def descendant : scala.List[scala.xml.Node]
descendant axis (all descendants of this node, not including not itself)
def descendant_or_self : scala.List[scala.xml.Node]
descendant axis (all descendants of this node, including this node)
override def equals ( x : scala.Any ) : scala.Boolean
structural equality
def getNamespace ( _pre : java.lang.String ) : java.lang.String

override def hashCode : scala.Int
returns a hashcode
def label : java.lang.String
label of this node. I.e. "foo" for <foo/>)
def nameToString ( sb : java.lang.StringBuffer ) : java.lang.StringBuffer
Appends qualified name of this node to StringBuffer.
def namespace : java.lang.String

def prefix : java.lang.String
prefix of this node
def scope : scala.xml.NamespaceBinding
the namespace bindings
override def text : java.lang.String

final def theSeq : scala.List[scala.xml.Node]
method for NodeSeq
def toString ( stripComment : scala.Boolean ) : java.lang.String
String representation of this node
override def toString : java.lang.String
Same as toString(false).
def typeTag$ : scala.Int
used internally. Atom/Molecule = -1 PI = -2 Comment = -3 EntityRef = -5
def xmlType : scala.xml.TypeSymbol
Returns a type symbol (e.g. DTD, XSD), default null.


Constructor Detail
def this

Def Detail
final def attribute ( key : java.lang.String ) : java.lang.String
Looks up an unprefixed attribute in attributes of this node.
param:
key of queried attribute.
return:
value of UnprefixedAttribute with given key in attributes, if it exists, otherwise null.

final def attribute ( uri : java.lang.String , key : java.lang.String ) : java.lang.String
Looks up a prefixed attribute in attributes of this node.
param:
uri namespace of queried attribute (may not be null).
param:
key of queried attribute.
return:
value of PrefixedAttribute with given namespace and given key, otherwise null.

def attributes : scala.xml.MetaData
Attribute axis - all attributes of this node, in order defined by attrib

def child : scala.Seq[scala.xml.Node]
child axis (all children of this node)

def descendant : scala.List[scala.xml.Node]
descendant axis (all descendants of this node, not including not itself)

def descendant_or_self : scala.List[scala.xml.Node]
descendant axis (all descendants of this node, including this node)

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

def getNamespace ( _pre : java.lang.String ) : java.lang.String

override def hashCode : scala.Int
returns a hashcode

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

def nameToString ( sb : java.lang.StringBuffer ) : java.lang.StringBuffer
Appends qualified name of this node to StringBuffer.
param:
sb
return:
..

def namespace : java.lang.String

def prefix : java.lang.String
prefix of this node

def scope : scala.xml.NamespaceBinding
the namespace bindings

override def text : java.lang.String

final def theSeq : scala.List[scala.xml.Node]
method for NodeSeq

def toString ( stripComment : scala.Boolean ) : java.lang.String
String representation of this node
param:
stripComment if true, strips comment nodes from result

override def toString : java.lang.String
Same as toString(false).
see:
"toString(Boolean)"

def typeTag$ : scala.Int
used internally. Atom/Molecule = -1 PI = -2 Comment = -3 EntityRef = -5

def xmlType : scala.xml.TypeSymbol
Returns a type symbol (e.g. DTD, XSD), default null.