}
const Node* Parser::apply(const Document& document)
-throw(RuntimeException) {
+noexcept(false) {
LOGMETHOD(TraceMethod tf("anna::xml::Parser", "apply(Document)", ANNA_FILE_LOCATION));
Guard guard(*this);
reset();
}
const Node* Parser::apply(const Document& document, const DTD& dtd)
-throw(RuntimeException) {
+noexcept(false) {
LOGMETHOD(TraceMethod tf("anna::xml::Parser", "apply(Document,DTD)", ANNA_FILE_LOCATION));
Guard guard(*this);
reset();
}
void Parser::apply(_xmlDoc* document)
-throw(RuntimeException) {
+noexcept(false) {
LOGMETHOD(TraceMethod tf("anna::xml::Parser", "apply (_xmlDoc)", ANNA_FILE_LOCATION));
xmlNode* root;
}
void Parser::children(Node* node, xmlNode* xmlNode)
-throw(RuntimeException) {
+noexcept(false) {
Node* child;
bool isSeparator;
const char* w;
}
void Parser::attributes(Node* node, xmlAttr* attribute)
-throw(RuntimeException) {
+noexcept(false) {
const char* value;
const Namespace* ns = NULL;
/* static */
void Parser::errorHandler(void *ctx, const char *msg, ...)
-throw() {
+{
va_list ap;
va_start(ap, msg);
vsprintf(st_text, msg, ap);
/* static */
void Parser::warningHandler(void *ctx, const char *msg, ...)
-throw() {
+{
va_list ap;
if(Logger::isActive(Logger::Warning)) {
// La metodo que invoque a este debe hacerlo con una secci�n cr�tica activa.
void Parser::reset()
-throw() {
+{
if(a_root != NULL)
a_root->clear();
}
void Parser::setupEncoding(_xmlDoc* document)
-throw() {
+{
if(document->encoding != NULL) {
a_encoding = true;
}
const char* Parser::decode(const unsigned char* source)
-throw() {
+{
if(a_encoding == false)
return (const char*) source;