Class
A qualified XML name, containing the URI and the local name.
QName
QName
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
localName | string | readonly | The local name part of the qualified name. |
uri | string | readonly | The URI part of the qualified name. |
Methods
Constructor
QName QName (uri:
any[, name:
string])
Creates a QName object.
Parameter | Type | Description |
---|---|---|
uri | any |
The URI, specified as a Namespace object, an existing QName object, or string.
• If this is a Namespace object, the URI is set to the namespace URI, and there is no local name. • If this is a QName object, the URI and localName is set to those of that object. • If this is a string, the URI is set to that string. |
name | string | The local name. Used only if URI is given as a string. (Optional) |
Example | new QName ("http:/www.adobe.com", "name") |
Used in:
void XML.setName (name: QName)
Return
QName QName.QName (uri: any[, name: string])
QName XML.name ()
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |