Xalan-C++ API Documentation

The Xalan C++ XSL Transformer Version 1.1

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DOMServices Class Reference

#include <DOMServices.hpp>

Collaboration diagram for DOMServices:

Collaboration graph

[legend]
List of all members.

Static Public Methods

Static Public Attributes


Member Function Documentation

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:
node   DOM node whose name is returned
Returns:
name of node without namespace

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

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

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

void DOMServices::getNodeData ( const XalanText & text,
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

XalanDOMString DOMServices::getNodeData ( const XalanText & text ) [static]
 

Retrieves data for node.

Parameters:
node   DOM node whose data is to be returned
Returns:
a string representation of the node's data

void DOMServices::getNodeData ( const XalanProcessingInstruction & pi,
XalanDOMString & data ) [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

XalanDOMString DOMServices::getNodeData ( const XalanProcessingInstruction & pi ) [static]
 

Retrieves data for node.

Parameters:
pi   DOM node whose data is to be returned
Returns:
a string representation of the node's data

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

XalanDOMString DOMServices::getNodeData ( const XalanElement & element ) [static]
 

Retrieves data for node.

Parameters:
element   DOM node whose data is to be returned
Returns:
a string representation of the node's data

void DOMServices::getNodeData ( const XalanDocumentFragment & documentFragment,
XalanDOMString & data ) [static]
 

Retrieves data for node.

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

XalanDOMString DOMServices::getNodeData ( const XalanDocumentFragment & documentFragment ) [static]
 

Retrieves data for node.

Parameters:
documentFragment   DOM node whose data is to be returned
Returns:
a string representation of the node's data

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

XalanDOMString DOMServices::getNodeData ( const XalanDocument & document ) [static]
 

Retrieves data for node.

Parameters:
document   DOM node whose data is to be returned
Returns:
a string representation of the node's data

void DOMServices::getNodeData ( const XalanComment & comment,
XalanDOMString & data ) [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

XalanDOMString DOMServices::getNodeData ( const XalanComment & comment ) [static]
 

Retrieves data for node.

Parameters:
attribute   DOM node whose data is to be returned
Returns:
a string representation of the node's data

void DOMServices::getNodeData ( const XalanAttr & attribute,
XalanDOMString & data ) [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

XalanDOMString DOMServices::getNodeData ( const XalanAttr & attribute ) [static]
 

Retrieves data for node.

Parameters:
attribute   DOM node whose data is to be returned
Returns:
a string representation of the node's data

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

XalanDOMString DOMServices::getNodeData ( const XalanNode & node ) [static]
 

Retrieves data for node.

Parameters:
node   DOM node whose data is to be returned
Returns:
a string representation of the node's data

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:
node   child node
Returns:
parent node

void DOMServices::initialize ( ) [static]
 

Initialize static data.

Must be called before any other functions are called.

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.

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.

void DOMServices::terminate ( ) [static]
 

Destroy static data.

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


Member Data Documentation

const XalanDOMString & DOMServices::s_XMLNamespace [static]
 

const unsigned int & DOMServices::s_XMLNamespaceLength [static]
 

const XalanDOMString & DOMServices::s_XMLNamespaceSeparatorString [static]
 

const unsigned int & DOMServices::s_XMLNamespaceSeparatorStringLength [static]
 

const XalanDOMString & DOMServices::s_XMLNamespaceURI [static]
 

const unsigned int & DOMServices::s_XMLNamespaceURILength [static]
 

const XalanDOMString & DOMServices::s_XMLNamespaceWithSeparator [static]
 

const unsigned int & DOMServices::s_XMLNamespaceWithSeparatorLength [static]
 

const XalanDOMString & DOMServices::s_XMLString [static]
 

const unsigned int & DOMServices::s_XMLStringLength [static]
 

const XalanDOMString & DOMServices::s_XMLStringWithSeparator [static]
 

const unsigned int & DOMServices::s_XMLStringWithSeparatorLength [static]
 

const XalanDOMString DOMServices::s_emptyString [static]
 


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++ XSL Transformer Version 1.1
Copyright © 2000, 2001 The Apache Software Foundation. All Rights Reserved.