Xalan-C++ API Reference
1.12.0
|
#include <xalanc/DOMSupport/DOMServices.hpp>
Public Types | |
typedef void(FormatterListener::* | MemberFunctionPtr) (const XMLCh *const, const FormatterListener::size_type) |
Static Public Member Functions | |
static void | initialize (MemoryManager &theManager) |
Initialize static data. More... | |
static void | terminate () |
Destroy static data. More... | |
static void | getNodeData (const XalanNode &node, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanNode &node, ExecutionContext &context, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanAttr &attribute, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanComment &comment, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanDocument &document, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanDocument &document, ExecutionContext &context, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanDocumentFragment &documentFragment, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanDocumentFragment &documentFragment, ExecutionContext &context, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanElement &element, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanElement &element, ExecutionContext &context, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanProcessingInstruction &pi, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanText &text, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanText &text, ExecutionContext &context, XalanDOMString &data) |
Retrieves data for node. More... | |
static void | getNodeData (const XalanNode &node, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanNode &node, ExecutionContext &context, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanAttr &attribute, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanComment &comment, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanDocument &document, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanDocument &document, ExecutionContext &context, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanDocumentFragment &documentFragment, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanDocumentFragment &documentFragment, ExecutionContext &context, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanElement &element, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanElement &element, ExecutionContext &context, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanProcessingInstruction &pi, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanText &text, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static void | getNodeData (const XalanText &text, ExecutionContext &context, FormatterListener &formatterListener, MemberFunctionPtr function) |
Sends the data for a node to a FormatterListener. More... | |
static const XalanDOMString & | getNameOfNode (const XalanNode &n) |
Retrieve the name of the node, taking into account the differences between the DOM and XSLT data models. More... | |
static const XalanDOMString & | getNameOfNode (const XalanAttr &attr) |
Retrieve the name of the node, taking into account the differences between the DOM and XSLT data models. More... | |
static const XalanDOMString & | getNameOfNode (const XalanElement &element) |
Retrieve the name of the node, taking into account the differences between the DOM and XSLT data models. More... | |
static const XalanDOMString & | getLocalNameOfNode (const XalanNode &n) |
Retrieve local name of node, taking into account the differences between the DOM and XSLT data models. More... | |
static const XalanDOMString & | getNamespaceOfNode (const XalanNode &n) |
Retrieve the namespace of the node, taking into account the differences between the DOM and XSLT data models. More... | |
static bool | isNamespaceDeclaration (const XalanAttr &n) |
Determine whether or not an attribute node is declaring a namespace. More... | |
static XalanNode * | getParentOfNode (const XalanNode &node) |
Retrieve the parent of a node. More... | |
static const XalanDOMString * | getNamespaceForPrefix (const XalanDOMString &prefix, const XalanElement &namespaceContext) |
Retrieve the URI corresponding to a namespace prefix. More... | |
static const XalanDOMString * | getNamespaceForPrefix (const XalanDOMChar *theName, const PrefixResolver &thePrefixResolver, bool isAttribute, XalanDOMString &thePrefix) |
Retrieve the URI corresponding to a namespace prefix, using the supplied name, and PrefixResolver. More... | |
static bool | isNodeAfter (const XalanNode &node1, const XalanNode &node2) |
Determine if a node is after another node, in document order. More... | |
static bool | isNodeAfterSibling (const XalanNode &parent, const XalanNode &child1, const XalanNode &child2) |
Determine if a node is after another node in the sibling list. More... | |
Friends | |
void | getChildData (const XalanNode *child, XalanDOMString &data) |
void | getChildData (const XalanNode *child, ExecutionContext &executionContext, XalanDOMString &data) |
void | getChildData (const XalanNode *child, FormatterListener &formatterListener, DOMServices::MemberFunctionPtr function) |
Definition at line 53 of file DOMServices.hpp.
typedef void(FormatterListener::* xalanc::DOMServices::MemberFunctionPtr) (const XMLCh *const, const FormatterListener::size_type) |
Definition at line 314 of file DOMServices.hpp.
|
inlinestatic |
Retrieve local name of node, taking into account the differences between the DOM and XSLT data models.
node | DOM node whose name is returned |
Definition at line 619 of file DOMServices.hpp.
References xalanc::XalanDOMString::empty(), xalanc::XalanNode::getLocalName(), and xalanc::XalanNode::getNodeName().
|
inlinestatic |
Retrieve the name of the node, taking into account the differences between the DOM and XSLT data models.
attr | DOM attribute node whose name is returned |
Definition at line 577 of file DOMServices.hpp.
References xalanc::equals(), xalanc::XalanAttr::getLocalName(), xalanc::XalanAttr::getNodeName(), and xalanc::startsWith().
|
inlinestatic |
Retrieve the name of the node, taking into account the differences between the DOM and XSLT data models.
attr | DOM element node whose name is returned |
Definition at line 605 of file DOMServices.hpp.
References xalanc::XalanElement::getNodeName().
|
static |
Retrieve the name of the node, taking into account the differences between the DOM and XSLT data models.
node | DOM node whose name is returned |
|
static |
Retrieve the URI corresponding to a namespace prefix, using the supplied name, and PrefixResolver.
The routine also returns the prefix.
theName | The name that contains the prefix |
thePrefixResolver | The PrefixResolver to use |
isAttribute | If true, special rules for attributes are used |
thePrefix | The prefix |
|
static |
Retrieve the URI corresponding to a namespace prefix.
prefix | prefix for a namespace |
namespaceContext | DOM element representing the context for namespace |
|
static |
Retrieve the namespace of the node, taking into account the differences between the DOM and XSLT data models.
node | DOM node whose namespace is returned |
|
inlinestatic |
Sends the data for a node to a FormatterListener.
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.
References xalanc::XalanAttr::getNodeValue().
|
inlinestatic |
Retrieves data for node.
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.
References xalanc::XalanDOMString::append(), and xalanc::XalanAttr::getNodeValue().
|
inlinestatic |
Sends the data for a node to a FormatterListener.
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.
References xalanc::XalanComment::getData().
|
inlinestatic |
Retrieves data for node.
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.
References xalanc::XalanDOMString::append(), and xalanc::XalanComment::getData().
|
inlinestatic |
Sends the data for a node to a FormatterListener.
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.
References xalanc::ExecutionContext::hasPreserveOrStripSpaceConditions().
|
inlinestatic |
Retrieves data for node.
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.
References xalanc::ExecutionContext::hasPreserveOrStripSpaceConditions().
|
static |
Sends the data for a node to a FormatterListener.
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 |
Retrieves data for node.
document | DOM node whose data is to be returned |
data | a string to which the node's data will be appended |
|
inlinestatic |
Sends the data for a node to a FormatterListener.
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.
References xalanc::ExecutionContext::hasPreserveOrStripSpaceConditions().
|
inlinestatic |
Retrieves data for node.
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.
References xalanc::ExecutionContext::hasPreserveOrStripSpaceConditions().
|
static |
Sends the data for a node to a FormatterListener.
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 |
Retrieves data for node.
documentFragment | The DOM node whose data is to be returned |
data | a string to which the node's data will be appended |
|
inlinestatic |
Sends the data for a node to a FormatterListener.
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.
References xalanc::ExecutionContext::hasPreserveOrStripSpaceConditions().
|
inlinestatic |
Retrieves data for node.
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.
References xalanc::ExecutionContext::hasPreserveOrStripSpaceConditions().
|
static |
Sends the data for a node to a FormatterListener.
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 |
Retrieves data for node.
element | DOM node whose data is to be returned |
data | a string to which the node's data will be appended |
|
inlinestatic |
Sends the data for a node to a FormatterListener.
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.
References xalanc::ExecutionContext::hasPreserveOrStripSpaceConditions().
|
inlinestatic |
Retrieves data for node.
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.
References xalanc::ExecutionContext::hasPreserveOrStripSpaceConditions().
|
static |
Sends the data for a node to a FormatterListener.
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 |
Retrieves data for node.
node | DOM node whose data is to be returned |
data | a string to which the node's data will be appended |
|
inlinestatic |
Sends the data for a node to a FormatterListener.
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.
References xalanc::XalanProcessingInstruction::getData().
|
inlinestatic |
Retrieves data for node.
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.
References xalanc::XalanDOMString::append(), and xalanc::XalanProcessingInstruction::getData().
|
inlinestatic |
Sends the data for a node to a FormatterListener.
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.
References xalanc::ExecutionContext::hasPreserveOrStripSpaceConditions().
|
inlinestatic |
Retrieves data for node.
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.
References xalanc::ExecutionContext::hasPreserveOrStripSpaceConditions().
|
inlinestatic |
Sends the data for a node to a FormatterListener.
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.
References xalanc::XalanText::getData().
|
inlinestatic |
Retrieves data for node.
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.
References xalanc::XalanDOMString::append(), and xalanc::XalanText::getData().
Retrieve the parent of a node.
This function has to be implemented, because the DOM WG decided that attributes don't have parents.
node | child node |
Definition at line 668 of file DOMServices.hpp.
References xalanc::XalanNode::getNodeType(), and xalanc::XalanNode::getParentNode().
|
static |
Initialize static data.
Must be called before any other functions are called.
|
inlinestatic |
Determine whether or not an attribute node is declaring a namespace.
node | DOM node to check |
Definition at line 652 of file DOMServices.hpp.
References xalanc::equals(), xalanc::XalanAttr::getNodeName(), and xalanc::startsWith().
|
static |
Determine if a node is after another node, in document order.
node1 | The first node |
node2 | The second node |
|
static |
Determine if a node is after another node in the sibling list.
parent | The parent of the nodes. |
node1 | The first node |
node2 | The second node |
|
static |
Destroy static data.
After thus function is called, no other functions can be called.
|
friend |
|
friend |
|
friend |
|
static |
Definition at line 77 of file DOMServices.hpp.
|
static |
Definition at line 61 of file DOMServices.hpp.
|
static |
Definition at line 70 of file DOMServices.hpp.
|
static |
Definition at line 59 of file DOMServices.hpp.
|
static |
Definition at line 68 of file DOMServices.hpp.
|
static |
Definition at line 64 of file DOMServices.hpp.
|
static |
Definition at line 73 of file DOMServices.hpp.
|
static |
Definition at line 63 of file DOMServices.hpp.
|
static |
Definition at line 72 of file DOMServices.hpp.
|
static |
Definition at line 60 of file DOMServices.hpp.
|
static |
Definition at line 69 of file DOMServices.hpp.
|
static |
Definition at line 62 of file DOMServices.hpp.
|
static |
Definition at line 71 of file DOMServices.hpp.
|
static |
Definition at line 57 of file DOMServices.hpp.
|
static |
Definition at line 66 of file DOMServices.hpp.
|
static |
Definition at line 58 of file DOMServices.hpp.
|
static |
Definition at line 67 of file DOMServices.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:30 for Xalan-C++ API Reference by 1.8.17