Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | List of all members
xalanc::XalanHTMLElementsProperties::ElementProperties Class Reference

This class acts as a proxy for an InternalElementProperties instance. More...

#include <xalanc/XMLSupport/XalanHTMLElementsProperties.hpp>

Public Types

typedef InternalElementProperties::AttributeFlagsType AttributeFlagsType
 
typedef InternalElementProperties::FlagsType FlagsType
 

Public Member Functions

 ElementProperties (const InternalElementProperties *theProperties=0)
 Constructor. More...
 
 ElementProperties (const ElementProperties &theSource)
 Copy constructor. More...
 
bool null () const
 Determine if this is a non-null instance. More...
 
bool is (FlagsType theFlags) const
 Check if particular properties are set for this instance. More...
 
bool isAttribute (const XalanDOMChar *theAttributeName, AttributeFlagsType theFlags) const
 Check if particular attribute properties are set for this instance. More...
 
const XalanDOMChar * getName () const
 Get the name of the element. More...
 

Detailed Description

This class acts as a proxy for an InternalElementProperties instance.

Definition at line 152 of file XalanHTMLElementsProperties.hpp.

Member Typedef Documentation

◆ AttributeFlagsType

Definition at line 156 of file XalanHTMLElementsProperties.hpp.

◆ FlagsType

Definition at line 157 of file XalanHTMLElementsProperties.hpp.

Constructor & Destructor Documentation

◆ ElementProperties() [1/2]

xalanc::XalanHTMLElementsProperties::ElementProperties::ElementProperties ( const InternalElementProperties theProperties = 0)
inline

Constructor.

Parameters
thePropertiesThe instance for which this one is a proxy.

Definition at line 163 of file XalanHTMLElementsProperties.hpp.

◆ ElementProperties() [2/2]

xalanc::XalanHTMLElementsProperties::ElementProperties::ElementProperties ( const ElementProperties theSource)
inline

Copy constructor.

Parameters
theSourceThe source instance for the copy.

Definition at line 172 of file XalanHTMLElementsProperties.hpp.

Member Function Documentation

◆ getName()

const XalanDOMChar* xalanc::XalanHTMLElementsProperties::ElementProperties::getName ( ) const
inline

Get the name of the element.

Returns
The name of the element.

Definition at line 227 of file XalanHTMLElementsProperties.hpp.

◆ is()

bool xalanc::XalanHTMLElementsProperties::ElementProperties::is ( FlagsType  theFlags) const
inline

Check if particular properties are set for this instance.

See the eFlag enum for the valid properties.

Parameters
theFlagsThe properties to check.
Returns
true if the property is set, false if not

Definition at line 199 of file XalanHTMLElementsProperties.hpp.

◆ isAttribute()

bool xalanc::XalanHTMLElementsProperties::ElementProperties::isAttribute ( const XalanDOMChar *  theAttributeName,
AttributeFlagsType  theFlags 
) const
inline

Check if particular attribute properties are set for this instance.

See the eFlag enum for the valid properties.

Parameters
theAttributeNameThe attribute name.
theFlagsThe properties to check.
Returns
true if the property is set, false if not

Definition at line 214 of file XalanHTMLElementsProperties.hpp.

◆ null()

bool xalanc::XalanHTMLElementsProperties::ElementProperties::null ( ) const
inline

Determine if this is a non-null instance.

You must call this before calling any member functions, if you think the instance may be null.

Returns
true if the instance is null, false if not

Definition at line 185 of file XalanHTMLElementsProperties.hpp.


The documentation for this class was generated from the following file: