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 * DSIGTransformXSL := Class that performs XML Stylesheet Language transforms 00021 * 00022 * $Id: DSIGTransformXSL.hpp,v 1.12 2005/06/04 11:30:25 blautenb Exp $ 00023 * 00024 */ 00025 00026 #include <xsec/dsig/DSIGTransform.hpp> 00027 00028 // Xerces 00029 00030 #include <xercesc/dom/DOM.hpp> 00031 00050 class DSIG_EXPORT DSIGTransformXSL : public DSIGTransform { 00051 00052 public: 00053 00056 00067 DSIGTransformXSL(const XSECEnv * env, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * node); 00068 00078 DSIGTransformXSL(const XSECEnv * env); 00079 00088 virtual ~DSIGTransformXSL(); 00089 00091 00095 00103 virtual transformType getTransformType(); 00104 00110 virtual void appendTransformer(TXFMChain * input); 00111 00119 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * createBlankTransform( 00120 XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * parentDoc); 00121 00129 virtual void load(void); 00130 00132 00136 00149 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * setStylesheet( 00150 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * stylesheet 00151 ); 00152 00162 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * getStylesheet(void); 00163 00165 00166 private: 00167 00168 DSIGTransformXSL(); 00169 DSIGTransformXSL(const DSIGTransformXSL & theOther); 00170 00171 XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * mp_stylesheetNode; 00172 00173 };