Skip to content

Documentation


Documentation / @blazetrails/activesupport / XmlStringBuilder

Class: XmlStringBuilder ​

Defined in: packages/activesupport/lib/xml-mini.ts:420

No Rails Equivalent ​

PERMANENT

Implements ​

Constructors ​

Constructor ​

new XmlStringBuilder(): XmlStringBuilder

Returns ​

XmlStringBuilder

Methods ​

closeTag() ​

closeTag(name): void

Defined in: packages/activesupport/lib/xml-mini.ts:439

Parameters ​

ParameterType
namestring

Returns ​

void

No Rails Equivalent ​

PERMANENT

Implementation of ​

XmlBuilder.closeTag


instructBang() ​

instructBang(): void

Defined in: packages/activesupport/lib/xml-mini.ts:444

Returns ​

void

No Rails Equivalent ​

PERMANENT

Implementation of ​

XmlBuilder.instructBang


openTag() ​

openTag(name, attributes?): void

Defined in: packages/activesupport/lib/xml-mini.ts:434

Parameters ​

ParameterType
namestring
attributesRecord<string, string>

Returns ​

void

No Rails Equivalent ​

PERMANENT

Implementation of ​

XmlBuilder.openTag


tagBang() ​

tagBang(name, content?, attributes?): void

Defined in: packages/activesupport/lib/xml-mini.ts:424

Parameters ​

ParameterType
namestring
content?unknown
attributes?Record<string, string>

Returns ​

void

No Rails Equivalent ​

PERMANENT

Implementation of ​

XmlBuilder.tagBang


target() ​

target(): string

Defined in: packages/activesupport/lib/xml-mini.ts:448

Returns ​

string

Implementation of ​

XmlBuilder.target