Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XPath/XPathEnvSupport.hpp>
Public Types | |
typedef xercesc::Locator | LocatorType |
typedef Function::XObjectArgVectorType | XObjectArgVectorType |
![]() | |
enum | eSource { eXMLPARSER = 0 , eXMLParser = 0 , eXSLPROCESSOR = 1 , eXSLTProcessor = 1 , eXPATH = 2 , eXPath = 2 , eSourceCount } |
enum | eClassification { eMESSAGE = 0 , eMessage = 0 , eWARNING = 1 , eWarning = 1 , eERROR = 2 , eError = 2 , eClassificationCount } |
typedef eSource | eProblemSource |
Additional Inherited Members | |
![]() | |
static void | defaultFormat (PrintWriter &pw, eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode) |
Function to format a problem call to a PrintWriter instance. | |
static void | defaultFormat (PrintWriter &pw, eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode) |
Function to format a problem call to a PrintWriter instance. | |
![]() | |
static const XalanMessages::Codes | s_messageCodes [eSourceCount][eClassificationCount] |
Definition at line 60 of file XPathEnvSupport.hpp.
typedef xercesc::Locator xalanc::XPathEnvSupport::LocatorType |
Definition at line 64 of file XPathEnvSupport.hpp.
Definition at line 66 of file XPathEnvSupport.hpp.
xalanc::XPathEnvSupport::XPathEnvSupport | ( | ) |
|
virtual |
|
pure virtual |
Determine if an external element is available.
theNamespace | namespace for the element |
elementName | name of extension element |
Implemented in xalanc::XPathEnvSupportDefault, xalanc::XSLTProcessorEnvSupportDefault, and xalanc::XSLTProcessorEnvSupport.
|
pure virtual |
Handle an extension function.
executionContext | current execution context |
theNamespace | namespace of function |
functionName | extension function name |
argVec | vector of arguments to function |
locator | A Locator instance for error reporting. |
Implemented in xalanc::XPathEnvSupportDefault, xalanc::XSLTProcessorEnvSupportDefault, and xalanc::XSLTProcessorEnvSupport.
|
pure virtual |
Given a DOM Document, tell what URI was used to parse it.
Needed for relative resolution.
owner | source document |
Implemented in xalanc::XPathEnvSupportDefault, xalanc::XSLTProcessorEnvSupportDefault, and xalanc::XSLTProcessorEnvSupport.
|
pure virtual |
Determine if a function is available.
For standard function availability, theNamespace should be an empty string.
theNamespace | namespace for the function |
functionName | name of the function |
Implemented in xalanc::XPathEnvSupportDefault, xalanc::XSLTProcessorEnvSupportDefault, and xalanc::XSLTProcessorEnvSupport.
|
pure virtual |
Get the source document for the given URI.
theURI | document URI |
Implemented in xalanc::XPathEnvSupportDefault, xalanc::XSLTProcessorEnvSupportDefault, and xalanc::XSLTProcessorEnvSupport.
|
pure virtual |
Provides support for XML parsing service.
theManager | The MemoryManager instance to use. |
urlString | location of the XML |
base | base location for URI |
theErrorHandler | An optional ErrorHandler instance for error reporting. |
Implemented in xalanc::XPathEnvSupportDefault, xalanc::XSLTProcessorEnvSupportDefault, and xalanc::XSLTProcessorEnvSupport.
|
pure virtual |
Function that is called when a problem event occurs.
source | Either eXMLParser, eXSLProcessor, or eXPATH. |
classification | Either eMessage, eWarning, or eError. |
locator | The current Locator instance for the stylesheet. Maybe be a null pointer. |
sourceNode | The current source node, if any. |
msg | The error message. |
Implements xalanc::ProblemListenerBase.
Implemented in xalanc::XPathEnvSupportDefault, xalanc::XSLTProcessorEnvSupportDefault, and xalanc::XSLTProcessorEnvSupport.
|
pure virtual |
Function that is called when a problem event occurs.
This version assumes location information is already formatted into the message.
source | either eXMLPARSER, eXSLPROCESSOR, or eXPATH |
classification | either eMESSAGE, eERROR or eWARNING |
msg | string message explaining the problem. |
Implements xalanc::ProblemListenerBase.
Implemented in xalanc::XPathEnvSupportDefault, xalanc::XSLTProcessorEnvSupportDefault, and xalanc::XSLTProcessorEnvSupport.
Reset the instance.
Implemented in xalanc::XPathEnvSupportDefault, xalanc::XSLTProcessorEnvSupportDefault, and xalanc::XSLTProcessorEnvSupport.
References xalanc::operator==().
|
pure virtual |
Associate a document with a given URI.
theURI | document URI |
theDocument | source document |
Implemented in xalanc::XPathEnvSupportDefault, xalanc::XSLTProcessorEnvSupportDefault, and xalanc::XSLTProcessorEnvSupport.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Tue Oct 10 2023 15:42:22 for Xalan-C++ API Reference by