scales.xml.dsl

DslBuilder

final class DslBuilder extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DslBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def -/(qname: QName): DslBuilder

    Removes all child trees with a given qname

  4. def -/@(attribs: QName*): DslBuilder

    Remove attributes

  5. def /(itemOrElems: xml.ItemOrElem*): DslBuilder

    Add a number of trees, xmlItems, text, cdata, comments etc

  6. def /(itemOrElem: Option[xml.ItemOrElem]): DslBuilder

    Optionally add a child, when None no child we be added

  7. def /(itemOrElems: ⇒ Iterable[xml.ItemOrElem]): DslBuilder

  8. def /@(attrib: Option[Attribute]): DslBuilder

    Optionally add a single attribute, when None no attribute will be added

  9. def /@(attribs: ⇒ Iterable[Attribute]): DslBuilder

    Add attributes

  10. def /@(attribs: Attribute*): DslBuilder

    Add attributes

  11. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def add(itemOrElems: xml.ItemOrElem*): DslBuilder

  13. def addOptionals(itemOrElems: ⇒ Iterable[Option[xml.ItemOrElem]]): DslBuilder

    Add an Iterable of ItemOrElems wrapped in Option, those which are Some will be added.

  14. def addOptionals(itemOrElems: Option[xml.ItemOrElem]*): DslBuilder

    Add a number of ItemOrElems wrapped in Option, those which are Some will be added.

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def elementsOnly: DslBuilder

    Cleans out any child text nodes (comments, cdata etc) and just leaves child elements

  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def fold[T <: Iterable[xml.XmlPath]](xpath: (xml.XmlPath) ⇒ XPath[T])(folder: (xml.XmlPath) ⇒ FoldOperation[XmlItem, Elem, xml.XCC]): Either[DslBuilder, (DslBuilder, FoldError)]

    Fold over the current tree, allows folding deep within a builder.

    Fold over the current tree, allows folding deep within a builder. Either the fold works or this is returned with the FoldError.

  22. def fold_![T <: Iterable[xml.XmlPath]](xpath: (xml.XmlPath) ⇒ XPath[T])(folder: (xml.XmlPath) ⇒ FoldOperation[XmlItem, Elem, xml.XCC]): DslBuilder

    fold_! calls fold but throws the error when its returning a root

  23. def fold_?[T <: Iterable[xml.XmlPath]](xpath: (xml.XmlPath) ⇒ XPath[T])(folder: (xml.XmlPath) ⇒ FoldOperation[XmlItem, Elem, xml.XCC]): DslBuilder

    Does not throw when NoPaths is returned, simply returning this

  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def setValue(value: Option[String]): DslBuilder

    see ~> Option[String]

  31. def setValue(value: String): DslBuilder

    see ~>

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    AnyRef → Any
  34. def toTree: xml.XmlTree

  35. val tree: xml.XmlTree

  36. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def ~>(value: Option[String]): DslBuilder

    Optionally sets the tree to a single Text node child, replacing all others, None will not change the current node.

    Optionally sets the tree to a single Text node child, replacing all others, None will not change the current node.

    <(Elem("root"l)) ~> None

    would leave an empty <root/>

  40. def ~>(value: String): DslBuilder

    sets the tree to a single Text node child, replacing all others

Inherited from AnyRef

Inherited from Any

Ungrouped