00001 /* 00002 * Copyright 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 * imitations under the License. 00015 */ 00016 00017 /* 00018 * XSEC 00019 * 00020 * DSIGTransformXSL := Class that performs XML Stylesheet Language transforms 00021 * 00022 * $Id: DSIGTransformXSL.hpp,v 1.9 2004/02/08 10:20:52 blautenb Exp $ 00023 * 00024 */ 00025 00026 #include <xsec/dsig/DSIGTransform.hpp> 00027 00028 // Xerces 00029 00030 #include <xercesc/dom/DOM.hpp> 00031 00051 class DSIG_EXPORT DSIGTransformXSL : public DSIGTransform { 00052 00053 public: 00054 00057 00068 DSIGTransformXSL(const XSECEnv * env, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * node); 00069 00079 DSIGTransformXSL(const XSECEnv * env); 00080 00089 virtual ~DSIGTransformXSL(); 00090 00092 00096 00104 virtual transformType getTransformType(); 00105 00111 virtual void appendTransformer(TXFMChain * input); 00112 00120 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * createBlankTransform( 00121 XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * parentDoc); 00122 00130 virtual void load(void); 00131 00133 00137 00150 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * setStylesheet( 00151 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * stylesheet 00152 ); 00153 00163 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * getStylesheet(void); 00164 00166 00167 private: 00168 00169 DSIGTransformXSL(); 00170 DSIGTransformXSL(const DSIGTransformXSL & theOther); 00171 00172 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * mp_stylesheetNode; 00173 00174 };