QName

expect constructor(namespaceURI: String, localPart: String, prefix: String)

Create a new constructor with the given namespace uri, local part and prefix.

Parameters

namespaceURI

The namespace for this name

localPart

The local part of the name

prefix

The prefix for this name


expect constructor(namespaceURI: String, localPart: String)

Create a new constructor with the given namespace uri and local part. The prefix is unspecified (empty).

Parameters

namespaceURI

The namespace for this name

localPart

The local part of the name


expect constructor(localPart: String)

Create a new QName in the default namespace with the given local name and null prefix.

Parameters

localPart

The local part of the name. May not contain a ':' character.

actual constructor(namespaceURI: String, localPart: String, prefix: String)

Parameters

namespaceURI

The namespace for this name

localPart

The local part of the name

prefix

The prefix for this name


actual constructor(namespaceURI: String, localPart: String)

Create a new constructor with the given namespace uri and local part. The prefix is unspecified (empty).

Parameters

namespaceURI

The namespace for this name

localPart

The local part of the name


actual constructor(localPart: String)

Create a new QName in the default namespace with the given local name and null prefix.

Parameters

localPart

The local part of the name. May not contain a ':' character.

actual constructor(namespaceURI: String, localPart: String, prefix: String)

Parameters

namespaceURI

The namespace for this name

localPart

The local part of the name

prefix

The prefix for this name


actual constructor(namespaceURI: String, localPart: String)

Create a new constructor with the given namespace uri and local part. The prefix is unspecified (empty).

Parameters

namespaceURI

The namespace for this name

localPart

The local part of the name


actual constructor(localPart: String)

Create a new QName in the default namespace with the given local name and null prefix.

Parameters

localPart

The local part of the name. May not contain a ':' character.