chromium/third_party/skia/src/xml/SkXMLWriter.cpp

/*
 * Copyright 2006 The Android Open Source Project
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "src/xml/SkXMLWriter.h"

#include "include/core/SkStream.h"
#include "include/private/base/SkTo.h"

SkXMLWriter::SkXMLWriter(bool doEscapeMarkup) :{}

SkXMLWriter::~SkXMLWriter() {}

void SkXMLWriter::flush() {}

void SkXMLWriter::addAttribute(const char name[], const char value[]) {}

void SkXMLWriter::addS32Attribute(const char name[], int32_t value) {}

void SkXMLWriter::addHexAttribute(const char name[], uint32_t value, int minDigits) {}

void SkXMLWriter::addScalarAttribute(const char name[], SkScalar value) {}

void SkXMLWriter::addText(const char text[], size_t length) {}

void SkXMLWriter::doEnd(Elem* elem) {}

bool SkXMLWriter::doStart(const char name[], size_t length) {}

SkXMLWriter::Elem* SkXMLWriter::getEnd() {}

const char* SkXMLWriter::getHeader() {}

void SkXMLWriter::startElement(const char name[]) {}

static const char* escape_char(char c, char storage[2]) {}

static size_t escape_markup(char dst[], const char src[], size_t length) {}

void SkXMLWriter::addAttributeLen(const char name[], const char value[], size_t length) {}

void SkXMLWriter::startElementLen(const char elem[], size_t length) {}

////////////////////////////////////////////////////////////////////////////////////////

static void write_dom(const SkDOM& dom, const SkDOM::Node* node, SkXMLWriter* w, bool skipRoot) {}

void SkXMLWriter::writeDOM(const SkDOM& dom, const SkDOM::Node* node, bool skipRoot) {}

void SkXMLWriter::writeHeader()
{}

// SkXMLStreamWriter

SkXMLStreamWriter::SkXMLStreamWriter(SkWStream* stream, uint32_t flags)
    :{}

SkXMLStreamWriter::~SkXMLStreamWriter() {}

void SkXMLStreamWriter::onAddAttributeLen(const char name[], const char value[], size_t length) {}

void SkXMLStreamWriter::onAddText(const char text[], size_t length) {}

void SkXMLStreamWriter::onEndElement() {}

void SkXMLStreamWriter::onStartElementLen(const char name[], size_t length) {}

void SkXMLStreamWriter::writeHeader() {}

void SkXMLStreamWriter::newline() {}

void SkXMLStreamWriter::tab(int level) {}

////////////////////////////////////////////////////////////////////////////////////////////////

#include "src/xml/SkXMLParser.h"

SkXMLParserWriter::SkXMLParserWriter(SkXMLParser* parser)
    :{}

SkXMLParserWriter::~SkXMLParserWriter() {}

void SkXMLParserWriter::onAddAttributeLen(const char name[], const char value[], size_t length) {}

void SkXMLParserWriter::onAddText(const char text[], size_t length) {}

void SkXMLParserWriter::onEndElement() {}

void SkXMLParserWriter::onStartElementLen(const char name[], size_t length) {}