@@ -55,27 +55,27 @@ object Attribute {
5555 */
5656trait Attribute extends MetaData {
5757 def pre : String // will be null if unprefixed
58- val key : String
59- val value : Seq [Node ]
60- val next : MetaData
58+ override val key : String
59+ override val value : Seq [Node ]
60+ override val next : MetaData
6161
62- def apply (key : String ): Seq [Node ]
63- def apply (namespace : String , scope : NamespaceBinding , key : String ): Seq [Node ]
64- def copy (next : MetaData ): Attribute
62+ override def apply (key : String ): Seq [Node ]
63+ override def apply (namespace : String , scope : NamespaceBinding , key : String ): Seq [Node ]
64+ override def copy (next : MetaData ): Attribute
6565
66- def remove (key : String ) =
66+ override def remove (key : String ) =
6767 if (! isPrefixed && this .key == key) next
6868 else copy(next remove key)
6969
70- def remove (namespace : String , scope : NamespaceBinding , key : String ) =
70+ override def remove (namespace : String , scope : NamespaceBinding , key : String ) =
7171 if (this .key == key && (scope getURI pre) == namespace) next
7272 else copy(next.remove(namespace, scope, key))
7373
74- def isPrefixed : Boolean = pre != null
74+ override def isPrefixed : Boolean = pre != null
7575
76- def getNamespace (owner : Node ): String
76+ override def getNamespace (owner : Node ): String
7777
78- def wellformed (scope : NamespaceBinding ): Boolean = {
78+ override def wellformed (scope : NamespaceBinding ): Boolean = {
7979 val arg = if (isPrefixed) scope getURI pre else null
8080 (next(arg, scope, key) == null ) && (next wellformed scope)
8181 }
@@ -94,7 +94,7 @@ trait Attribute extends MetaData {
9494 /**
9595 * Appends string representation of only this attribute to stringbuffer.
9696 */
97- protected def toString1 (sb : StringBuilder ): Unit = {
97+ override protected def toString1 (sb : StringBuilder ): Unit = {
9898 if (value == null )
9999 return
100100 if (isPrefixed)
0 commit comments