Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Debug_DTD_Manager.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-   $Id: Debug_DTD_Manager.cpp,v 1.1.1.1 2003/02/21 18:36:32 chad Exp $
00002 
00003 #include "ACEXML/common/SAXExceptions.h"
00004 #include "ACEXML/parser/debug_validator/Debug_DTD_Manager.h"
00005 #include "ACEXML/parser/debug_validator/Debug_Element_Builder.h"
00006 #include "ACEXML/parser/debug_validator/Debug_Attributes_Builder.h"
00007 
00008 ACEXML_Debug_DTD_Manager::ACEXML_Debug_DTD_Manager ()
00009 {
00010 
00011 }
00012 
00013 ACEXML_Debug_DTD_Manager::~ACEXML_Debug_DTD_Manager ()
00014 {
00015 
00016 }
00017 
00018 ACEXML_Element_Def_Builder *
00019 ACEXML_Debug_DTD_Manager::getElement_Def_Builder ()
00020 {
00021   return new ACEXML_Debug_Element_Builder ();
00022 }
00023 
00024 int
00025 ACEXML_Debug_DTD_Manager::insertElement_Definition (ACEXML_Element_Def_Builder *def ACEXML_ENV_ARG_DECL)
00026 {
00027   ACEXML_Element_Def_Builder::VAR ptr (def);
00028 
00029   if (def != 0)
00030     {
00031       ptr->dump ();
00032       return 0;
00033     }
00034 
00035   ACEXML_THROW_RETURN (ACEXML_SAXParseException (ACE_TEXT("ACEXML_Debug_Attributes_Builder internal error")), -1);
00036 }
00037 
00038 ACEXML_Attributes_Def_Builder *
00039 ACEXML_Debug_DTD_Manager::getAttribute_Def_Builder ()
00040 {
00041   ACEXML_Attributes_Def_Builder *tmp;
00042   ACE_NEW_RETURN (tmp,
00043                   ACEXML_Debug_Attributes_Builder (),
00044                   0);
00045   return tmp;
00046 }
00047 
00048 int
00049 ACEXML_Debug_DTD_Manager::insertAttributes_Definition (ACEXML_Attributes_Def_Builder *def ACEXML_ENV_ARG_DECL)
00050 {
00051   ACEXML_Attributes_Def_Builder::VAR ptr (def);
00052   if (def != 0)
00053     {
00054       ptr->dump ();
00055       return 0;
00056     }
00057 
00058   ACEXML_THROW_RETURN (ACEXML_SAXParseException (ACE_TEXT("ACEXML_Debug_Attributes_Builder internal error")), -1);
00059 }
00060 
00061 ACEXML_Validator *
00062 ACEXML_Debug_DTD_Manager::getValidator (const ACEXML_Char *namespaceURI,
00063                                         const ACEXML_Char *localName,
00064                                         const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
00065 {
00066   ACE_UNUSED_ARG (namespaceURI);
00067   ACE_UNUSED_ARG (localName);
00068   ACE_UNUSED_ARG (qName);
00069 
00070   ACEXML_THROW_RETURN (ACEXML_SAXNotSupportedException (ACE_TEXT ("getValidator()")), 0);
00071 }

Generated on Mon Jun 16 13:23:19 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002