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::Builder Class Reference

#include <elm/xom/Builder.h>

Public Member Functions

 Builder (void)
 
 Builder (bool validate)
 
 Builder (bool validate, NodeFactory *factory)
 
 Builder (NodeFactory *factory)
 
NodeFactorygetNodeFactory (void) const
 
Documentbuild (CString system_id)
 
Documentbuild (CString document, CString base_uri)
 
Documentbuild (elm::io::InStream *stream)
 
Documentbuild (elm::io::InStream *stream, CString base_uri)
 

Detailed Description

A builder may be used for building or loading an XML document.

Constructor & Destructor Documentation

elm::xom::Builder::Builder ( void  )

Create a builder with the default node factory and no validation.

elm::xom::Builder::Builder ( bool  validate)
elm::xom::Builder::Builder ( bool  validate,
NodeFactory factory 
)
elm::xom::Builder::Builder ( NodeFactory factory)

Member Function Documentation

Document * elm::xom::Builder::build ( CString  system_id)

Build a document from the given system identifier.

Parameters
system_idSystem identifier to get the document from.
Returns
Read document or NULL if there is an error.

References elm::xom::NodeFactory::makeDocument().

Referenced by elm::serial2::XOMUnserializer::XOMUnserializer(), and elm::serial::XOMUnserializer::XOMUnserializer().

Document* elm::xom::Builder::build ( CString  document,
CString  base_uri 
)
Document* elm::xom::Builder::build ( elm::io::InStream stream)
Document* elm::xom::Builder::build ( elm::io::InStream stream,
CString  base_uri 
)
NodeFactory * elm::xom::Builder::getNodeFactory ( void  ) const

The documentation for this class was generated from the following files: