Shaka Player Embedded
shaka
src
js
dom
text.cc
Go to the documentation of this file.
1
// Copyright 2016 Google LLC
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// https://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#include "
src/js/dom/text.h
"
16
17
#include <deque>
18
19
#include "
src/js/dom/container_node.h
"
20
#include "
src/js/dom/document.h
"
21
22
namespace
shaka
{
23
namespace
js {
24
namespace
dom {
25
26
Text::Text
(
RefPtr<Document>
document,
const
std::string& data)
27
:
CharacterData
(TEXT_NODE, document, data) {}
28
29
// \cond Doxygen_Skip
30
Text::~Text() {}
31
// \endcond Doxygen_Skip
32
33
std::string
Text::node_name
()
const
{
34
return
"#text"
;
35
}
36
37
38
TextFactory::TextFactory
() {
39
NotImplemented(
"splitText"
);
40
NotImplemented(
"wholeText"
);
41
}
42
43
}
// namespace dom
44
}
// namespace js
45
}
// namespace shaka
text.h
shaka::js::dom::TextFactory::TextFactory
TextFactory()
Definition:
text.cc:38
shaka
Definition:
async_results.h:25
container_node.h
document.h
shaka::RefPtr
Definition:
ref_ptr.h:43
shaka::js::dom::Text::node_name
std::string node_name() const override
Definition:
text.cc:33
shaka::js::dom::CharacterData
Definition:
character_data.h:31
shaka::js::dom::Text::Text
Text(RefPtr< Document > document, const std::string &data)
Definition:
text.cc:26
Generated by
1.8.13