@@ -44,7 +44,8 @@ abstract class Node extends NodeSeq {
44
44
/** label of this node. I.e. "foo" for <foo/>) */
45
45
def label : String
46
46
47
- /** used internally. Atom/Molecule = -1 PI = -2 Comment = -3 EntityRef = -5 */
47
+ /** used internally. Atom/Molecule = -1 PI = -2 Comment = -3 EntityRef = -5
48
+ */
48
49
def typeTag$ : Int = 0
49
50
50
51
/**
@@ -54,22 +55,23 @@ abstract class Node extends NodeSeq {
54
55
def scope : NamespaceBinding = TopScope
55
56
56
57
/**
57
- * convenience, same as getNamespace(this.prefix)
58
+ * convenience, same as <code> getNamespace(this.prefix)</code>
58
59
*/
59
60
def namespace = getNamespace(this .prefix)
60
61
61
62
/**
62
63
* Convenience method, same as <code>scope.getURI(pre)</code> but additionally
63
64
* checks if scope is <code>null</code>.
64
65
*
65
- * @param pre the prefix whose namespace name we would like to obtain
66
- * @return the namespace if scope != null and prefix was found, else null
66
+ * @param pre the prefix whose namespace name we would like to obtain
67
+ * @return the namespace if <code>scope != null</code> and prefix was
68
+ * found, else <code>null</code>
67
69
*/
68
70
def getNamespace (pre : String ) = if (scope == null ) null else scope.getURI(pre)
69
71
70
72
/**
71
73
* Convenience method, looks up an unprefixed attribute in attributes of this node.
72
- * Same as attributes.getValue(key);
74
+ * Same as <code> attributes.getValue(key)</code>
73
75
*
74
76
* @param key of queried attribute.
75
77
* @return value of <code>UnprefixedAttribute</code> with given key
@@ -79,7 +81,7 @@ abstract class Node extends NodeSeq {
79
81
80
82
/**
81
83
* Convenience method, looks up a prefixed attribute in attributes of this node.
82
- * Same as attributes.getValue(uri, this, key);
84
+ * Same as <code> attributes.getValue(uri, this, key)</code>
83
85
*
84
86
* @param uri namespace of queried attribute (may not be null).
85
87
* @param key of queried attribute.
@@ -121,7 +123,7 @@ abstract class Node extends NodeSeq {
121
123
* label, attributes and children.
122
124
*
123
125
* @param x ...
124
- * @return . ..
126
+ * @return <code>true</code> if ..
125
127
*/
126
128
override def equals (x : Any ): Boolean = x match {
127
129
case g: Group => false
@@ -144,7 +146,7 @@ abstract class Node extends NodeSeq {
144
146
/**
145
147
* returns a sequence consisting of only this node
146
148
*/
147
- def theSeq : Seq [Node ] = this :: Nil
149
+ def theSeq : Seq [Node ] = this :: Nil
148
150
149
151
/**
150
152
* String representation of this node
@@ -158,7 +160,7 @@ abstract class Node extends NodeSeq {
158
160
/**
159
161
* Same as <code>toString(false)</code>.
160
162
*
161
- * @see " toString(Boolean)"
163
+ * @see <code><a href="# toString">toString (Boolean)</a></code>
162
164
*/
163
165
override def toString (): String = toString(false )
164
166
0 commit comments