Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
xalanc::XalanEXSLTFunctionEncodeURI Class Reference

#include <xalanc/XalanEXSLT/XalanEXSLTStringImpl.hpp>

Inheritance diagram for xalanc::XalanEXSLTFunctionEncodeURI:
[legend]
Collaboration diagram for xalanc::XalanEXSLTFunctionEncodeURI:
[legend]

Public Types

typedef Function ParentType
 
- Public Types inherited from xalanc::Function
typedef xercesc::Locator LocatorType
 
typedef XPathExecutionContext::XObjectArgVectorType XObjectArgVectorType
 
typedef XPathExecutionContext::GetCachedString GetCachedString
 
typedef XPathExecutionContext::GetCachedNodeList GetCachedNodeList
 

Public Member Functions

 XalanEXSLTFunctionEncodeURI ()
 
virtual ~XalanEXSLTFunctionEncodeURI ()
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XalanEXSLTFunctionEncodeURIclone (MemoryManager &theManager) const
 Create a copy of the function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const XObjectPtr arg3, const Locator *locator) const
 Execute an XPath function object. More...
 
- Public Member Functions inherited from xalanc::Function
 Function ()
 
virtual ~Function ()
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const XObjectPtr arg3, const Locator *locator) const
 Execute an XPath function object. More...
 

Protected Member Functions

const XalanDOMStringgetError (XalanDOMString &theBuffer) const
 Get the error message to report when the function is called with the wrong number of arguments. More...
 
const XalanDOMStringescapedOctet (XalanDOMChar theChar, XalanDOMString &theBuffer) const
 
- Protected Member Functions inherited from xalanc::Function
void generalError (XPathExecutionContext &executionContext, const XalanNode *context, const Locator *locator) const
 Report the error returned from the getError() call. More...
 

Static Protected Attributes

static const XalanDOMChar s_reservedChars []
 
static const XalanDOMString::size_type s_reservedCharsSize
 
static const XalanDOMChar s_excludedChars []
 
static const XalanDOMString::size_type s_excludedCharsSize
 

Detailed Description

Definition at line 237 of file XalanEXSLTStringImpl.hpp.

Member Typedef Documentation

◆ ParentType

Definition at line 241 of file XalanEXSLTStringImpl.hpp.

Constructor & Destructor Documentation

◆ XalanEXSLTFunctionEncodeURI()

xalanc::XalanEXSLTFunctionEncodeURI::XalanEXSLTFunctionEncodeURI ( )
inline

Definition at line 243 of file XalanEXSLTStringImpl.hpp.

◆ ~XalanEXSLTFunctionEncodeURI()

virtual xalanc::XalanEXSLTFunctionEncodeURI::~XalanEXSLTFunctionEncodeURI ( )
inlinevirtual

Definition at line 249 of file XalanEXSLTStringImpl.hpp.

Member Function Documentation

◆ clone()

virtual XalanEXSLTFunctionEncodeURI* xalanc::XalanEXSLTFunctionEncodeURI::clone ( MemoryManager &  theManager) const
inlinevirtual

Create a copy of the function object.

Returns
pointer to the new object

Implements xalanc::Function.

Definition at line 265 of file XalanEXSLTStringImpl.hpp.

References xalanc::XalanCopyConstruct().

◆ escapedOctet()

const XalanDOMString& xalanc::XalanEXSLTFunctionEncodeURI::escapedOctet ( XalanDOMChar  theChar,
XalanDOMString theBuffer 
) const
protected

◆ execute() [1/6]

virtual XObjectPtr xalanc::Function::execute

Execute an XPath function object.

The function must return a valid object. Called if function has no parameters.

Parameters
executionContextexecuting context
contextcurrent context node
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

◆ execute() [2/6]

virtual XObjectPtr xalanc::XalanEXSLTFunctionEncodeURI::execute ( XPathExecutionContext executionContext,
XalanNode context,
const XObjectArgVectorType args,
const Locator *  locator 
) const
virtual

Execute an XPath function object.

The function must return a valid object. Extension functions should override this version of execute(), rather than one of the other calls designed for a specific number of arguments, since the extension function mechanism will call this version first. Extension functions that accept more than three arguments must override this version.

Parameters
executionContextexecuting context
contextcurrent context node
argsvector of pointers to XObject arguments
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

Reimplemented from xalanc::Function.

◆ execute() [3/6]

virtual XObjectPtr xalanc::Function::execute

Execute an XPath function object.

The function must return a valid object. Extension functions should override this version of execute(), rather than one of the other calls designed for a specific number of arguments, since the extension function mechanism will call this version first. Extension functions that accept more than three arguments must override this version.

Parameters
executionContextexecuting context
contextcurrent context node
argsvector of pointers to XObject arguments
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

◆ execute() [4/6]

virtual XObjectPtr xalanc::Function::execute

Execute an XPath function object.

The function must return a valid object. Called if function has one parameter.

Parameters
executionContextexecuting context
contextcurrent context node
argpointer to XObject argument
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

◆ execute() [5/6]

virtual XObjectPtr xalanc::Function::execute

Execute an XPath function object.

The function must return a valid object. Called if function has two parameters.

Parameters
executionContextexecuting context
contextcurrent context node
arg1pointer to XObject argument
arg2pointer to XObject argument
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

◆ execute() [6/6]

virtual XObjectPtr xalanc::Function::execute

Execute an XPath function object.

The function must return a valid object. Called if function has three parameters.

Parameters
executionContextexecuting context
contextcurrent context node
arg1pointer to XObject arguments
arg2pointer to XObject argument
arg3pointer to XObject argument
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

◆ getError()

const XalanDOMString& xalanc::XalanEXSLTFunctionEncodeURI::getError ( XalanDOMString theBuffer) const
inlineprotectedvirtual

Get the error message to report when the function is called with the wrong number of arguments.

Parameters
theBufferThe XalanDOMString for the message.
Returns
The error message

Implements xalanc::Function.

Definition at line 273 of file XalanEXSLTStringImpl.hpp.

Member Data Documentation

◆ s_excludedChars

const XalanDOMChar xalanc::XalanEXSLTFunctionEncodeURI::s_excludedChars[]
staticprotected

Definition at line 289 of file XalanEXSLTStringImpl.hpp.

◆ s_excludedCharsSize

const XalanDOMString::size_type xalanc::XalanEXSLTFunctionEncodeURI::s_excludedCharsSize
staticprotected

Definition at line 290 of file XalanEXSLTStringImpl.hpp.

◆ s_reservedChars

const XalanDOMChar xalanc::XalanEXSLTFunctionEncodeURI::s_reservedChars[]
staticprotected

Definition at line 286 of file XalanEXSLTStringImpl.hpp.

◆ s_reservedCharsSize

const XalanDOMString::size_type xalanc::XalanEXSLTFunctionEncodeURI::s_reservedCharsSize
staticprotected

Definition at line 287 of file XalanEXSLTStringImpl.hpp.


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