scales.xml.dsl

DslBuilder

final class DslBuilder extends AnyRef

Source
DslBuilder.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Removes all child trees with a given qname

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

    Remove attributes

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

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

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

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

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

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

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

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

    Add attributes

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

    Add attributes

  12. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  14. def add(itemOrElems: xml.ItemOrElem*): DslBuilder

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

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

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

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

  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def clone(): AnyRef

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

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. 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.

  24. 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

  25. 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

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

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

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

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

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

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

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

    see ~> Option[String]

  33. def setValue(value: String): DslBuilder

    see ~>

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

    Definition Classes
    AnyRef
  35. def toString(): String

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

  37. val tree: xml.XmlTree

  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. 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/>

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped