trait NameFunctions extends AnyRef
Functions providing access to QNames
- Alphabetic
- By Inheritance
- NameFunctions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
def
hasNamespace[T](namespaceUri: String)(implicit name: Names[T], d: DIF): (T) ⇒ Boolean
matches only the namespace
-
def
hasNamespace[T](namespace: Namespace)(implicit name: Names[T]): (T) ⇒ Boolean
matches only the namespace
-
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
-
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isEquivalent[T](qname: QName)(implicit name: Names[T]): (T) ⇒ Boolean
Matches on prefix and namespace only
-
def
isExactly[T](qname: QName)(implicit name: Names[T]): (T) ⇒ Boolean
Does the qname match exactly (prefix included if present)
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
localName[T](t: T)(implicit name: Names[T]): String
Returns the localName
-
def
localName[T](implicit t: T, name: Names[T], d: DIF): String
Returns the localName
-
def
name[T](t: T)(implicit iname: Names[T]): QName
Returns the QName, will throw if the QName is "empty"
-
def
name[T](implicit t: T, name: Names[T], d: DIF): QName
Returns the QName, will throw if the QName is "empty"
-
def
namespace[T](implicit t: T, name: Names[T], d: DIF): UnderlyingNamespace
Returns the underlying namespace object
-
def
namespaceUri[T](t: T)(implicit name: Names[T]): String
XPath namespace-uri function, returns the uri
-
def
namespaceUri[T](implicit t: T, name: Names[T], d: DIF): String
XPath namespace-uri function, returns the uri
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pqName[T](t: T)(implicit name: Names[T]): String
Returns either qualifiedName or prefix:{namespace}local when a prefix is present
-
def
pqName[T](implicit t: T, name: Names[T], d: DIF): String
Returns either qualifiedName or prefix:{namespace}local when a prefix is present
-
def
qName[T](t: T)(implicit name: Names[T]): String
Returns the XPath QName - prefix:local or local
-
def
qName[T](implicit t: T, name: Names[T], d: DIF): String
Returns the XPath QName - prefix:local or local
-
def
qname[T](t: T)(implicit name: Names[T]): String
Returns the XPath QName - prefix:local or local
-
def
qname[T](implicit t: T, name: Names[T], d: DIF): String
Returns the XPath QName - prefix:local or local
-
def
qualifiedName[T](t: T)(implicit name: Names[T]): String
Returns the qualified name {namespace}local
-
def
qualifiedName[T](implicit t: T, name: Names[T], d: DIF): String
Returns the qualified name {namespace}local
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()