@@ -85,6 +85,7 @@ abstract class MetaData
8585 with Iterable [MetaData ]
8686 with Equality
8787 with Serializable
88+ with ScalaVersionSpecificMetaData
8889{
8990 private [xml] def isNull : Boolean = this .eq(Null )
9091
@@ -106,7 +107,7 @@ abstract class MetaData
106107 * @param key
107108 * @return value as Seq[Node] if key is found, null otherwise
108109 */
109- def apply (key : String ): Seq [ Node ]
110+ def apply (key : String ): ScalaVersionSpecific . SeqOfNode
110111
111112 /**
112113 * convenience method, same as `apply(namespace, owner.scope, key)`.
@@ -115,7 +116,7 @@ abstract class MetaData
115116 * @param owner the element owning this attribute list
116117 * @param key the attribute key
117118 */
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 =
119120 apply(namespace_uri, owner.scope, key)
120121
121122 /**
@@ -126,7 +127,7 @@ abstract class MetaData
126127 * @param k to be looked for
127128 * @return value as Seq[Node] if key is found, null otherwise
128129 */
129- def apply (namespace_uri : String , scp : NamespaceBinding , k : String ): Seq [ Node ]
130+ def apply (namespace_uri : String , scp : NamespaceBinding , k : String ): ScalaVersionSpecific . SeqOfNode
130131
131132 /**
132133 * returns a copy of this MetaData item with next field set to argument.
@@ -168,7 +169,7 @@ abstract class MetaData
168169 def key : String
169170
170171 /** returns value of this MetaData item */
171- def value : Seq [ Node ]
172+ def value : ScalaVersionSpecific . SeqOfNode
172173
173174 /**
174175 * Returns a String containing "prefix:key" if the first key is
@@ -194,10 +195,10 @@ abstract class MetaData
194195 * @param key
195196 * @return value in Some(Seq[Node]) if key is found, None otherwise
196197 */
197- final def get (key : String ): Option [Seq [ Node ] ] = Option (apply(key))
198+ final def get (key : String ): Option [ScalaVersionSpecific . SeqOfNode ] = Option (apply(key))
198199
199200 /** 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 ] =
201202 get(uri, owner.scope, key)
202203
203204 /**
@@ -208,7 +209,7 @@ abstract class MetaData
208209 * @param key to be looked fore
209210 * @return value as `Some[Seq[Node]]` if key is found, None otherwise
210211 */
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 ] =
212213 Option (apply(uri, scope, key))
213214
214215 protected def toString1 : String = sbToString(toString1)
0 commit comments