Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Types | Static Public Member Functions | Static Public Attributes
DOMServices Class Reference

List of all members.

Public Types

Static Public Member Functions

Static Public Attributes


Member Typedef Documentation

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

Member Function Documentation

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

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

Parameters:
nodeDOM node whose name is returned
Returns:
name of node without namespace
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:
nodeDOM node whose name is returned
Returns:
name of the node
static const XalanDOMString& DOMServices::getNameOfNode ( const XalanAttr attr) [static]

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

Parameters:
attrDOM attribute node whose name is returned
Returns:
name of the node
static const XalanDOMString& DOMServices::getNameOfNode ( const XalanElement element) [static]

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

Parameters:
attrDOM element node whose name is returned
Returns:
name of the node
static const XalanDOMString* DOMServices::getNamespaceForPrefix ( const XalanDOMString prefix,
const XalanElement namespaceContext 
) [static]

Retrieve the URI corresponding to a namespace prefix.

Parameters:
prefixprefix for a namespace
namespaceContextDOM 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:
theNameThe name that contains the prefix
thePrefixResolverThe PrefixResolver to use
isAttributeIf true, special rules for attributes are used
thePrefixThe 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:
nodeDOM node whose namespace is returned
Returns:
namespace of the node
static void DOMServices::getNodeData ( const XalanAttr attribute,
XalanDOMString data 
) [static]

Retrieves data for node.

Parameters:
attributeDOM node whose data is to be returned
dataa string to which the node's data will be appended
static void DOMServices::getNodeData ( const XalanElement element,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [static]

Sends the data for a node to a FormatterListener.

Parameters:
elementDOM node whose data is to be returned
formatterListenerthe FormatterListener instance to receive the data
fRawWhether or not the data should be sent raw.
static void DOMServices::getNodeData ( const XalanComment comment,
XalanDOMString data 
) [static]

Retrieves data for node.

Parameters:
commentDOM node whose data is to be returned
dataa string to which the node's data will be appended
static void DOMServices::getNodeData ( const XalanText text,
XalanDOMString data 
) [static]

Retrieves data for node.

Parameters:
nodeDOM node whose data is to be returned
dataa string to which the node's data will be appended
static void DOMServices::getNodeData ( const XalanProcessingInstruction pi,
XalanDOMString data 
) [static]

Retrieves data for node.

Parameters:
piDOM node whose data is to be returned
dataa string to which the node's data will be appended
static void DOMServices::getNodeData ( const XalanProcessingInstruction pi,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [static]

Sends the data for a node to a FormatterListener.

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

Retrieves data for node.

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

Sends the data for a node to a FormatterListener.

Parameters:
nodeDOM node whose data is to be returned
formatterListenerthe FormatterListener instance to receive the data
fRawWhether or not the data should be sent raw.
static void DOMServices::getNodeData ( const XalanDocumentFragment documentFragment,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [static]

Sends the data for a node to a FormatterListener.

Parameters:
documentFragmentDOM node whose data is to be sent
formatterListenerthe FormatterListener instance to receive the data
fRawWhether or not the data should be sent raw.
static void DOMServices::getNodeData ( const XalanDocument document,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [static]

Sends the data for a node to a FormatterListener.

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

Sends the data for a node to a FormatterListener.

Parameters:
attributeDOM node whose data is to be returned
formatterListenerthe FormatterListener instance to receive the data
fRawWhether or not the data should be sent raw.
static void DOMServices::getNodeData ( const XalanNode node,
XalanDOMString data 
) [static]

Retrieves data for node.

Parameters:
nodeDOM node whose data is to be returned
dataa string to which the node's data will be appended
static void DOMServices::getNodeData ( const XalanNode node,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [static]

Sends the data for a node to a FormatterListener.

Parameters:
nodeDOM node whose data is to be returned
formatterListenerthe FormatterListener instance to receive the data
functionA pointer to the member function of FormatterListener to call
static void DOMServices::getNodeData ( const XalanComment comment,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) [static]

Sends the data for a node to a FormatterListener.

Parameters:
commentDOM node whose data is to be returned
formatterListenerthe FormatterListener instance to receive the data
fRawWhether or not the data should be sent raw.
static void DOMServices::getNodeData ( const XalanDocument document,
XalanDOMString data 
) [static]

Retrieves data for node.

Parameters:
documentDOM node whose data is to be returned
dataa 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:
documentFragmentDOM node whose data is to be returned
dataa string to which the node's data will be appended
static XalanNode* DOMServices::getParentOfNode ( const XalanNode node) [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:
nodechild node
Returns:
parent node
static void DOMServices::initialize ( MemoryManagerType theManager) [static]

Initialize static data.

Must be called before any other functions are called.

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

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

Parameters:
nodeDOM node to check
Returns:
true if the attribute is declaring a namespace, false if not.
static bool DOMServices::isNodeAfter ( const XalanNode node1,
const XalanNode node2 
) [static]

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

Parameters:
node1The first node
node2The 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:
parentThe parent of the nodes.
node1The first node
node2The 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.


Member Data Documentation


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.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo