Packages

  • package root
    Definition Classes
    root
  • package scales

    Scales Xml provides both a more flexible approach to XML handling and a simplified way of interacting with XML.

    Scales Xml provides both a more flexible approach to XML handling and a simplified way of interacting with XML.

    It fits nicely with the Java APIs you know, TrAX and javax.xml.validation for example, allowing you to run XSLTs and convert to and from Scales XML and other DOMs.

    It also provides a far more XPath like experience than the normal Scala XML, Paths look like XPaths and work like them too (with many of the same functions and axes).

    Definition Classes
    root
  • package utils

    The scales.utils packages provide the basis functionality for scales.xml.

    The scales.utils packages provide the basis functionality for scales.xml.

    The Tree an Path collections that underpin the XML model, as well as the iteratee functionality are located in the relevant sub-packages.

    The package object itself pulls in the main utility functions for tree, path and iteratee handling. Import the scales.utils.ScalesUtils object implicit members to provide the path & and | extension functions, the iteratorEnumerator and the +:+ lazy appender for scalaz.EphemeralStream.

    Definition Classes
    scales
  • package collection

    The collection pacakge provides the scales.utils.collection.Tree

    The collection pacakge provides the scales.utils.collection.Tree

    Definition Classes
    utils
  • package impl
    Definition Classes
    utils
  • package io
    Definition Classes
    utils
  • package iteratee
    Definition Classes
    utils
  • package resources
    Definition Classes
    utils
  • AsBooleanTrait
  • BooleanAndTMatcher
  • BooleanMatcher
  • EitherLike
  • Equiv
  • EquivFunctions
  • LeftLike
  • RightLike
  • ScalesUtils
t

scales.utils

AsBooleanTrait

trait AsBooleanTrait extends AnyRef

Provides the conversion type class AsBoolean, and simple matchers (extractor builders) to use them. Used by the xpath boolean function and xmltree matching

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsBooleanTrait
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type AsBoolean[T] = (T) => Boolean
  2. class BooleanAndTMatcher[X, T] extends AnyRef
  3. class BooleanMatcher[X, T] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def boolean[T](it: T)(implicit arg0: AsBoolean[T]): Boolean
  6. def booleanAndTMatcher[X, T](eval: (X) => T)(implicit arg0: AsBoolean[T]): BooleanAndTMatcher[X, T]

    Calls eval to return a T t'.

    Calls eval to return a T t'. This T is then evaluated with the AsBoolean type class.

    When evaluated to true (t',x) is returned. val Matcher = booleanMatcher( (x) => T ); val Matcher(t,x) = x

  7. def booleanMatcher[X, T](eval: (X) => T)(implicit arg0: AsBoolean[T]): BooleanMatcher[X, T]

    Calls eval to return a T t'.

    Calls eval to return a T t'. This T is then evaluated with the AsBoolean type class.

    When evaluated to true t' is returned. val Matcher = booleanMatcher( (x) => T ); val Matcher(t) = x

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped