Name

extends String

A Name represents an XML QName, ie a local name qualified by an optional namespace URI. The string value of a Name is the namespace, if available, contained in curly braces followed by the local name, for example "{/lang}program".

Constructors

Name other, Node deep name = other.name; Node name

Create a new Name from the string value of name, possibly prefixed by a namespace URI enclosed in curly braces.

this.name = Name.makeName(name.stringValue()); Node uri, Node local this.name = new Name(uri.stringValue(), local.stringValue());

Type Functions

local()

Get the local part of this Name.

name()

namespace()

Get the namespace URI of this Name.

string()

Get the string value of this Name.

Functions inherited from String