Type Method

prefix(forName:)

Returns the prefix from the specified qualified name.

Declaration

class func prefix(forName name: String) -> String?

Parameters

qName

A string that is a qualified name.

Discussion

For example, if the qualified name is “bst:title”, this method returns “bst”.

See Also

Managing Namespaces

var localName: String?

Returns the local name of the receiver.

class func localName(forName: String) -> String

Returns the local name from the specified qualified name.

var prefix: String?

Returns the prefix of the receiver’s name.