Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


ElemDecimalFormat.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 #if !defined(XALAN_ELEMDECIMALFORMAT_HEADER_GUARD)
19 #define XALAN_ELEMDECIMALFORMAT_HEADER_GUARD
20 
21 
22 
23 // Base include file. Must be first.
24 #include "XSLTDefinitions.hpp"
25 
26 
27 
28 // Base class header file.
29 #include "ElemTemplateElement.hpp"
30 
31 
32 
34 
35 
36 
37 XALAN_CPP_NAMESPACE_BEGIN
38 
39 
40 
41 class XPath;
42 
43 
44 
46 {
47 public:
48 
49  /**
50  * Construct an object corresponding to a decimal-format element
51  *
52  * @param constructionContext context for construction of object
53  * @param stylesheetTree stylesheet containing element
54  * @param atts list of attributes for element
55  * @param lineNumber line number in document
56  * @param columnNumber column number in document
57  */
59  StylesheetConstructionContext& constructionContext,
60  Stylesheet& stylesheetTree,
61  const AttributeListType& atts,
62  XalanFileLoc lineNumber,
63  XalanFileLoc columnNumber);
64 
65 
67 
68  // These methods are inherited from ElemTemplateElement ...
69 
70  virtual const XalanDOMString&
71  getElementName() const;
72 
75  {
76  return m_decimalFormatSymbols;
77  }
78 
79  const XalanQName&
80  getQName() const
81  {
82  assert(m_qname != 0);
83 
84  return *m_qname;
85  }
86 
87  virtual const XPath*
88  getXPath(XalanSize_t index) const;
89 
90 private:
91 
92  const XPath* m_countMatchPattern;
93  const XPath* m_fromMatchPattern;
94  const XPath* m_valueExpr;
95 
96  const XalanQName* m_qname;
97 
98  XalanDecimalFormatSymbols m_decimalFormatSymbols;
99 };
100 
101 
102 
103 XALAN_CPP_NAMESPACE_END
104 
105 
106 
107 #endif // XALAN_ELEMEMPTY_HEADER_GUARD
virtual const XalanDOMString & getElementName() const
Get a string for the name of the element.
Definition: XPath.hpp:64
const XalanQName & getQName() const
ElemDecimalFormat(StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const AttributeListType &atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber)
Construct an object corresponding to a decimal-format element.
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
virtual const XPath * getXPath(XalanSize_t index) const
Get XPath pattern/expression of one of the element atribute.
This class represents the base stylesheet or an "import" stylesheet.
Definition: Stylesheet.hpp:86
Class to represent a qualified name.
Definition: XalanQName.hpp:70
const XalanDecimalFormatSymbols & getDecimalFormatSymbols() const

Interpreting class diagrams

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

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

Apache Logo