Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


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.
25 
26 
27 
29 
30 
31 
35 
36 
37 
38 XALAN_CPP_NAMESPACE_BEGIN
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  */
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 
59  create(MemoryManager& theManager, const XalanDOMString& theURI);
60 
61  virtual
63 
64  virtual XalanDocument*
65  getDocument() const;
66 
68  createHelper(MemoryManager& theManager) const;
69 
70  virtual const XalanDOMString&
71  getURI() const;
72 
73  virtual ContentHandlerType*
75 
76  virtual DTDHandlerType*
77  getDTDHandler();
78 
79  virtual LexicalHandlerType*
81 
82 private:
83 
84  // not implemented...
86 
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 XALAN_CPP_NAMESPACE_END
103 
104 
105 
106 #endif // XALANDEFAULTDOCUMENTBUILDER_HEADER_GUARD
This is class is designed to allow a XalanTranfomer object to use a document that is build dynamicall...
virtual LexicalHandlerType * getLexicalHandler()=0
XERCES_CPP_NAMESPACE_QUALIFIER LexicalHandler LexicalHandlerType
virtual const XalanDOMString & getURI() const =0
Get the URI for the parsed source, if any.
XERCES_CPP_NAMESPACE_QUALIFIER DTDHandler DTDHandlerType
This is abstract base class designed to allow a XalanTranfomer object to use a document that is build...
XERCES_CPP_NAMESPACE_QUALIFIER ContentHandler ContentHandlerType
virtual XalanDocument * getDocument() const =0
Get a pointer to the XalanDocument instance for the source document.
virtual ContentHandlerType * getContentHandler()=0
virtual DTDHandlerType * getDTDHandler()=0
virtual XalanParsedSourceHelper * createHelper(MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR) const =0
#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