aboutsummaryrefslogtreecommitdiff
path: root/src/support/type/xobject_value.h
blob: 53ceacce75b0e0418367bdf8e027237d766cb32a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef INPUTXSLT_SRC_SUPPORT_TUPLE_XOBJECT_VALUE_H_
#define INPUTXSLT_SRC_SUPPORT_TUPLE_XOBJECT_VALUE_H_

#include <xalanc/XPath/XObject.hpp>

#include "common.h"
#include "support/filesystem_context.h"
#include "support/include_entity_resolver.h"

namespace InputXSLT {

class XObjectValue {
	public:
		XObjectValue(
			const FilesystemContext*,
			const IncludeEntityResolver*
		);

		template <typename Type>
		Type get(const xalan::XObjectPtr&) const;

	private:
		const FilesystemContext*     const filesystem_context_;
		const IncludeEntityResolver* const include_resolver_;

};

}

#endif  // INPUTXSLT_SRC_SUPPORT_TUPLE_XOBJECT_VALUE_H_