StreamlinedXmlEquality

Companion object that facilitates the importing of StreamlinedXmlEquality members as an alternative to mixing it the trait. One use case is to import StreamlinedXmlEquality members so you can use them in the Scala interpreter.

Companion:
class
class Object
trait Matchable
class Any

Implicits

Inherited implicits

implicit def streamlinedXmlEquality[T <: NodeSeq]: Equality[T]

Provides an implicit Equality[T] instance for any subtype of scala.xml.NodeSeq that, prior for testing for equality, will normalize the XML by removing empty text nodes and trimming non-empty text nodes.

Provides an implicit Equality[T] instance for any subtype of scala.xml.NodeSeq that, prior for testing for equality, will normalize the XML by removing empty text nodes and trimming non-empty text nodes.

See the main documentation for this trait for more details and examples.

Returns:

an Equality[T] instance that normalizes XML before testing for equality

Inherited from:
StreamlinedXmlEquality