Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


XalanDocumentBuilder.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(XALANDOCUMENTBUILDER_HEADER_GUARD)
19 #define XALANDOCUMENTBUILDER_HEADER_GUARD
20 
21 
22 
23 // Base include file. Must be first.
25 
26 
28 
29 
30 // Base class include file.
32 
33 
34 
35 XALAN_DECLARE_XERCES_CLASS(ContentHandler)
36 XALAN_DECLARE_XERCES_CLASS(DTDHandler)
37 XALAN_DECLARE_XERCES_CLASS(LexicalHandler)
38 
39 
40 
41 XALAN_CPP_NAMESPACE_BEGIN
42 
43 
44 
45 typedef XERCES_CPP_NAMESPACE_QUALIFIER ContentHandler ContentHandlerType;
46 typedef XERCES_CPP_NAMESPACE_QUALIFIER DTDHandler DTDHandlerType;
47 typedef XERCES_CPP_NAMESPACE_QUALIFIER LexicalHandler LexicalHandlerType;
48 
49 
50 
51 class DOMSupport;
52 class XalanDocument;
53 
54 
55 
56 /**
57  * This is abstract base class designed to allow a XalanTranfomer
58  * object to use a document that is build dynamically by a user.
59  */
61 {
62 public:
63 
64  virtual
66  {
67  }
68 
69  // These are inherited from XalanParsedSource...
70  virtual XalanDocument*
71  getDocument() const = 0;
72 
74  createHelper(MemoryManager& theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR) const = 0;
75 
76  virtual const XalanDOMString&
77  getURI() const = 0;
78 
79  // These are new to XalanDocumentBuilder...
80  virtual ContentHandlerType*
81  getContentHandler() = 0;
82 
83  virtual DTDHandlerType*
84  getDTDHandler() = 0;
85 
86  virtual LexicalHandlerType*
87  getLexicalHandler() = 0;
88 
89 private:
90 };
91 
92 
93 
94 XALAN_CPP_NAMESPACE_END
95 
96 
97 
98 #endif // XALANDOCUMENTBUILDER_HEADER_GUARD
virtual XalanDocument * getDocument() const =0
Get a pointer to the XalanDocument instance for the source document.
#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR
XERCES_CPP_NAMESPACE_QUALIFIER LexicalHandler LexicalHandlerType
virtual const XalanDOMString & getURI() const =0
Get the URI for the parsed source, if any.
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER ContentHandler ContentHandlerType
XERCES_CPP_NAMESPACE_QUALIFIER DTDHandler DTDHandlerType
This is abstract base class designed to allow a XalanTranfomer object to use a document that is build...
virtual XalanParsedSourceHelper * createHelper(MemoryManager &theManager) const =0
Create the appropriate XalanParsedSourceHelper instance to use for transforming with the instance...
This is abstract base class designed to allow a XalanTranfomer object to reuse a parsed document...
XERCES_CPP_NAMESPACE_QUALIFIER LexicalHandler LexicalHandlerType
XERCES_CPP_NAMESPACE_QUALIFIER ContentHandler ContentHandlerType
XERCES_CPP_NAMESPACE_QUALIFIER DTDHandler DTDHandlerType
#define XALAN_TRANSFORMER_EXPORT

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo