Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::xom Namespace Reference

Classes

class  Attribute
 
class  Builder
 
class  Comment
 
class  Document
 
class  Element
 
class  Elements
 
class  Exception
 
class  Node
 
class  NodeFactory
 
class  Nodes
 
class  ParentNode
 
class  Serializer
 
class  String
 
class  Text
 
class  XIncluder
 
class  XMLException
 
class  XSLException
 
class  XSLTransform
 

Typedefs

typedef unsigned char char_t
 

Functions

io::Outputoperator<< (io::Output &out, String str)
 
static String escapeSimple (char chr)
 
static bool isAttrEscape (char chr)
 
static bool isTextEscape (char chr)
 

Typedef Documentation

typedef unsigned char elm::xom::char_t

XOM character type.

Function Documentation

static String elm::xom::escapeSimple ( char  chr)
static

Get the escape sequence matching the given character. Only support character under code 127.

Parameters
chrCharacter to escape.
Returns
Escaped string.

Referenced by elm::xom::Serializer::writeAttributeValue(), and elm::xom::Serializer::writeEscaped().

static bool elm::xom::isAttrEscape ( char  chr)
static

Test if the character must be escaped in an attribute value.

Parameters
chrCharacter to test.
Returns
True if it is attribute escapable, false else.

Referenced by elm::xom::Serializer::writeAttributeValue().

static bool elm::xom::isTextEscape ( char  chr)
static

Test if the character must be escaped in a text value.

Parameters
chrCharacter to test.
Returns
True if it is text escapable, false else.

Referenced by elm::xom::Serializer::writeEscaped().

io::Output& elm::xom::operator<< ( io::Output &  out,
String  str 
)

References elm::io::out.