/* */ #include "MetalinkMetalinkParserState.h" #include "MetalinkParserStateMachine.h" void MetalinkMetalinkParserState::beginElement(MetalinkParserStateMachine* stm, const string& name, const map& attrs) { if(name == "files") { stm->setFilesState(); } else { stm->setSkipTagState(this); } } void MetalinkMetalinkParserState::endElement(MetalinkParserStateMachine* stm, const string& name, const string& characters) { stm->setFinState(); }