aboutsummaryrefslogtreecommitdiff
path: root/src/support/dom/document_cache_item.cc
blob: 9798bfa46015fb56b9f23c0f0db50283b94bc0fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "support/dom/document_cache_item.h"

namespace InputXSLT {

DomDocumentCache::item::item(xercesc::DOMDocument* document):
	parser_(),
	dom_support_(parser_),
	document_(document),
	parsed_source_(
		document_,
		parser_,
		dom_support_
	) { }

DomDocumentCache::item::~item() {
	this->document_->release();
}

xalan::XalanDocument* DomDocumentCache::item::getXalanDocument() {
	return this->parsed_source_.getDocument();
}

}