scales.xml.xpath

Functions

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

Source
Functions.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Functions
  2. TextFunctions
  3. NameFunctions
  4. AnyRef
  5. 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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

    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
  13. def hasLocalNameA(local: String): (AttributePath) ⇒ Boolean

    hasLocalName for AttributePaths

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

    hasLocalName for XmlPaths

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

    matches only the namespace

    matches only the namespace

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

    matches only the namespace

    matches only the namespace

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

    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
  18. def hasQName[T](implicit t: T, name: Names[T], d: DIF): Boolean

    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
  19. def hashCode(): Int

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

    Matches on prefix and namespace only

    Matches on prefix and namespace only

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

    Does the qname match exactly (prefix included if present)

    Does the qname match exactly (prefix included if present)

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

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

    Returns the localName

    Returns the localName

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

    Returns the localName

    Returns the localName

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

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

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

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

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

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

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

    Returns the underlying namespace object

    Returns the underlying namespace object

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

    XPath namespace-uri function, returns the uri

    XPath namespace-uri function, returns the uri

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

    XPath namespace-uri function, returns the uri

    XPath namespace-uri function, returns the uri

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

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

    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
  32. def normalizeSpace[T](implicit t: T, value: TextValue[T], d: DIF): String

    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
  33. final def notify(): Unit

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

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

    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
  36. def pqName[T](implicit t: T, name: Names[T], d: DIF): String

    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
  37. def qName[T](t: T)(implicit name: Names[T]): String

    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

    Returns the XPath QName - prefix:local or local

    Returns the XPath QName - prefix:local or local

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

    Returns the XPath QName - prefix:local or local

    Returns the XPath QName - prefix:local or local

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

    Returns the XPath QName - prefix:local or local

    Returns the XPath QName - prefix:local or local

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

    Returns the qualified name {namespace}local

    Returns the qualified name {namespace}local

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

    Returns the qualified name {namespace}local

    Returns the qualified name {namespace}local

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

    XPath name for text

    XPath name for text

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

    XPath name for text

    XPath name for text

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

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

    The text value of a given object, .

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

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

    The text value of a given object, .

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

    Definition Classes
    TextFunctions
  48. def toString(): String

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

    More readable version for XmlItems and Attributes, same as text

    More readable version for XmlItems and Attributes, same as text

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

    More readable version for XmlItems and Attributes, same as text

    More readable version for XmlItems and Attributes, same as text

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TextFunctions

Inherited from NameFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped