Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

GenerateEvent.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2004 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #if !defined(XALAN_GenerateEvent_HEADER_GUARD)
00017 #define XALAN_GenerateEvent_HEADER_GUARD 
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include <xalanc/XSLT/XSLTDefinitions.hpp>
00023 
00024 
00025 
00026 #include <xalanc/XalanDOM/XalanDOMString.hpp>
00027 
00028 
00029 
00030 XALAN_DECLARE_XERCES_CLASS(AttributeList)
00031 
00032 
00033 
00034 XALAN_CPP_NAMESPACE_BEGIN
00035 
00036 
00037 
00038 typedef XERCES_CPP_NAMESPACE_QUALIFIER AttributeList    AttributeListType;
00039 
00040 
00041 
00050 class XALAN_XSLT_EXPORT GenerateEvent
00051 {
00052 public:
00053 
00054     enum EventType
00055     {
00060         EVENTTYPE_STARTDOCUMENT = 1,
00061             
00065         EVENTTYPE_ENDDOCUMENT = 2,
00066         
00070         EVENTTYPE_STARTELEMENT = 3,
00071         
00075         EVENTTYPE_ENDELEMENT = 4,
00076         
00080         EVENTTYPE_CHARACTERS = 5,
00081         
00085         EVENTTYPE_IGNORABLEWHITESPACE = 6,
00086 
00090         EVENTTYPE_PI = 7,
00091 
00095         EVENTTYPE_COMMENT = 8,
00096 
00100         EVENTTYPE_ENTITYREF = 9,
00101 
00105         EVENTTYPE_CDATA = 10
00106     };
00107 
00108 
00114     GenerateEvent(EventType             eventType,
00115                   MemoryManagerType&    theManager);
00116     
00124     GenerateEvent(
00125             EventType               eventType,
00126             MemoryManagerType&      theManager,
00127             const XalanDOMChar*     name,
00128             AttributeListType*      atts);
00129 
00137     GenerateEvent(
00138             EventType                   eventType,
00139             MemoryManagerType&          theManager,
00140             const XalanDOMString&       name,
00141             const AttributeListType*    atts = 0);
00142 
00151     GenerateEvent(
00152             EventType                   eventType,
00153             MemoryManagerType&          theManager,
00154             const XalanDOMChar*         ch,
00155             XalanDOMString::size_type   start,
00156             XalanDOMString::size_type   length);
00157     
00165     GenerateEvent(
00166             EventType               eventType,
00167             MemoryManagerType&      theManager,
00168             const XalanDOMChar*     name,
00169             const XalanDOMChar*     data);
00170     
00178     GenerateEvent(
00179             EventType               eventType,
00180             MemoryManagerType&      theManager,
00181             const XalanDOMChar*     data);
00182 
00187     EventType               m_eventType;
00188 
00192     XalanDOMString          m_characters;
00193 
00197     XalanDOMString::size_type   m_start;
00198 
00202     XalanDOMString::size_type   m_length;
00203 
00207     XalanDOMString          m_name;
00208 
00212     XalanDOMString          m_data;
00213 
00217     const AttributeListType*    m_pAtts;
00218 private:
00219     // not imlplemented
00220     GenerateEvent();
00221     GenerateEvent(const GenerateEvent&);
00222 };
00223 
00224 
00225 
00226 XALAN_CPP_NAMESPACE_END
00227 
00228 
00229 
00230 #endif  //XALAN_GenerateEvent_HEADER_GUARD

Interpreting class diagrams

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

dot

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

Apache Logo