Instance Constructors
-
new
nameBasedXml()
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
macro
def
macroTransform(annottees: Any*): Any
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
This annotation enables name based XML literal.
All XML literals in methods that are annotated as nameBasedXml will be transformed to calls to functions in
xml
object.Attributes
Node list
Self-closing tags with some prefixes
Self-closing tags without prefixes
@nameBasedXml def myXml = <tagName1/> myXml should be(xml.literal(xml.elements.tagName1()))
Pre SIP: name based XML literals