16 #if !defined(XALANHTMLELEMENTSPROPERTIES_HEADER_GUARD_1357924680)
17 #define XALANHTMLELEMENTSPROPERTIES_HEADER_GUARD_1357924680
30 XALAN_CPP_NAMESPACE_BEGIN
38 enum { eMaxAttributes = 6, eMaxAttributeName = 8, eMaxElementName = 10 };
46 BLOCKFORMFIELDSET = (1 << 5),
52 INLINELABEL = (1 << 11),
53 FONTSTYLE = (1 << 12),
61 PREFORMATTED = (1 << 20),
62 WHITESPACESENSITIVE = (1 << 21),
64 STYLEELEM = (1 << 23),
65 SCRIPTELEM = (1 << 24),
75 XalanDOMChar m_name[eMaxAttributeName + 1];
90 return m_flags & theFlags ?
true :
false;
110 const XalanDOMChar* theAttributeName,
124 return m_flags & theFlags ?
true :
false;
128 XalanDOMChar m_name[eMaxElementName + 1];
141 findProperties(
const XalanDOMChar* theAttributeName)
const;
162 m_properties(theProperties)
171 m_properties(theSource.m_properties)
185 return m_properties == 0 ?
true :
false;
199 return m_properties->is(theFlags);
213 const XalanDOMChar* theAttributeName,
216 return m_properties->isAttribute(theAttributeName, theFlags);
230 static ElementProperties
231 find(
const XalanDOMChar* theElementName);
241 static const InternalElementProperties&
242 findProperties(
const XalanDOMChar* theElementName);
247 static const InternalElementProperties s_elementProperties[];
250 static const InternalElementProperties*
const s_lastProperties;
255 static const InternalElementProperties*
const s_dummyProperties;
270 XALAN_CPP_NAMESPACE_END
274 #endif // XALANHTMLELEMENTSPROPERTIES_HEADER_GUARD_1357924680
eFlags
Definition: XalanHTMLElementsProperties.hpp:40
static const InternalAttributeProperties s_dummyProperties
Definition: XalanHTMLElementsProperties.hpp:143
bool isAttribute(const XalanDOMChar *theAttributeName, AttributeFlagsType theFlags) const
Check if particular attribute properties are set for this instance.
Definition: XalanHTMLElementsProperties.hpp:212
FlagsType m_flags
Definition: XalanHTMLElementsProperties.hpp:77
Definition: XalanHTMLElementsProperties.hpp:71
bool is(FlagsType theFlags) const
Check if particular properties are set for this instance.
Definition: XalanHTMLElementsProperties.hpp:122
unsigned int FlagsType
Definition: XalanHTMLElementsProperties.hpp:97
bool null() const
Determine if this is a non-null instance.
Definition: XalanHTMLElementsProperties.hpp:183
unsigned char FlagsType
Definition: XalanHTMLElementsProperties.hpp:73
InternalElementProperties::FlagsType FlagsType
Definition: XalanHTMLElementsProperties.hpp:155
InternalElementProperties::AttributeFlagsType AttributeFlagsType
Definition: XalanHTMLElementsProperties.hpp:154
Definition: XalanHTMLElementsProperties.hpp:34
FlagsType m_flags
Definition: XalanHTMLElementsProperties.hpp:130
#define XALAN_XMLSUPPORT_EXPORT
Definition: XMLSupportDefinitions.hpp:33
This class acts as a proxy for and InternalElementProperties instance.
Definition: XalanHTMLElementsProperties.hpp:150
bool is(FlagsType theFlags) const
Check if particular properties are set for this instance.
Definition: XalanHTMLElementsProperties.hpp:88
bool is(FlagsType theFlags) const
Check if particular properties are set for this instance.
Definition: XalanHTMLElementsProperties.hpp:197
InternalAttributeProperties::FlagsType AttributeFlagsType
Definition: XalanHTMLElementsProperties.hpp:96
Definition: XalanHTMLElementsProperties.hpp:94
ElementProperties(const ElementProperties &theSource)
Copy constructor.
Definition: XalanHTMLElementsProperties.hpp:170
ElementProperties(const InternalElementProperties *theProperties=0)
Constructor.
Definition: XalanHTMLElementsProperties.hpp:161