Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Static Public Member Functions | Static Public Attributes | Friends

DOMServices Class Reference

#include <DOMServices.hpp>

Collaboration diagram for DOMServices:
Collaboration graph
[legend]

List of all members.

Public Types

Static Public Member Functions

Static Public Attributes

Friends


Detailed Description

Definition at line 53 of file DOMServices.hpp.


Member Typedef Documentation

typedef void(FormatterListener::* DOMServices::MemberFunctionPtr)(const XMLCh *const, const FormatterListener::size_type)

Definition at line 314 of file DOMServices.hpp.


Member Function Documentation

static const XalanDOMString& DOMServices::getLocalNameOfNode ( const XalanNode n  )  [inline, static]

Retrieve local name of node, taking into account the differences between the DOM and XSLT data models.

Parameters:
node DOM node whose name is returned
Returns:
name of node without namespace

Definition at line 619 of file DOMServices.hpp.

static const XalanDOMString& DOMServices::getNameOfNode ( const XalanNode n  )  [static]

Retrieve the name of the node, taking into account the differences between the DOM and XSLT data models.

Parameters:
node DOM node whose name is returned
Returns:
name of the node
static const XalanDOMString& DOMServices::getNameOfNode ( const XalanAttr attr  )  [inline, static]

Retrieve the name of the node, taking into account the differences between the DOM and XSLT data models.

Parameters:
attr DOM attribute node whose name is returned
Returns:
name of the node

Definition at line 577 of file DOMServices.hpp.

static const XalanDOMString& DOMServices::getNameOfNode ( const XalanElement element  )  [inline, static]

Retrieve the name of the node, taking into account the differences between the DOM and XSLT data models.

Parameters:
attr DOM element node whose name is returned
Returns:
name of the node

Definition at line 605 of file DOMServices.hpp.

static const XalanDOMString* DOMServices::getNamespaceForPrefix ( const XalanDOMString prefix,
const XalanElement namespaceContext 
) [static]

Retrieve the URI corresponding to a namespace prefix.

Parameters:
prefix prefix for a namespace
namespaceContext DOM element representing the context for namespace
Returns:
URI corresponding to namespace
static const XalanDOMString* DOMServices::getNamespaceForPrefix ( const XalanDOMChar *  theName,
const PrefixResolver thePrefixResolver,
bool  isAttribute,
XalanDOMString thePrefix 
) [static]

Retrieve the URI corresponding to a namespace prefix, using the supplied name, and PrefixResolver.

The routine also returns the prefix.

Parameters:
theName The name that contains the prefix
thePrefixResolver The PrefixResolver to use
isAttribute If true, special rules for attributes are used
thePrefix The prefix
Returns:
URI corresponding to namespace
static const XalanDOMString& DOMServices::getNamespaceOfNode ( const XalanNode n  )  [static]

Retrieve the namespace of the node, taking into account the differences between the DOM and XSLT data models.

Parameters:
node DOM node whose namespace is returned
Returns:
namespace of the node
static void DOMServices::getNodeData ( const XalanNode node,
ExecutionContext context,
XalanDOMString data 
) [inline, static]

Retrieves data for node.

Parameters:
node DOM node whose data is to be returned
context The current execution context
data a string to which the node's data will be appended

Definition at line 114 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanDocument document,
ExecutionContext context,
XalanDOMString data 
) [inline, static]

Retrieves data for node.

Parameters:
document The DOM node whose data is to be returned
context The current execution context
data a string to which the node's data will be appended

Definition at line 180 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanComment comment,
XalanDOMString data 
) [inline, static]

Retrieves data for node.

Parameters:
comment DOM node whose data is to be returned
data a string to which the node's data will be appended

Definition at line 154 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanText text,
ExecutionContext context,
XalanDOMString data 
) [inline, static]

Retrieves data for node.

Parameters:
text DOM node whose data is to be returned
context The current execution context
data a string to which the node's data will be appended

Definition at line 299 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanText text,
XalanDOMString data 
) [inline, static]

Retrieves data for node.

Parameters:
node DOM node whose data is to be returned
data a string to which the node's data will be appended

Definition at line 284 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanNode node,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [static]

Sends the data for a node to a FormatterListener.

Parameters:
node DOM node whose data is to be returned
formatterListener the FormatterListener instance to receive the data
function A pointer to the member function of FormatterListener to call
static void DOMServices::getNodeData ( const XalanText text,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [inline, static]

Sends the data for a node to a FormatterListener.

Parameters:
node DOM node whose data is to be returned
formatterListener the FormatterListener instance to receive the data
fRaw Whether or not the data should be sent raw.

Definition at line 524 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanProcessingInstruction pi,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [inline, static]

Sends the data for a node to a FormatterListener.

Parameters:
pi DOM node whose data is to be returned
formatterListener the FormatterListener instance to receive the data
fRaw Whether or not the data should be sent raw.

Definition at line 508 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanElement element,
ExecutionContext context,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [inline, static]

Sends the data for a node to a FormatterListener.

Parameters:
node DOM node whose data is to be returned
context The current execution context
formatterListener the FormatterListener instance to receive the data
function A pointer to the member function of FormatterListener to call

Definition at line 484 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanNode node,
ExecutionContext context,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [inline, static]

Sends the data for a node to a FormatterListener.

Parameters:
node DOM node whose data is to be returned
context The current execution context
formatterListener the FormatterListener instance to receive the data
function A pointer to the member function of FormatterListener to call

Definition at line 338 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanDocumentFragment documentFragment,
ExecutionContext context,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [inline, static]

Sends the data for a node to a FormatterListener.

Parameters:
documentFragment DOM node whose data is to be sent
context The current execution context
formatterListener the FormatterListener instance to receive the data
fRaw Whether or not the data should be sent raw.

Definition at line 446 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanDocumentFragment documentFragment,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [static]

Sends the data for a node to a FormatterListener.

Parameters:
documentFragment DOM node whose data is to be sent
formatterListener the FormatterListener instance to receive the data
fRaw Whether or not the data should be sent raw.
static void DOMServices::getNodeData ( const XalanDocument document,
ExecutionContext context,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [inline, static]

Sends the data for a node to a FormatterListener.

Parameters:
node DOM node whose data is to be returned
context The current execution context
formatterListener the FormatterListener instance to receive the data
function A pointer to the member function of FormatterListener to call

Definition at line 408 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanDocument document,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [static]

Sends the data for a node to a FormatterListener.

Parameters:
document DOM node whose data is to be returned
formatterListener the FormatterListener instance to receive the data
fRaw Whether or not the data should be sent raw.
static void DOMServices::getNodeData ( const XalanAttr attribute,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [inline, static]

Sends the data for a node to a FormatterListener.

Parameters:
attribute DOM node whose data is to be returned
formatterListener the FormatterListener instance to receive the data
fRaw Whether or not the data should be sent raw.

Definition at line 362 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanComment comment,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [inline, static]

Sends the data for a node to a FormatterListener.

Parameters:
comment DOM node whose data is to be returned
formatterListener the FormatterListener instance to receive the data
fRaw Whether or not the data should be sent raw.

Definition at line 378 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanAttr attribute,
XalanDOMString data 
) [inline, static]

Retrieves data for node.

Parameters:
attribute DOM node whose data is to be returned
data a string to which the node's data will be appended

Definition at line 138 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanDocumentFragment documentFragment,
ExecutionContext context,
XalanDOMString data 
) [inline, static]

Retrieves data for node.

Parameters:
documentFragment The DOM node whose data is to be returned
context The current execution context
data a string to which the node's data will be appended

Definition at line 214 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanNode node,
XalanDOMString data 
) [static]

Retrieves data for node.

Parameters:
node DOM node whose data is to be returned
data a string to which the node's data will be appended
static void DOMServices::getNodeData ( const XalanText text,
ExecutionContext context,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [inline, static]

Sends the data for a node to a FormatterListener.

Parameters:
node DOM node whose data is to be returned
context The current execution context
formatterListener the FormatterListener instance to receive the data
fRaw Whether or not the data should be sent raw.

Definition at line 541 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanProcessingInstruction pi,
XalanDOMString data 
) [inline, static]

Retrieves data for node.

Parameters:
pi DOM node whose data is to be returned
data a string to which the node's data will be appended

Definition at line 270 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanElement element,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [static]

Sends the data for a node to a FormatterListener.

Parameters:
element DOM node whose data is to be returned
formatterListener the FormatterListener instance to receive the data
fRaw Whether or not the data should be sent raw.
static void DOMServices::getNodeData ( const XalanElement element,
XalanDOMString data 
) [static]

Retrieves data for node.

Parameters:
element DOM node whose data is to be returned
data a string to which the node's data will be appended
static void DOMServices::getNodeData ( const XalanDocumentFragment documentFragment,
XalanDOMString data 
) [static]

Retrieves data for node.

Parameters:
documentFragment The DOM node whose data is to be returned
data a string to which the node's data will be appended
static void DOMServices::getNodeData ( const XalanElement element,
ExecutionContext context,
XalanDOMString data 
) [inline, static]

Retrieves data for node.

Parameters:
node DOM node whose data is to be returned
context The current execution context
data a string to which the node's data will be appended

Definition at line 248 of file DOMServices.hpp.

static void DOMServices::getNodeData ( const XalanDocument document,
XalanDOMString data 
) [static]

Retrieves data for node.

Parameters:
document DOM node whose data is to be returned
data a string to which the node's data will be appended
static XalanNode* DOMServices::getParentOfNode ( const XalanNode node  )  [inline, static]

Retrieve the parent of a node.

This function has to be implemented, because the DOM WG decided that attributes don't have parents.

Parameters:
node child node
Returns:
parent node

Definition at line 668 of file DOMServices.hpp.

static void DOMServices::initialize ( MemoryManager &  theManager  )  [static]

Initialize static data.

Must be called before any other functions are called.

static bool DOMServices::isNamespaceDeclaration ( const XalanAttr n  )  [inline, static]

Determine whether or not an attribute node is declaring a namespace.

Parameters:
node DOM node to check
Returns:
true if the attribute is declaring a namespace, false if not.

Definition at line 652 of file DOMServices.hpp.

static bool DOMServices::isNodeAfter ( const XalanNode node1,
const XalanNode node2 
) [static]

Determine if a node is after another node, in document order.

Parameters:
node1 The first node
node2 The second node
Returns:
true if node1 one is after node2, or false if it is not.
static bool DOMServices::isNodeAfterSibling ( const XalanNode parent,
const XalanNode child1,
const XalanNode child2 
) [static]

Determine if a node is after another node in the sibling list.

Parameters:
parent The parent of the nodes.
node1 The first node
node2 The second node
Returns:
true if node1 one is after node2, or false if it is not.
static void DOMServices::terminate (  )  [static]

Destroy static data.

After thus function is called, no other functions can be called.


Friends And Related Function Documentation

void getChildData ( const XalanNode child,
XalanDOMString data 
) [friend]
void getChildData ( const XalanNode child,
FormatterListener formatterListener,
DOMServices::MemberFunctionPtr  function 
) [friend]
void getChildData ( const XalanNode child,
ExecutionContext executionContext,
XalanDOMString data 
) [friend]

Member Data Documentation

Definition at line 77 of file DOMServices.hpp.

Definition at line 61 of file DOMServices.hpp.

Definition at line 70 of file DOMServices.hpp.

Definition at line 59 of file DOMServices.hpp.

Definition at line 68 of file DOMServices.hpp.

Definition at line 64 of file DOMServices.hpp.

Definition at line 73 of file DOMServices.hpp.

Definition at line 63 of file DOMServices.hpp.

Definition at line 72 of file DOMServices.hpp.

Definition at line 60 of file DOMServices.hpp.

Definition at line 69 of file DOMServices.hpp.

Definition at line 62 of file DOMServices.hpp.

Definition at line 71 of file DOMServices.hpp.

Definition at line 57 of file DOMServices.hpp.

Definition at line 66 of file DOMServices.hpp.

Definition at line 58 of file DOMServices.hpp.

Definition at line 67 of file DOMServices.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