Attribute

Undocumented in source.

Constructors

this
this(string namespace, string name, Value value, Location location)
Undocumented in source.
this
this(string name, Value value, Location location)
Undocumented in source.

Members

Functions

clone
Attribute clone()

Copy this Attribute. The clone does not have a parent, even if the original does.

getFullName
FullName getFullName()

This tag's name, including namespace if one exists.

opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
Attribute remove()

Removes this from its parent, if any. Returns this for chaining. Inefficient ATM, but it works.

toSDLString
string toSDLString()
Undocumented in source. Be warned that the author may not have intended to support it.
toSDLString
void toSDLString(Sink sink)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

fullName
deprecated string fullName [@property getter]

This tag's name, including namespace if one exists.

name
string name [@property getter]
string name [@property setter]

This attribute's name, not including namespace.

namespace
string namespace [@property getter]
string namespace [@property setter]

This tag's namespace. Empty string if no namespace.

parent
Tag parent [@property getter]

Get parent tag. To set a parent, attach this Attribute to its intended parent tag by calling Tag.add(...), or by passing it to the parent tag's constructor.

Variables

location
Location location;
Undocumented in source.
value
Value value;
Undocumented in source.

Meta