Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

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

DOMServices Class Reference

#include <DOMServices.hpp>

List of all members.

Static Public Methods

Static Public Attributes


Detailed Description


Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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]


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.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.