## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.9

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

# FormatterToNull.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(FORMATTERTONULL_HEADER_GUARD_1357924680)
    00017 #define FORMATTERTONULL_HEADER_GUARD_1357924680
    00018
    00019
    00020
    00021 // Base include file.  Must be first.
    00022 #include <xalanc/XMLSupport/XMLSupportDefinitions.hpp>
    00023
    00024
    00025
    00026 // Base class header file.
    00027 #include <xalanc/PlatformSupport/FormatterListener.hpp>
    00028
    00029
    00030
    00031 XALAN_CPP_NAMESPACE_BEGIN
    00032
    00033
    00034
    00041 class XALAN_XMLSUPPORT_EXPORT FormatterToNull : public FormatterListener
    00042 {
    00043 public:
    00044
    00048     explicit
    00049     FormatterToNull();
    00050
    00051     virtual
    00052     ~FormatterToNull();
    00053
    00054
    00055     // These methods are inherited from FormatterListener ...
    00056
    00057     virtual void
    00058     setDocumentLocator(const LocatorType* const     locator);
    00059
    00060     virtual void
    00061     startDocument();
    00062
    00063     virtual void
    00064     endDocument();
    00065
    00066     virtual void
    00067     startElement(
    00068             const XMLCh* const  name,
    00069             AttributeListType&  attrs);
    00070
    00071     virtual void
    00072     endElement(const XMLCh* const   name);
    00073
    00074     virtual void
    00075     characters(
    00076             const XMLCh* const  chars,
    00077             const unsigned int  length);
    00078
    00079     virtual void
    00080     charactersRaw(
    00081             const XMLCh* const  chars,
    00082             const unsigned int  length);
    00083
    00084     virtual void
    00085     entityReference(const XMLCh* const  name);
    00086
    00087     virtual void
    00088     ignorableWhitespace(
    00089             const XMLCh* const  chars,
    00090             const unsigned int  length);
    00091
    00092     virtual void
    00093     processingInstruction(
    00094             const XMLCh* const  target,
    00095             const XMLCh* const  data);
    00096
    00097
    00098     virtual void
    00099     resetDocument();
    00100
    00101     virtual void
    00102     comment(const XMLCh* const  data);
    00103
    00104     virtual void
    00105     cdata(
    00106             const XMLCh* const  ch,
    00107             const unsigned int  length);
    00108
    00109 private:
    00110
    00111     // These are not implemented.
    00112     FormatterToNull(const FormatterToNull&);
    00113
    00114     FormatterToNull&
    00115     operator=(const FormatterToNull&);
    00116
    00117     bool
    00118     operator==(const FormatterToNull&) const;
    00119 };
    00120
    00121
    00122
    00123 XALAN_CPP_NAMESPACE_END
    00124
    00125
    00126
    00127 #endif  // FORMATTERTONULL_HEADER_GUARD_1357924680

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.9 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.