br.gov.lexml.renderer.docx.docxmodel.builders.common.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lexml-renderer-docx Show documentation
Show all versions of lexml-renderer-docx Show documentation
Renders LexML Brazil XML files to DOCX format.
The newest version!
package br.gov.lexml.renderer.docx.docxmodel.builders
trait Modifiable[Q,T] {
self : Modifiable[Q,T] =>
def value : Q
def setValue(x : Q) : T
final def modify(f : Q => Q) = setValue(f(value))
}
trait Mergeable2[T,Q] {
def extract(x : T) : Q
def merge(x : T, y : Q) : T
}