1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef ADC_DSAPI_TOKINTPR_HXX 25 #define ADC_DSAPI_TOKINTPR_HXX 26 27 28 29 // USED SERVICES 30 // BASE CLASSES 31 // COMPONENTS 32 // PARAMETERS 33 34 namespace csi 35 { 36 namespace dsapi 37 { 38 39 40 class Tok_AtTag; 41 class Tok_XmlConst; 42 class Tok_XmlLink_BeginTag; 43 class Tok_XmlLink_EndTag; 44 class Tok_XmlFormat_BeginTag; 45 class Tok_XmlFormat_EndTag; 46 class Tok_Word; 47 class Tok_HtmlTag; 48 49 class TokenInterpreter 50 { 51 public: ~TokenInterpreter()52 virtual ~TokenInterpreter() {} 53 54 virtual void Process_AtTag( 55 const Tok_AtTag & i_rToken ) = 0; 56 virtual void Process_HtmlTag( 57 const Tok_HtmlTag & i_rToken ) = 0; 58 virtual void Process_XmlConst( 59 const Tok_XmlConst & 60 i_rToken ) = 0; 61 virtual void Process_XmlLink_BeginTag( 62 const Tok_XmlLink_BeginTag & 63 i_rToken ) = 0; 64 virtual void Process_XmlLink_EndTag( 65 const Tok_XmlLink_EndTag & 66 i_rToken ) = 0; 67 virtual void Process_XmlFormat_BeginTag( 68 const Tok_XmlFormat_BeginTag & 69 i_rToken ) = 0; 70 virtual void Process_XmlFormat_EndTag( 71 const Tok_XmlFormat_EndTag & 72 i_rToken ) = 0; 73 virtual void Process_Word( 74 const Tok_Word & i_rToken ) = 0; 75 virtual void Process_Comma() = 0; 76 virtual void Process_DocuEnd() = 0; 77 virtual void Process_EOL() = 0; 78 virtual void Process_White() = 0; 79 }; 80 81 82 83 // IMPLEMENTATION 84 85 86 } // namespace dsapi 87 } // namespace csi 88 89 #endif 90 91