1 | /*
|
---|
2 | * Copyright 2001-2002,2004 The Apache Software Foundation.
|
---|
3 | *
|
---|
4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
---|
5 | * you may not use this file except in compliance with the License.
|
---|
6 | * You may obtain a copy of the License at
|
---|
7 | *
|
---|
8 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
9 | *
|
---|
10 | * Unless required by applicable law or agreed to in writing, software
|
---|
11 | * distributed under the License is distributed on an "AS IS" BASIS,
|
---|
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
13 | * See the License for the specific language governing permissions and
|
---|
14 | * limitations under the License.
|
---|
15 | */
|
---|
16 |
|
---|
17 | /*
|
---|
18 | * $Id: XMLRangeFactory.hpp,v 1.6 2004/09/08 13:56:47 peiyongz Exp $
|
---|
19 | */
|
---|
20 |
|
---|
21 | #if !defined(XMLRANGEFACTORY_HPP)
|
---|
22 | #define XMLRANGEFACTORY_HPP
|
---|
23 |
|
---|
24 | // ---------------------------------------------------------------------------
|
---|
25 | // Includes
|
---|
26 | // ---------------------------------------------------------------------------
|
---|
27 | #include <xercesc/util/regx/RangeFactory.hpp>
|
---|
28 |
|
---|
29 | XERCES_CPP_NAMESPACE_BEGIN
|
---|
30 |
|
---|
31 | class XMLUTIL_EXPORT XMLRangeFactory: public RangeFactory {
|
---|
32 |
|
---|
33 | public:
|
---|
34 | // -----------------------------------------------------------------------
|
---|
35 | // Constructors and operators
|
---|
36 | // -----------------------------------------------------------------------
|
---|
37 | XMLRangeFactory();
|
---|
38 | ~XMLRangeFactory();
|
---|
39 |
|
---|
40 | // -----------------------------------------------------------------------
|
---|
41 | // Initialization methods
|
---|
42 | // -----------------------------------------------------------------------
|
---|
43 | void initializeKeywordMap();
|
---|
44 |
|
---|
45 | protected:
|
---|
46 | // -----------------------------------------------------------------------
|
---|
47 | // Protected Helper methods
|
---|
48 | // -----------------------------------------------------------------------
|
---|
49 | void buildRanges();
|
---|
50 |
|
---|
51 | private:
|
---|
52 | // -----------------------------------------------------------------------
|
---|
53 | // Unimplemented constructors and operators
|
---|
54 | // -----------------------------------------------------------------------
|
---|
55 | XMLRangeFactory(const XMLRangeFactory&);
|
---|
56 | XMLRangeFactory& operator=(const XMLRangeFactory&);
|
---|
57 |
|
---|
58 | bool fRangesCreated;
|
---|
59 | bool fKeywordsInitialized;
|
---|
60 | };
|
---|
61 |
|
---|
62 | XERCES_CPP_NAMESPACE_END
|
---|
63 |
|
---|
64 | #endif
|
---|
65 |
|
---|
66 | /**
|
---|
67 | * End file XMLRangeFactory.hpp
|
---|
68 | */
|
---|