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

Class to hold an Attribute Value Template. More...

#include <xalanc/XSLT/AVT.hpp>

Public Types

typedef std::size_t size_type
 

Public Member Functions

 AVT (StylesheetConstructionContext &constructionContext, const Locator *locator, const XalanDOMChar *name, const XalanDOMChar *stringedValue, const PrefixResolver &resolver)
 Construct an Attribute Value Template(AVT) by parsing the string, and either constructing a vector of AVTParts, or simply hold on to the string if the AVT is simple. More...
 
virtual ~AVT ()
 
const XalanDOMStringgetName () const
 Retrieve the name of the Attribute Value Template. More...
 
void evaluate (XalanDOMString &buf, XalanNode *contextNode, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext) const
 Append the value to the buffer. More...
 
void evaluate (XalanDOMString &buf, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext) const
 Append the value to the buffer. More...
 

Detailed Description

Class to hold an Attribute Value Template.

Definition at line 58 of file AVT.hpp.

Member Typedef Documentation

◆ size_type

typedef std::size_t xalanc::AVT::size_type

Definition at line 62 of file AVT.hpp.

Constructor & Destructor Documentation

◆ AVT()

xalanc::AVT::AVT ( StylesheetConstructionContext constructionContext,
const Locator *  locator,
const XalanDOMChar *  name,
const XalanDOMChar *  stringedValue,
const PrefixResolver resolver 
)

Construct an Attribute Value Template(AVT) by parsing the string, and either constructing a vector of AVTParts, or simply hold on to the string if the AVT is simple.

Parameters
constructionContextcontext for construction of AVT
locatorthe Locator for the AVT. May be null.
namename of AVT
stringedValuestring value to parse
resolverresolver for namespace resolution

◆ ~AVT()

virtual xalanc::AVT::~AVT ( )
virtual

Member Function Documentation

◆ evaluate() [1/2]

void xalanc::AVT::evaluate ( XalanDOMString buf,
const PrefixResolver prefixResolver,
XPathExecutionContext executionContext 
) const
inline

Append the value to the buffer.

Parameters
bufbuffer to write into
prefixResolverprefix resolver to use
executionContextexecution context

Definition at line 129 of file AVT.hpp.

References xalanc::XalanDOMString::assign().

◆ evaluate() [2/2]

void xalanc::AVT::evaluate ( XalanDOMString buf,
XalanNode contextNode,
const PrefixResolver prefixResolver,
XPathExecutionContext executionContext 
) const
inline

Append the value to the buffer.

Parameters
bufbuffer to write into
contextNodecurrent context node
prefixResolverprefix resolver to use
executionContextexecution context

Definition at line 105 of file AVT.hpp.

References xalanc::XalanDOMString::assign().

◆ getName()

const XalanDOMString& xalanc::AVT::getName ( ) const
inline

Retrieve the name of the Attribute Value Template.

Returns
name of AVT

Definition at line 91 of file AVT.hpp.


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