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*
82 
83  virtual DTDHandlerType*
85 
86  virtual LexicalHandlerType*
88 
89 private:
90 };
91 
92 
93 
94 XALAN_CPP_NAMESPACE_END
95 
96 
97 
98 #endif // XALANDOCUMENTBUILDER_HEADER_GUARD
XalanDocumentBuilder::createHelper
virtual XalanParsedSourceHelper * createHelper(MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR) const =0
XalanDocument
Definition: XalanDocument.hpp:37
LexicalHandlerType
XERCES_CPP_NAMESPACE_QUALIFIER LexicalHandler LexicalHandlerType
Definition: XalanSourceTreeContentHandler.hpp:64
XalanParsedSourceHelper
Definition: XalanParsedSource.hpp:46
DTDHandlerType
XERCES_CPP_NAMESPACE_QUALIFIER DTDHandler DTDHandlerType
Definition: XalanSourceTreeContentHandler.hpp:63
DTDHandlerType
XERCES_CPP_NAMESPACE_QUALIFIER DTDHandler DTDHandlerType
Definition: XalanDocumentBuilder.hpp:46
XalanDocumentBuilder::getDTDHandler
virtual DTDHandlerType * getDTDHandler()=0
DOMSupport
Definition: DOMSupport.hpp:42
XalanMemoryManagement.hpp
XalanDocumentBuilder::~XalanDocumentBuilder
virtual ~XalanDocumentBuilder()
Definition: XalanDocumentBuilder.hpp:65
ContentHandlerType
XERCES_CPP_NAMESPACE_QUALIFIER ContentHandler ContentHandlerType
Definition: XalanSourceTreeContentHandler.hpp:62
XalanDOMString
Definition: XalanDOMString.hpp:46
LexicalHandlerType
XERCES_CPP_NAMESPACE_QUALIFIER LexicalHandler LexicalHandlerType
Definition: XalanDocumentBuilder.hpp:47
ContentHandlerType
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER ContentHandler ContentHandlerType
Definition: XalanDocumentBuilder.hpp:45
XalanDocumentBuilder::getContentHandler
virtual ContentHandlerType * getContentHandler()=0
XalanParsedSource.hpp
XalanDocumentBuilder::getLexicalHandler
virtual LexicalHandlerType * getLexicalHandler()=0
XalanParsedSource
This is abstract base class designed to allow a XalanTranfomer object to reuse a parsed document.
Definition: XalanParsedSource.hpp:78
XALAN_TRANSFORMER_EXPORT
#define XALAN_TRANSFORMER_EXPORT
Definition: XalanTransformerDefinitions.hpp:39
XalanDocumentBuilder::getDocument
virtual XalanDocument * getDocument() const =0
Get a pointer to the XalanDocument instance for the source document.
XalanDocumentBuilder
This is abstract base class designed to allow a XalanTranfomer object to use a document that is build...
Definition: XalanDocumentBuilder.hpp:61
XalanDocumentBuilder::getURI
virtual const XalanDOMString & getURI() const =0
Get the URI for the parsed source, if any.
XalanTransformerDefinitions.hpp
XALAN_DEFAULT_CONSTRUCTOR_MEMMGR
#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR
Definition: XalanMemoryManagement.hpp:523

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