Declared in XMLWriter.h

Overview

xml stream writer protocol, see: https://code.google.com/p/xswi/w/list

Tasks

Instance Methods

close

close the writer and buffers

- (void)close

Declared In

XMLWriter.h

flush

flush the buffers

- (void)flush

Declared In

XMLWriter.h

toData

the written xml as data, set to the encoding used in the writeStartDocumentWithEncodingAndVersion method (UTF-8 per default)

- (NSData *)toData

Return Value

the written xml as data, set to the encoding used in the writeStartDocumentWithEncodingAndVersion method (UTF-8 per default)

Declared In

XMLWriter.h

toString

the written xml string buffer

- (NSMutableString *)toString

Return Value

the written xml string buffer

Declared In

XMLWriter.h

writeAttribute:value:

The name of the attribute.

- (void)writeAttribute:(NSString *)localName value:(NSString *)value

Parameters

localName

The name of the attribute.

value

The attribute value.

Declared In

XMLWriter.h

writeCData:

The cdata string.

- (void)writeCData:(NSString *)cdata

Parameters

cdata

The cdata string.

Declared In

XMLWriter.h

writeCharacters:

The text to write.

- (void)writeCharacters:(NSString *)text

Parameters

text

The text to write.

Declared In

XMLWriter.h

writeComment:

The comment text to write.

- (void)writeComment:(NSString *)comment

Parameters

comment

The comment text to write.

Declared In

XMLWriter.h

writeEmptyElement:

The name of the element.

- (void)writeEmptyElement:(NSString *)localName

Parameters

localName

The name of the element.

Declared In

XMLWriter.h

writeEndDocument

..

- (void)writeEndDocument

Declared In

XMLWriter.h

writeEndElement

..

- (void)writeEndElement

Declared In

XMLWriter.h

writeEndElement:

The name of the element.

- (void)writeEndElement:(NSString *)localName

Parameters

localName

The name of the element.

Declared In

XMLWriter.h

writeProcessingInstruction:data:

The target string.

- (void)writeProcessingInstruction:(NSString *)target data:(NSString *)data

Parameters

target

The target string.

data

The data string.

Declared In

XMLWriter.h

writeStartDocument

..

- (void)writeStartDocument

Declared In

XMLWriter.h

writeStartDocumentWithEncoding:version:

The XML encoding as string.

- (void)writeStartDocumentWithEncoding:(NSString *)encoding version:(NSString *)version

Parameters

encoding

The XML encoding as string.

version

The XML version string.

Declared In

XMLWriter.h

writeStartDocumentWithVersion:

..

- (void)writeStartDocumentWithVersion:(NSString *)version

Parameters

version

The XML version string.

Declared In

XMLWriter.h

writeStartElement:

The name of the element.

- (void)writeStartElement:(NSString *)localName

Parameters

localName

The name of the element.

Declared In

XMLWriter.h