Class/Object

scales.xml.dsl

DslBuilder

Related Docs: object DslBuilder | package dsl

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Permalink

    Removes all child trees with a given qname

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

    Permalink

    Remove attributes

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

    Permalink

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

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

    Permalink

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

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

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

    Permalink

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

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

    Permalink

    Add attributes

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

    Permalink

    Add attributes

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

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

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

    Permalink

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

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

    Permalink

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

  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def clone(): AnyRef

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

    Permalink

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

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

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

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

    Permalink
    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)]

    Permalink

    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

    Permalink

    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

    Permalink

    Does not throw when NoPaths is returned, simply returning this

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

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

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

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

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

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

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

    Permalink

    see ~> Option[String]

  31. def setValue(value: String): DslBuilder

    Permalink

    see ~>

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

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

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

    Permalink
  35. val tree: xml.XmlTree

    Permalink
  36. final def wait(): Unit

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

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

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

    Permalink

    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

    Permalink

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

Inherited from AnyRef

Inherited from Any

Ungrouped