QName

object QName
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def apply(prefixOption: Option[String], localPart: String): QName

Creates a QName from an optional prefix and a localPart

Creates a QName from an optional prefix and a localPart

def apply(prefix: String, localPart: String): QName

Creates a PrefixedName from a prefix and a localPart

Creates a PrefixedName from a prefix and a localPart

def apply(s: String): QName

Shorthand for parse(s)

Shorthand for parse(s)

def parse(s: String): QName

Parses a String into a QName. The String (after trimming) must conform to the toString format of a PrefixedName or UnprefixedName.

Parses a String into a QName. The String (after trimming) must conform to the toString format of a PrefixedName or UnprefixedName.

def unapply(qname: QName): Option[(Option[String], String)]

Extractor turning a QName into a pair of an optional prefix, and a local part.

Extractor turning a QName into a pair of an optional prefix, and a local part.

With this extractor one can pattern match on arbitrary QNames, and not just on prefixed or unprefixed names.