Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

XSECTXFMInputSource.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 2002-2005 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  * XSEC
00019  *
00020  * XSECTXFMInputSource := Transfomer InputSource for Xerces Parser.
00021  *
00022  * $Id: XSECTXFMInputSource.hpp,v 1.7 2005/02/03 13:53:54 milan Exp $
00023  *                   
00024  */
00025 
00026 
00027 #ifndef XSECTXFMINPUTSOURCE_INCLUDE
00028 #define XSECTXFMINPUTSOURCE_INCLUDE
00029 
00030 #include <xsec/framework/XSECDefs.hpp>
00031 #include <xercesc/sax/InputSource.hpp>
00032 
00033 class TXFMChain;
00034 
00035 XSEC_DECLARE_XERCES_CLASS(BinInputStream);
00036 
00051 class DSIG_EXPORT XSECTXFMInputSource : public XERCES_CPP_NAMESPACE_QUALIFIER InputSource
00052 {
00053 
00054 public :
00055 
00058 
00067     XSECTXFMInputSource(TXFMChain * lst, bool deleteWhenDone = true);
00068 
00076     virtual ~XSECTXFMInputSource();
00077 
00079 
00082 
00089     XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream* makeStream() const;
00090 
00092 
00093 private :
00094 
00095     mutable TXFMChain           * mp_chain;         // End point of list
00096     bool                        m_deleteWhenDone;   // Do we delete?
00097 
00098 };
00099 
00100 
00101 #endif /* XSECTXFMINPUTSOURCE_INCLUDE */

Generated on Sun Jul 3 17:37:28 2005 for XML-Security-C by  doxygen 1.4.2