#include <mapcontenthandler.h>
Default implementation of the ErrorHandler interface | |
| virtual void | error (const xercesc::SAXParseException &exc) |
| |
| virtual void | fatalError (const xercesc::SAXParseException &exc) |
| |
| virtual void | warning (const xercesc::SAXParseException &exc) |
| |
| virtual void | resetErrors () |
| |
| bool | HasFoundMapName () const |
| |
| Map * | GetMap () |
| note: store a RefPtr to this map immediately because reparsing with this handler would otherwise cause it to be deleted. | |
| const Map * | GetMap () const |
| void | ClearMap () |
| This causes the parser to release its reference to the map. | |
| virtual | ~MapContentHandler () |
Public Member Functions | |
| MapContentHandler () | |
| Constructor. | |
| virtual const std::vector < std::string > & | GetMissingLibraries () |
| virtual const std::set < std::string > & | GetMissingActorTypes () |
| virtual void | characters (const XMLCh *const chars, const unsigned int length) |
| |
| virtual void | endDocument () |
| |
| virtual void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
| |
| virtual void | ignorableWhitespace (const XMLCh *const chars, const unsigned int length) |
| |
| virtual void | processingInstruction (const XMLCh *const target, const XMLCh *const data) |
| |
| virtual void | resetDocument () |
| Any previously held onto map created during parsing will be deleted. | |
| virtual void | setDocumentLocator (const xercesc::Locator *const locator) |
| |
| virtual void | startDocument () |
| Any map held onto by a previous parsing will be deleted here and new map created. | |
| virtual void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const xercesc::Attributes &attrs) |
| |
| virtual void | startPrefixMapping (const XMLCh *const prefix, const XMLCh *const uri) |
| |
| virtual void | endPrefixMapping (const XMLCh *const prefix) |
| |
| virtual void | skippedEntity (const XMLCh *const name) |
| |
Default implementation of the EntityResolver interface. | |
| virtual xercesc::InputSource * | resolveEntity (const XMLCh *const publicId, const XMLCh *const systemId) |
| |
| dtDAL::MapContentHandler::MapContentHandler | ( | ) |
Constructor.
| dtDAL::MapContentHandler::~MapContentHandler | ( | ) | [protected, virtual] |
| virtual const std::vector<std::string>& dtDAL::MapContentHandler::GetMissingLibraries | ( | ) | [inline, virtual] |
| virtual const std::set<std::string>& dtDAL::MapContentHandler::GetMissingActorTypes | ( | ) | [inline, virtual] |
| void dtDAL::MapContentHandler::characters | ( | const XMLCh *const | chars, | |
| const unsigned int | length | |||
| ) | [virtual] |
| void dtDAL::MapContentHandler::endDocument | ( | ) | [virtual] |
| void dtDAL::MapContentHandler::endElement | ( | const XMLCh *const | uri, | |
| const XMLCh *const | localname, | |||
| const XMLCh *const | qname | |||
| ) | [virtual] |
We pop if the element was never filled in. This happens if the value is empty for parameter data. We don't pop for a group because that is handled separately below.
| void dtDAL::MapContentHandler::ignorableWhitespace | ( | const XMLCh *const | chars, | |
| const unsigned int | length | |||
| ) | [virtual] |
| void dtDAL::MapContentHandler::processingInstruction | ( | const XMLCh *const | target, | |
| const XMLCh *const | data | |||
| ) | [virtual] |
| void dtDAL::MapContentHandler::resetDocument | ( | ) | [virtual] |
Any previously held onto map created during parsing will be deleted.
| void dtDAL::MapContentHandler::setDocumentLocator | ( | const xercesc::Locator *const | locator | ) | [virtual] |
| void dtDAL::MapContentHandler::startDocument | ( | ) | [virtual] |
Any map held onto by a previous parsing will be deleted here and new map created.
| void dtDAL::MapContentHandler::startElement | ( | const XMLCh *const | uri, | |
| const XMLCh *const | localname, | |||
| const XMLCh *const | qname, | |||
| const xercesc::Attributes & | attrs | |||
| ) | [virtual] |
| void dtDAL::MapContentHandler::startPrefixMapping | ( | const XMLCh *const | prefix, | |
| const XMLCh *const | uri | |||
| ) | [virtual] |
| void dtDAL::MapContentHandler::endPrefixMapping | ( | const XMLCh *const | prefix | ) | [virtual] |
| void dtDAL::MapContentHandler::skippedEntity | ( | const XMLCh *const | name | ) | [virtual] |
| InputSource * dtDAL::MapContentHandler::resolveEntity | ( | const XMLCh *const | publicId, | |
| const XMLCh *const | systemId | |||
| ) | [virtual] |
| void dtDAL::MapContentHandler::error | ( | const xercesc::SAXParseException & | exc | ) | [virtual] |
| void dtDAL::MapContentHandler::fatalError | ( | const xercesc::SAXParseException & | exc | ) | [virtual] |
| void dtDAL::MapContentHandler::warning | ( | const xercesc::SAXParseException & | exc | ) | [virtual] |
| void dtDAL::MapContentHandler::resetErrors | ( | ) | [virtual] |
| bool dtDAL::MapContentHandler::HasFoundMapName | ( | ) | const [inline] |
| Map * dtDAL::MapContentHandler::GetMap | ( | ) |
note: store a RefPtr to this map immediately because reparsing with this handler would otherwise cause it to be deleted.
| const Map * dtDAL::MapContentHandler::GetMap | ( | ) | const |
| void dtDAL::MapContentHandler::ClearMap | ( | ) |
This causes the parser to release its reference to the map.