CheckedWriter

A wrapper around a writer that, before forwarding every write operation, validates the input given by the user using a chain of validating cursors.

This type should not be instantiated directly, but with the helper function withValidation.

Alias This

writer

Members

Aliases

StringType
alias StringType = WriterType.StringType
Undocumented in source.

Functions

closeElement
void closeElement(StringType tag)
Undocumented in source. Be warned that the author may not have intended to support it.
startElement
void startElement(StringType tag)
Undocumented in source. Be warned that the author may not have intended to support it.
writeAttribute
void writeAttribute(StringType name, StringType value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeCDATA
void writeCDATA(StringType text)
Undocumented in source. Be warned that the author may not have intended to support it.
writeComment
void writeComment(StringType text)
Undocumented in source. Be warned that the author may not have intended to support it.
writeProcessingInstruction
void writeProcessingInstruction(StringType target, StringType data)
Undocumented in source. Be warned that the author may not have intended to support it.
writeText
void writeText(StringType text)
Undocumented in source. Be warned that the author may not have intended to support it.
writeXMLDeclaration
void writeXMLDeclaration(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
writeXMLDeclaration
void writeXMLDeclaration(StringType version_, StringType encoding, StringType standalone)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Cursor
struct Cursor
Undocumented in source.

Variables

cursor
Cursor cursor;
Undocumented in source.
cursor
CursorType cursor;
Undocumented in source.
writer
WriterType writer;
Undocumented in source.

Meta