Method Tag.add

Adds a Value, Attribute, Tag (or array of such) as a member/child of this Tag. Returns 'this' for chaining. Throws 'SDLangValidationException' if trying to add an Attribute or Tag that already has a parent.

Prototypes

Tag add(
  Value val
);

{null} add();

Tag add(
  Attribute 
);

Tag add(
  Attribute[] 
);

Tag add(
  Tag 
);

Tag add(
  Tag[] 
);

Authors

Copyright

License