| |||||||||||||||||
Source File | Conditionals | Statements | Methods | TOTAL | |||||||||||||
Configuration\Sql\Dynamic\Handlers\ISqlTagHandler.cs | - | - | - | - |
|
1 | ||
2 | #region Apache Notice | |
3 | /***************************************************************************** | |
4 | * $Header: $ | |
5 | * $Revision: $ | |
6 | * $Date: $ | |
7 | * | |
8 | * iBATIS.NET Data Mapper | |
9 | * Copyright (C) 2004 - Gilles Bayon | |
10 | * | |
11 | * | |
12 | * Licensed under the Apache License, Version 2.0 (the "License"); | |
13 | * you may not use this file except in compliance with the License. | |
14 | * You may obtain a copy of the License at | |
15 | * | |
16 | * http://www.apache.org/licenses/LICENSE-2.0 | |
17 | * | |
18 | * Unless required by applicable law or agreed to in writing, software | |
19 | * distributed under the License is distributed on an "AS IS" BASIS, | |
20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
21 | * See the License for the specific language governing permissions and | |
22 | * limitations under the License. | |
23 | * | |
24 | ********************************************************************************/ | |
25 | #endregion | |
26 | ||
27 | #region Imports | |
28 | using System; | |
29 | using System.Text; | |
30 | ||
31 | using IBatisNet.DataMapper.Configuration.Sql.Dynamic.Elements; | |
32 | #endregion | |
33 | ||
34 | ||
35 | namespace IBatisNet.DataMapper.Configuration.Sql.Dynamic.Handlers | |
36 | { | |
37 | /// <summary> | |
38 | /// Summary description for ISqlTagHandler. | |
39 | /// </summary> | |
40 | public interface ISqlTagHandler | |
41 | { | |
42 | ||
43 | /// <summary> | |
44 | /// | |
45 | /// </summary> | |
46 | /// <param name="ctx"></param> | |
47 | /// <param name="tag"></param> | |
48 | /// <param name="parameterObject"></param> | |
49 | /// <returns></returns> | |
50 | int DoStartFragment(SqlTagContext ctx, SqlTag tag, object parameterObject); | |
51 | ||
52 | /// <summary> | |
53 | /// | |
54 | /// </summary> | |
55 | /// <param name="ctx"></param> | |
56 | /// <param name="tag"></param> | |
57 | /// <param name="parameterObject"></param> | |
58 | /// <param name="bodyContent"></param> | |
59 | /// <returns></returns> | |
60 | int DoEndFragment(SqlTagContext ctx, SqlTag tag, object parameterObject, StringBuilder bodyContent); | |
61 | ||
62 | /// <summary> | |
63 | /// | |
64 | /// </summary> | |
65 | /// <param name="ctx"></param> | |
66 | /// <param name="tag"></param> | |
67 | /// <param name="parameterObject"></param> | |
68 | /// <param name="bodyContent"></param> | |
69 | void DoPrepend(SqlTagContext ctx, SqlTag tag, object parameterObject, StringBuilder bodyContent); | |
70 | ||
71 | /// <summary> | |
72 | /// | |
73 | /// </summary> | |
74 | bool IsPostParseRequired | |
75 | { | |
76 | get; | |
77 | } | |
78 | } | |
79 | } | |
80 |
|