Trait

scales.xml.xpath

NameFunctions

Related Doc: package xpath

Permalink

trait NameFunctions extends AnyRef

Functions providing access to QNames

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NameFunctions
  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. 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

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

    Permalink

    matches only the namespace

  12. def hasNamespace[T](namespace: Namespace)(implicit name: Names[T]): (T) ⇒ Boolean

    Permalink

    matches only the namespace

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

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

  15. def hashCode(): Int

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

    Permalink

    Matches on prefix and namespace only

  17. def isExactly[T](qname: QName)(implicit name: Names[T]): (T) ⇒ Boolean

    Permalink

    Does the qname match exactly (prefix included if present)

  18. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Returns the localName

  20. def localName[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    Returns the localName

  21. def name[T](t: T)(implicit iname: Names[T]): QName

    Permalink

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

  22. def name[T](implicit t: T, name: Names[T], d: DIF): QName

    Permalink

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

  23. def namespace[T](implicit t: T, name: Names[T], d: DIF): UnderlyingNamespace

    Permalink

    Returns the underlying namespace object

  24. def namespaceUri[T](t: T)(implicit name: Names[T]): String

    Permalink

    XPath namespace-uri function, returns the uri

  25. def namespaceUri[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    XPath namespace-uri function, returns the uri

  26. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink

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

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

  31. def qName[T](t: T)(implicit name: Names[T]): String

    Permalink

    Returns the XPath QName - prefix:local or local

  32. def qName[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    Returns the XPath QName - prefix:local or local

  33. def qname[T](t: T)(implicit name: Names[T]): String

    Permalink

    Returns the XPath QName - prefix:local or local

  34. def qname[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    Returns the XPath QName - prefix:local or local

  35. def qualifiedName[T](t: T)(implicit name: Names[T]): String

    Permalink

    Returns the qualified name {namespace}local

  36. def qualifiedName[T](implicit t: T, name: Names[T], d: DIF): String

    Permalink

    Returns the qualified name {namespace}local

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped