@@ -85,6 +85,7 @@ abstract class MetaData
85
85
with Iterable [MetaData ]
86
86
with Equality
87
87
with Serializable
88
+ with ScalaVersionSpecificMetaData
88
89
{
89
90
private [xml] def isNull : Boolean = this .eq(Null )
90
91
@@ -106,7 +107,7 @@ abstract class MetaData
106
107
* @param key
107
108
* @return value as Seq[Node] if key is found, null otherwise
108
109
*/
109
- def apply (key : String ): Seq [ Node ]
110
+ def apply (key : String ): ScalaVersionSpecific . SeqOfNode
110
111
111
112
/**
112
113
* convenience method, same as `apply(namespace, owner.scope, key)`.
@@ -115,7 +116,7 @@ abstract class MetaData
115
116
* @param owner the element owning this attribute list
116
117
* @param key the attribute key
117
118
*/
118
- final def apply (namespace_uri : String , owner : Node , key : String ): Seq [ Node ] =
119
+ final def apply (namespace_uri : String , owner : Node , key : String ): ScalaVersionSpecific . SeqOfNode =
119
120
apply(namespace_uri, owner.scope, key)
120
121
121
122
/**
@@ -126,7 +127,7 @@ abstract class MetaData
126
127
* @param k to be looked for
127
128
* @return value as Seq[Node] if key is found, null otherwise
128
129
*/
129
- def apply (namespace_uri : String , scp : NamespaceBinding , k : String ): Seq [ Node ]
130
+ def apply (namespace_uri : String , scp : NamespaceBinding , k : String ): ScalaVersionSpecific . SeqOfNode
130
131
131
132
/**
132
133
* returns a copy of this MetaData item with next field set to argument.
@@ -168,7 +169,7 @@ abstract class MetaData
168
169
def key : String
169
170
170
171
/** returns value of this MetaData item */
171
- def value : Seq [ Node ]
172
+ def value : ScalaVersionSpecific . SeqOfNode
172
173
173
174
/**
174
175
* Returns a String containing "prefix:key" if the first key is
@@ -194,10 +195,10 @@ abstract class MetaData
194
195
* @param key
195
196
* @return value in Some(Seq[Node]) if key is found, None otherwise
196
197
*/
197
- final def get (key : String ): Option [Seq [ Node ] ] = Option (apply(key))
198
+ final def get (key : String ): Option [ScalaVersionSpecific . SeqOfNode ] = Option (apply(key))
198
199
199
200
/** same as get(uri, owner.scope, key) */
200
- final def get (uri : String , owner : Node , key : String ): Option [Seq [ Node ] ] =
201
+ final def get (uri : String , owner : Node , key : String ): Option [ScalaVersionSpecific . SeqOfNode ] =
201
202
get(uri, owner.scope, key)
202
203
203
204
/**
@@ -208,7 +209,7 @@ abstract class MetaData
208
209
* @param key to be looked fore
209
210
* @return value as `Some[Seq[Node]]` if key is found, None otherwise
210
211
*/
211
- final def get (uri : String , scope : NamespaceBinding , key : String ): Option [Seq [ Node ] ] =
212
+ final def get (uri : String , scope : NamespaceBinding , key : String ): Option [ScalaVersionSpecific . SeqOfNode ] =
212
213
Option (apply(uri, scope, key))
213
214
214
215
protected def toString1 : String = sbToString(toString1)
0 commit comments