Xalan-C++ API Reference
1.12.0
xalanc
XalanTransformer
XalanDefaultDocumentBuilder.hpp
Go to the documentation of this file.
1
/*
2
* Licensed to the Apache Software Foundation (ASF) under one
3
* or more contributor license agreements. See the NOTICE file
4
* distributed with this work for additional information
5
* regarding copyright ownership. The ASF licenses this file
6
* to you under the Apache License, Version 2.0 (the "License");
7
* you may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
17
*/
18
#if !defined(XALANDEFAULTDOCUMENTBUILDER_HEADER_GUARD)
19
#define XALANDEFAULTDOCUMENTBUILDER_HEADER_GUARD
20
21
22
23
// Base include file. Must be first.
24
#include <
xalanc/XalanTransformer/XalanTransformerDefinitions.hpp
>
25
26
27
28
#include <
xalanc/XalanTransformer/XalanDocumentBuilder.hpp
>
29
30
31
32
#include <
xalanc/XalanSourceTree/XalanSourceTreeContentHandler.hpp
>
33
#include <
xalanc/XalanSourceTree/XalanSourceTreeDOMSupport.hpp
>
34
#include <
xalanc/XalanSourceTree/XalanSourceTreeParserLiaison.hpp
>
35
36
37
38
namespace
XALAN_CPP_NAMESPACE
{
39
40
41
42
/**
43
* This is class is designed to allow a XalanTranfomer object
44
* to use a document that is build dynamically by a user.
45
*/
46
class
XALAN_TRANSFORMER_EXPORT
XalanDefaultDocumentBuilder
:
public
XalanDocumentBuilder
47
{
48
49
public
:
50
51
/**
52
* Create a XalanDefaultDocumentBuilder instance,
53
*
54
* @param theURI An optional string to identify the document.
55
*/
56
XalanDefaultDocumentBuilder
(MemoryManager& theManager,
const
XalanDOMString
& theURI);
57
58
static
XalanDefaultDocumentBuilder
*
59
create(MemoryManager& theManager,
const
XalanDOMString
& theURI);
60
61
virtual
62
~
XalanDefaultDocumentBuilder
();
63
64
virtual
XalanDocument
*
65
getDocument()
const
;
66
67
virtual
XalanParsedSourceHelper
*
68
createHelper(MemoryManager& theManager)
const
;
69
70
virtual
const
XalanDOMString
&
71
getURI()
const
;
72
73
virtual
ContentHandlerType
*
74
getContentHandler();
75
76
virtual
DTDHandlerType
*
77
getDTDHandler();
78
79
virtual
LexicalHandlerType
*
80
getLexicalHandler();
81
82
private
:
83
84
// not implemented...
85
XalanDefaultDocumentBuilder
(
const
XalanDefaultDocumentBuilder
&);
86
87
XalanDefaultDocumentBuilder
&
88
operator=(
const
XalanDefaultDocumentBuilder
&);
89
90
// Data members...
91
XalanSourceTreeDOMSupport
m_domSupport;
92
93
XalanSourceTreeParserLiaison
m_parserLiaison;
94
95
XalanSourceTreeContentHandler
m_contentHandler;
96
97
const
XalanDOMString
m_uri;
98
};
99
100
101
102
}
103
104
105
106
#endif // XALANDEFAULTDOCUMENTBUILDER_HEADER_GUARD
xalanc::ContentHandlerType
xercesc::ContentHandler ContentHandlerType
Definition:
XalanSourceTreeContentHandler.hpp:65
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition:
XalanVersion.hpp:76
xalanc::XalanSourceTreeParserLiaison
Definition:
XalanSourceTreeParserLiaison.hpp:68
xalanc::XalanSourceTreeDOMSupport
Definition:
XalanSourceTreeDOMSupport.hpp:40
xalanc::XalanDocument
Definition:
XalanDocument.hpp:36
xalanc::LexicalHandlerType
xercesc::LexicalHandler LexicalHandlerType
Definition:
XalanSourceTreeContentHandler.hpp:67
XalanSourceTreeContentHandler.hpp
xalanc::XalanParsedSourceHelper
Definition:
XalanParsedSource.hpp:45
XalanSourceTreeDOMSupport.hpp
xalanc::XalanDocumentBuilder
This is abstract base class designed to allow a XalanTranfomer object to use a document that is build...
Definition:
XalanDocumentBuilder.hpp:63
xalanc::XalanDefaultDocumentBuilder
This is class is designed to allow a XalanTranfomer object to use a document that is build dynamicall...
Definition:
XalanDefaultDocumentBuilder.hpp:46
XalanSourceTreeParserLiaison.hpp
XalanDocumentBuilder.hpp
xalanc::XalanSourceTreeContentHandler
Definition:
XalanSourceTreeContentHandler.hpp:78
xalanc::DTDHandlerType
xercesc::DTDHandler DTDHandlerType
Definition:
XalanSourceTreeContentHandler.hpp:66
xalanc::XalanDOMString
Definition:
XalanDOMString.hpp:45
XALAN_TRANSFORMER_EXPORT
#define XALAN_TRANSFORMER_EXPORT
Definition:
XalanTransformerDefinitions.hpp:39
XalanTransformerDefinitions.hpp
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:19 for Xalan-C++ API Reference by
1.8.17