xref: /aosp_15_r20/external/image_io/src/xml/xml_handler.cc (revision ca0779eb572efbbfda2e47f806647c3c7eeea8c3)
1*ca0779ebSJerome Gaillard #include "image_io/xml/xml_handler.h"
2*ca0779ebSJerome Gaillard 
3*ca0779ebSJerome Gaillard namespace photos_editing_formats {
4*ca0779ebSJerome Gaillard namespace image_io {
5*ca0779ebSJerome Gaillard 
AttributeName(const XmlTokenContext & context)6*ca0779ebSJerome Gaillard DataMatchResult XmlHandler::AttributeName(const XmlTokenContext& context) {
7*ca0779ebSJerome Gaillard   return context.GetResult();
8*ca0779ebSJerome Gaillard }
9*ca0779ebSJerome Gaillard 
AttributeValue(const XmlTokenContext & context)10*ca0779ebSJerome Gaillard DataMatchResult XmlHandler::AttributeValue(const XmlTokenContext& context) {
11*ca0779ebSJerome Gaillard   return context.GetResult();
12*ca0779ebSJerome Gaillard }
13*ca0779ebSJerome Gaillard 
StartElement(const XmlTokenContext & context)14*ca0779ebSJerome Gaillard DataMatchResult XmlHandler::StartElement(const XmlTokenContext& context) {
15*ca0779ebSJerome Gaillard   return context.GetResult();
16*ca0779ebSJerome Gaillard }
17*ca0779ebSJerome Gaillard 
FinishElement(const XmlTokenContext & context)18*ca0779ebSJerome Gaillard DataMatchResult XmlHandler::FinishElement(const XmlTokenContext& context) {
19*ca0779ebSJerome Gaillard   return context.GetResult();
20*ca0779ebSJerome Gaillard }
21*ca0779ebSJerome Gaillard 
ElementContent(const XmlTokenContext & context)22*ca0779ebSJerome Gaillard DataMatchResult XmlHandler::ElementContent(const XmlTokenContext& context) {
23*ca0779ebSJerome Gaillard   return context.GetResult();
24*ca0779ebSJerome Gaillard }
25*ca0779ebSJerome Gaillard 
Comment(const XmlTokenContext & context)26*ca0779ebSJerome Gaillard DataMatchResult XmlHandler::Comment(const XmlTokenContext& context) {
27*ca0779ebSJerome Gaillard   return context.GetResult();
28*ca0779ebSJerome Gaillard }
29*ca0779ebSJerome Gaillard 
Cdata(const XmlTokenContext & context)30*ca0779ebSJerome Gaillard DataMatchResult XmlHandler::Cdata(const XmlTokenContext& context) {
31*ca0779ebSJerome Gaillard   return context.GetResult();
32*ca0779ebSJerome Gaillard }
33*ca0779ebSJerome Gaillard 
Pi(const XmlTokenContext & context)34*ca0779ebSJerome Gaillard DataMatchResult XmlHandler::Pi(const XmlTokenContext& context) {
35*ca0779ebSJerome Gaillard   return context.GetResult();
36*ca0779ebSJerome Gaillard }
37*ca0779ebSJerome Gaillard 
38*ca0779ebSJerome Gaillard }  // namespace image_io
39*ca0779ebSJerome Gaillard }  // namespace photos_editing_formats
40