Trait

scales.xml.xpath

Functions

Related Doc: package xpath

Permalink

trait Functions extends NameFunctions with TextFunctions

Collects all type class based xpath functions, exposed via Functions in package

Also adds aliases for the common functions

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Functions
  2. TextFunctions
  3. NameFunctions
  4. AnyRef
  5. 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. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hasLocalName[T](localName: String)(implicit name: Names[T]): (T) ⇒ Boolean

    Permalink

    curried to allow direct drop in for predicates, if it is an item then it will return false

    curried to allow direct drop in for predicates, if it is an item then it will return false

    Definition Classes
    NameFunctions
  11. def hasLocalNameA(local: String): (AttributePath) ⇒ Boolean

    Permalink

    hasLocalName for AttributePaths

  12. def hasLocalNameX(local: String): (xml.XmlPath) ⇒ Boolean

    Permalink

    hasLocalName for XmlPaths

  13. def hasNamespace[T](namespaceUri: String)(implicit name: Names[T], d: DIF): (T) ⇒ Boolean

    Permalink

    matches only the namespace

    matches only the namespace

    Definition Classes
    NameFunctions
  14. def hasNamespace[T](namespace: Namespace)(implicit name: Names[T]): (T) ⇒ Boolean

    Permalink

    matches only the namespace

    matches only the namespace

    Definition Classes
    NameFunctions
  15. def hasQName[T](t: T)(implicit name: Names[T]): Boolean

    Permalink

    Will be true for all values of T except when the resulting QName is "empty".

    Will be true for all values of T except when the resulting QName is "empty".

    If hasQName is false then calling name will throw

    Definition Classes
    NameFunctions
  16. def hasQName[T](implicit t: T, name: Names[T], d: DIF): Boolean

    Permalink

    Will be true for all values of T except when the resulting QName is "empty".

    Will be true for all values of T except when the resulting QName is "empty".

    If hasQName is false then calling name will throw

    Definition Classes
    NameFunctions
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def isEquivalent[T](qname: QName)(implicit name: Names[T]): (T) ⇒ Boolean

    Permalink

    Matches on prefix and namespace only

    Matches on prefix and namespace only

    Definition Classes
    NameFunctions
  19. def isExactly[T](qname: QName)(implicit name: Names[T]): (T) ⇒ Boolean

    Permalink

    Does the qname match exactly (prefix included if present)

    Does the qname match exactly (prefix included if present)

    Definition Classes
    NameFunctions
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def localName[T](t: T)(implicit name: Names[T]): String

    Permalink

    Returns the localName

    Returns the localName

    Definition Classes
    NameFunctions
  22. def localName[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    Returns the localName

    Returns the localName

    Definition Classes
    NameFunctions
  23. def name[T](t: T)(implicit iname: Names[T]): QName

    Permalink

    Returns the QName, will throw if the QName is "empty"

    Returns the QName, will throw if the QName is "empty"

    Definition Classes
    NameFunctions
  24. def name[T](implicit t: T, name: Names[T], d: DIF): QName

    Permalink

    Returns the QName, will throw if the QName is "empty"

    Returns the QName, will throw if the QName is "empty"

    Definition Classes
    NameFunctions
  25. def namespace[T](implicit t: T, name: Names[T], d: DIF): UnderlyingNamespace

    Permalink

    Returns the underlying namespace object

    Returns the underlying namespace object

    Definition Classes
    NameFunctions
  26. def namespaceUri[T](t: T)(implicit name: Names[T]): String

    Permalink

    XPath namespace-uri function, returns the uri

    XPath namespace-uri function, returns the uri

    Definition Classes
    NameFunctions
  27. def namespaceUri[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    XPath namespace-uri function, returns the uri

    XPath namespace-uri function, returns the uri

    Definition Classes
    NameFunctions
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. def normalizeSpace[T](t: T)(implicit value: TextValue[T]): String

    Permalink

    XPath normalize-space function, replaces all consecutive whitespace with " " and trims.

    XPath normalize-space function, replaces all consecutive whitespace with " " and trims.

    Definition Classes
    TextFunctions
  30. def normalizeSpace[T](implicit t: T, value: TextValue[T], d: DIF): String

    Permalink

    XPath normalize-space function, replaces all consecutive whitespace with " " and trims.

    XPath normalize-space function, replaces all consecutive whitespace with " " and trims.

    Definition Classes
    TextFunctions
  31. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  33. def pqName[T](t: T)(implicit name: Names[T]): String

    Permalink

    Returns either qualifiedName or prefix:{namespace}local when a prefix is present

    Returns either qualifiedName or prefix:{namespace}local when a prefix is present

    Definition Classes
    NameFunctions
  34. def pqName[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    Returns either qualifiedName or prefix:{namespace}local when a prefix is present

    Returns either qualifiedName or prefix:{namespace}local when a prefix is present

    Definition Classes
    NameFunctions
  35. def qName[T](t: T)(implicit name: Names[T]): String

    Permalink

    Returns the XPath QName - prefix:local or local

    Returns the XPath QName - prefix:local or local

    Definition Classes
    NameFunctions
  36. def qName[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    Returns the XPath QName - prefix:local or local

    Returns the XPath QName - prefix:local or local

    Definition Classes
    NameFunctions
  37. def qname[T](t: T)(implicit name: Names[T]): String

    Permalink

    Returns the XPath QName - prefix:local or local

    Returns the XPath QName - prefix:local or local

    Definition Classes
    NameFunctions
  38. def qname[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    Returns the XPath QName - prefix:local or local

    Returns the XPath QName - prefix:local or local

    Definition Classes
    NameFunctions
  39. def qualifiedName[T](t: T)(implicit name: Names[T]): String

    Permalink

    Returns the qualified name {namespace}local

    Returns the qualified name {namespace}local

    Definition Classes
    NameFunctions
  40. def qualifiedName[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    Returns the qualified name {namespace}local

    Returns the qualified name {namespace}local

    Definition Classes
    NameFunctions
  41. def string[T](t: T)(implicit value: TextValue[T]): String

    Permalink

    XPath name for text

    XPath name for text

    Definition Classes
    TextFunctions
  42. def string[T](implicit t: T, value: TextValue[T], d: DIF): String

    Permalink

    XPath name for text

    XPath name for text

    Definition Classes
    TextFunctions
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  44. def text[T](t: T)(implicit value: TextValue[T]): String

    Permalink

    The text value of a given object, .value for attributes & items, the accumalated text if its an elem

    The text value of a given object, .value for attributes & items, the accumalated text if its an elem

    Definition Classes
    TextFunctions
  45. def text[T](implicit t: T, value: TextValue[T], d: DIF): String

    Permalink

    The text value of a given object, .value for attributes & items, the accumalated text if its an elem

    The text value of a given object, .value for attributes & items, the accumalated text if its an elem

    Definition Classes
    TextFunctions
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. def value[T](t: T)(implicit value: TextValue[T]): String

    Permalink

    More readable version for XmlItems and Attributes, same as text

    More readable version for XmlItems and Attributes, same as text

    Definition Classes
    TextFunctions
  48. def value[T](implicit t: T, value: TextValue[T], d: DIF): String

    Permalink

    More readable version for XmlItems and Attributes, same as text

    More readable version for XmlItems and Attributes, same as text

    Definition Classes
    TextFunctions
  49. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TextFunctions

Inherited from NameFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped