Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElemDecimalFormat.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-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 #if !defined(XALAN_ELEMDECIMALFORMAT_HEADER_GUARD)
17 #define XALAN_ELEMDECIMALFORMAT_HEADER_GUARD
18 
19 
20 
21 // Base include file. Must be first.
22 #include "XSLTDefinitions.hpp"
23 
24 
25 
26 // Base class header file.
27 #include "ElemTemplateElement.hpp"
28 
29 
30 
32 
33 
34 
35 XALAN_CPP_NAMESPACE_BEGIN
36 
37 
38 
39 class XPath;
40 
41 
42 
44 {
45 public:
46 
57  StylesheetConstructionContext& constructionContext,
58  Stylesheet& stylesheetTree,
59  const AttributeListType& atts,
60  int lineNumber,
61  int columnNumber);
62 
63 
65 
66  // These methods are inherited from ElemTemplateElement ...
67 
68  virtual const XalanDOMString&
69  getElementName() const;
70 
73  {
74  return m_decimalFormatSymbols;
75  }
76 
77  const XalanQName&
78  getQName() const
79  {
80  assert(m_qname != 0);
81 
82  return *m_qname;
83  }
84 
85  virtual const XPath*
86  getXPath(unsigned int index = 0) const;
87 
88 private:
89 
90  const XPath* m_countMatchPattern;
91  const XPath* m_fromMatchPattern;
92  const XPath* m_valueExpr;
93 
94  const XalanQName* m_qname;
95 
96  XalanDecimalFormatSymbols m_decimalFormatSymbols;
97 };
98 
99 
100 
101 XALAN_CPP_NAMESPACE_END
102 
103 
104 
105 #endif // XALAN_ELEMEMPTY_HEADER_GUARD
virtual const XPath * getXPath(unsigned int index=0) const
Get XPath pattern/expression of one of the element atribute.
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
Definition: AttributeListImpl.hpp:39
ElemDecimalFormat(StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const AttributeListType &atts, int lineNumber, int columnNumber)
Construct an object corresponding to a decimal-format element.
Definition: ElemTemplateElement.hpp:74
const XalanQName & getQName() const
Definition: ElemDecimalFormat.hpp:78
Definition: XalanDecimalFormatSymbols.hpp:38
Definition: XPath.hpp:62
const XalanDecimalFormatSymbols & getDecimalFormatSymbols() const
Definition: ElemDecimalFormat.hpp:72
virtual const XalanDOMString & getElementName() const
Get a string for the name of the element.
Definition: XalanDOMString.hpp:42
Definition: StylesheetConstructionContext.hpp:73
This class represents the base stylesheet or an "import" stylesheet.
Definition: Stylesheet.hpp:84
Class to represent a qualified name: "The name of an internal XSLT object, specifically a named templ...
Definition: XalanQName.hpp:68
Definition: ElemDecimalFormat.hpp:43

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo