![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/xom/Builder.h>
Public Member Functions | |
Builder (void) | |
Builder (bool validate) | |
Builder (bool validate, NodeFactory *factory) | |
Builder (NodeFactory *factory) | |
NodeFactory * | getNodeFactory (void) const |
Document * | build (CString system_id) |
Document * | build (CString document, CString base_uri) |
Document * | build (elm::io::InStream *stream) |
Document * | build (elm::io::InStream *stream, CString base_uri) |
A builder may be used for building or loading an XML document.
Builder | ( | bool | validate, |
NodeFactory * | factory | ||
) |
Builder | ( | NodeFactory * | factory | ) |
Build a document from the given system identifier.
system_id | System identifier to get the document from. |
References NodeFactory::makeDocument().
Document * build | ( | elm::io::InStream * | stream | ) |
Build a document from the given input stream.
system | Input stream to read frm. |
References elm::xom::close_callback(), NodeFactory::makeDocument(), and elm::xom::read_callback().
Document * build | ( | elm::io::InStream * | stream, |
CString | base_uri | ||
) |
Build a document from the given input stream.
system | Input stream to read frm. |
References CString::chars(), elm::xom::close_callback(), NodeFactory::makeDocument(), and elm::xom::read_callback().
|
inline |