NCName

object NCName
Companion
class
trait Product
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 canBeNCName(s: String): Boolean

Returns true if the given string is a valid non-colon name.

Returns true if the given string is a valid non-colon name.

Disclaimer: Names starting with "xml" are not excluded, and names containing non-BMP characters are not included.

def canBePartOfNCName(c: Char): Boolean

Returns the same as Names.canBePartOfName(c), but excluding the colon.

Returns the same as Names.canBePartOfName(c), but excluding the colon.

def canBeStartOfNCName(s: String): Boolean

Returns true if the given string can start valid non-colon names. This is the same as saying that the string is a valid non-colon name, so canBeNCName(s) is returned.

Returns true if the given string can start valid non-colon names. This is the same as saying that the string is a valid non-colon name, so canBeNCName(s) is returned.

def canBeStartOfNCName(c: Char): Boolean

Returns the same as Names.canBeStartOfName(c), but excluding the colon.

Returns the same as Names.canBeStartOfName(c), but excluding the colon.