Xalan-C++ API Reference 1.12.0
AttributeVectorEntryExtended.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(ATTRIBUTEVECTORENTRYEXTENDED_HEADER_GUARD_1357924680)
19#define ATTRIBUTEVECTORENTRYEXTENDED_HEADER_GUARD_1357924680
20
21
22
23// Base include file. Must be first.
25
26
27
29
31
32namespace XALAN_CPP_NAMESPACE {
33
34
35
37{
38public:
39
44 const XMLChVectorType& theURI ,
46 MemoryManager& theManager) :
48 theName,
50 theType,
52 m_uri(
53 theURI,
55 m_localName(
58 {
59 }
60
62 const XMLCh* theName,
63 const XMLCh* theValue,
64 const XMLCh* theType,
65 const XMLCh* theURI,
66 const XMLCh* theLocalName,
67 MemoryManager& theManager) :
69 theName,
71 theType,
73 m_uri(
74 theURI,
75 theURI + length(theURI) + 1,
77 m_localName(
81 {
82 }
83
85 const XMLCh* theName,
86 const XMLCh* theValue,
87 const XMLCh* theType,
88 MemoryManager& theManager) :
90 theName,
93 m_uri(theManager),
94 m_localName(theManager)
95 {
96 }
97
100 m_uri(theManager),
101 m_localName(theManager)
102 {
103 }
104
107 const XMLCh* theName,
108 const XMLCh* theValue,
109 const XMLCh* theType,
110 const XMLCh* theURI,
111 const XMLCh* theLocalName,
112 MemoryManager& theManager)
113 {
115
116 return XalanConstruct(
119 theName,
120 theValue,
121 theType,
122 theURI,
124 theManager);
125 }
126
127 virtual
131
132 void
134 {
135 AttributeVectorEntry::clear();
136
137 m_uri.clear();
138 m_localName.clear();
139 }
140
143};
144
145
146
147}
148
149
150
151#endif // ATTRIBUTEVECTORENTRY_HEADER_GUARD_1357924680
#define XALAN_PLATFORMSUPPORT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
AttributeVectorEntryExtended(const XMLCh *theName, const XMLCh *theValue, const XMLCh *theType, MemoryManager &theManager)
AttributeVectorEntryExtended(const XMLCh *theName, const XMLCh *theValue, const XMLCh *theType, const XMLCh *theURI, const XMLCh *theLocalName, MemoryManager &theManager)
AttributeVectorEntryExtended(const XMLChVectorType &theName, const XMLChVectorType &theValue, const XMLChVectorType &theType, const XMLChVectorType &theURI, const XMLChVectorType &theLocalName, MemoryManager &theManager)
static AttributeVectorEntryExtended * create(const XMLCh *theName, const XMLCh *theValue, const XMLCh *theType, const XMLCh *theURI, const XMLCh *theLocalName, MemoryManager &theManager)
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
Type * XalanConstruct(MemoryManager &theMemoryManager, Type *&theInstance)