ObjFW
Public Member Functions
OFXMLNode Class Reference

A class which stores an XML element. More...

#import <OFXMLNode.h>

Inheritance diagram for OFXMLNode:
OFObject <OFCopying> <OFSerialization> <OFObject> OFXMLAttribute OFXMLCDATA OFXMLCharacters OFXMLComment OFXMLElement OFXMLProcessingInstructions

List of all members.

Public Member Functions

(OFString *) - stringValue
 Returns the contents of the receiver as a string value.
(intmax_t) - decimalValue
 Returns the contents of the receiver as a decimal value.
(uintmax_t) - hexadecimalValue
 Returns the contents of the receiver as a hexadecimal value.
(float) - floatValue
 Returns the contents of the receiver as a float value.
(double) - doubleValue
 Returns the contents of the receiver as a double value.
(OFString *) - XMLString
 Returns an OFString representing the OFXMLNode as an XML string.
(OFString *) - XMLStringWithIndentation:
 Returns an OFString representing the OFXMLNode as an XML string with indentation.
(OFString *) - XMLStringWithIndentation:level:
 Returns an OFString representing the OFXMLNode as an XML string with indentation for the specified level.

Detailed Description

A class which stores an XML element.


Member Function Documentation

- (intmax_t) decimalValue

Returns the contents of the receiver as a decimal value.

Returns:
An integer with the decimal value
- (double) doubleValue

Returns the contents of the receiver as a double value.

Returns:
A double with the double value
- (float) floatValue

Returns the contents of the receiver as a float value.

Returns:
A float with the float value
- (uintmax_t) hexadecimalValue

Returns the contents of the receiver as a hexadecimal value.

Returns:
An integer with the hexadecimal value
- (OFString *) stringValue

Returns the contents of the receiver as a string value.

Returns:
A string with the string value
- (OFString *) XMLString

Returns an OFString representing the OFXMLNode as an XML string.

Returns:
An OFString representing the OFXMLNode as an XML string
- (OFString *) XMLStringWithIndentation: (unsigned int)  indentation

Returns an OFString representing the OFXMLNode as an XML string with indentation.

Parameters:
indentationThe indentation for the XML string
Returns:
An OFString representing the OFXMLNode as an XML string with indentation
- (OFString *) XMLStringWithIndentation: (unsigned int)  indentation
level: (unsigned int)  level 

Returns an OFString representing the OFXMLNode as an XML string with indentation for the specified level.

Parameters:
indentationThe indentation for the XML string
levelThe level of indentation
Returns:
An OFString representing the OFXMLNode as an XML string with indentation

The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties