| API Docs for SAX and DOM |
| Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members # StdOutFormatTarget.hpp Go to the documentation of this file.
    00001 /*
    00002  * Copyright 1999-2002,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
    00017 /*
    00018  * $Id: StdOutFormatTarget.hpp,v 1.5 2004/09/08 13:55:58 peiyongz Exp $
    00019  * $Log: StdOutFormatTarget.hpp,v $
    00020  * Revision 1.5  2004/09/08 13:55:58  peiyongz
    00021  * Apache License Version 2.0
    00022  *
    00023  * Revision 1.4  2003/01/24 20:20:22  tng
    00024  * Add method flush to XMLFormatTarget
    00025  *
    00026  * Revision 1.3  2002/11/04 15:00:21  tng
    00027  * C++ Namespace Support.
    00028  *
    00029  * Revision 1.2  2002/06/05 15:47:29  peiyongz
    00030  * operator = modified
    00031  *
    00032  * Revision 1.1  2002/05/28 22:40:46  peiyongz
    00033  * DOM3 Save Interface: DOMWriter/DOMWriterFilter
    00034  *
    00035  */
    00036
    00037 #ifndef StdOutFormatTarget_HEADER_GUARD_
    00038 #define StdOutFormatTarget_HEADER_GUARD_
    00039
    00040 #include <xercesc/framework/XMLFormatter.hpp>
    00041
    00042 XERCES_CPP_NAMESPACE_BEGIN
    00043
    00044 class  StdOutFormatTarget : public XMLFormatTarget {
    00045 public:
    00046
    00049     StdOutFormatTarget() ;
    00050     ~StdOutFormatTarget();
    00052
    00053     // -----------------------------------------------------------------------
    00054     //  Implementations of the format target interface
    00055     // -----------------------------------------------------------------------
    00056     virtual void writeChars(const XMLByte* const toWrite
    00057                           , const unsigned int   count
    00058                           , XMLFormatter* const  formatter);
    00059
    00060     virtual void flush();
    00061
    00062 private:
    00063     // -----------------------------------------------------------------------
    00064     //  Unimplemented methods.
    00065     // -----------------------------------------------------------------------
    00066     StdOutFormatTarget(const StdOutFormatTarget&);
    00067     StdOutFormatTarget& operator=(const StdOutFormatTarget&);
    00068 };
    00069
    00070 XERCES_CPP_NAMESPACE_END
    00071
    00072 #endif

Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.