Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | List of all members
AVT Class Reference

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

#include <AVT.hpp>

Public Types

typedef 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 55 of file AVT.hpp.

Member Typedef Documentation

◆ size_type

typedef size_t AVT::size_type

Definition at line 62 of file AVT.hpp.

Constructor & Destructor Documentation

◆ AVT()

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 AVT::~AVT ( )
virtual

Member Function Documentation

◆ evaluate() [1/2]

void 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 106 of file AVT.hpp.

◆ evaluate() [2/2]

void 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 130 of file AVT.hpp.

◆ getName()

const XalanDOMString& AVT::getName ( ) const
inline

Retrieve the name of the Attribute Value Template.

Returns
name of AVT

Definition at line 92 of file AVT.hpp.


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

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