18 #if !defined(DOMSERVICES_HEADER_GUARD_1357924680) 19 #define DOMSERVICES_HEADER_GUARD_1357924680 44 XALAN_CPP_NAMESPACE_BEGIN
85 initialize(MemoryManager& theManager);
121 getNodeData(node, data);
125 doGetNodeData(node, context, data);
187 getNodeData(document, data);
191 doGetNodeData(document, context, data);
221 getNodeData(documentFragment, data);
225 doGetNodeData(documentFragment, context, data);
255 getNodeData(element, data);
259 doGetNodeData(element, context, data);
306 getNodeData(text, data);
310 doGetNodeData(text, context, data);
327 MemberFunctionPtr
function);
342 MemberFunctionPtr
function)
346 getNodeData(node, formatterListener,
function);
350 doGetNodeData(node, context, formatterListener,
function);
365 MemberFunctionPtr
function)
367 sendData(formatterListener,
function, attribute.
getNodeValue());
381 MemberFunctionPtr
function)
383 sendData(formatterListener,
function, comment.
getData());
397 MemberFunctionPtr
function);
412 MemberFunctionPtr
function)
416 getNodeData(document, formatterListener,
function);
420 doGetNodeData(document, context, formatterListener,
function);
435 MemberFunctionPtr
function);
450 MemberFunctionPtr
function)
454 getNodeData(documentFragment, formatterListener,
function);
458 doGetNodeData(documentFragment, context, formatterListener,
function);
473 MemberFunctionPtr
function);
488 MemberFunctionPtr
function)
492 getNodeData(element, formatterListener,
function);
496 doGetNodeData(element, context, formatterListener,
function);
511 MemberFunctionPtr
function)
513 sendData(formatterListener,
function, pi.
getData());
527 MemberFunctionPtr
function)
529 sendData(formatterListener,
function, text.
getData());
545 MemberFunctionPtr
function)
549 getNodeData(text, formatterListener,
function);
553 doGetNodeData(text, context, formatterListener,
function);
581 if (
startsWith(theName, s_XMLNamespaceWithSeparator) ==
true)
586 else if (
equals(theName, s_XMLNamespace) ==
true)
588 return s_emptyString;
623 if (theLocalName.
empty() ==
false)
672 return static_cast<const XalanAttr&
>(node).getOwnerElement();
688 getNamespaceForPrefix(
703 getNamespaceForPrefix(
704 const XalanDOMChar* theName,
840 MemberFunctionPtr
function);
855 MemberFunctionPtr
function);
870 MemberFunctionPtr
function);
885 MemberFunctionPtr
function);
900 MemberFunctionPtr
function)
906 sendData(formatterListener,
function, text.
getData());
920 MemberFunctionPtr
function,
930 (formatterListener.*
function)(
939 XALAN_CPP_NAMESPACE_END
943 #endif // DOMSERVICES_HEADER_GUARD_1357924680 static const XalanDOMString::size_type & s_XMLNamespacePrefixLength
static void getNodeData(const XalanProcessingInstruction &pi, XalanDOMString &data)
Retrieves data for node.
virtual bool shouldStripSourceNode(const XalanText &node)=0
Determine if a text node should be stripped from the source tree, as if it weren't there...
startsWith(const XalanDOMChar *theString, XalanDOMString::size_type theStringLength, const XalanDOMChar *theSubstring, XalanDOMString::size_type theSubstringLength)
Simulates the java String method startsWith().
static void getNodeData(const XalanAttr &attribute, XalanDOMString &data)
Retrieves data for node.
static XalanNode * getParentOfNode(const XalanNode &node)
Retrieve the parent of a node.
virtual const XalanDOMString & getData() const =0
The content of this processing instruction.
static void getNodeData(const XalanNode &node, ExecutionContext &context, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
static const XalanDOMString::size_type & s_XMLNamespaceSeparatorStringLength
static const XalanDOMString::size_type & s_XMLNamespaceURILength
static void getNodeData(const XalanElement &element, ExecutionContext &context, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
static const XalanDOMString & s_XMLNamespaceWithSeparator
static void getNodeData(const XalanDocument &document, ExecutionContext &context, XalanDOMString &data)
Retrieves data for node.
static void getNodeData(const XalanElement &element, ExecutionContext &context, XalanDOMString &data)
Retrieves data for node.
static void getNodeData(const XalanComment &comment, XalanDOMString &data)
Retrieves data for node.
virtual const XalanDOMString & getNodeValue() const =0
Gets the value of this node, depending on its type.
static const XalanDOMString & getLocalNameOfNode(const XalanNode &n)
Retrieve local name of node, taking into account the differences between the DOM and XSLT data models...
static void getNodeData(const XalanText &text, ExecutionContext &context, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
static const XalanDOMString & s_XMLNamespacePrefixURI
static const XalanDOMString & s_XMLString
const XalanDOMChar * c_str() const
static const XalanDOMString::size_type & s_XMLStringWithSeparatorLength
virtual XalanNode * getParentNode() const =0
Gets the parent of this node.
#define XALAN_DOMSUPPORT_EXPORT
static void getNodeData(const XalanAttr &attribute, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
void(FormatterListener::* MemberFunctionPtr)(const XMLCh *const, const FormatterListener::size_type)
static const XalanDOMString & getNameOfNode(const XalanElement &element)
Retrieve the name of the node, taking into account the differences between the DOM and XSLT data mode...
virtual NodeType getNodeType() const =0
An enum value representing the type of the underlying object.
static void getNodeData(const XalanComment &comment, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
static const XalanDOMString::size_type & s_XMLNamespacePrefixURILength
static const XalanDOMString & s_XMLStringWithSeparator
static const XalanDOMString & getNameOfNode(const XalanAttr &attr)
Retrieve the name of the node, taking into account the differences between the DOM and XSLT data mode...
static const XalanDOMString::size_type & s_XMLStringLength
This class defines an interface for classes that resolve namespace prefixes to their URIs...
static const XalanDOMString & s_XMLNamespaceSeparatorString
static const XalanDOMString & s_XMLNamespaceURI
static void getNodeData(const XalanText &text, ExecutionContext &context, XalanDOMString &data)
Retrieves data for node.
static const XalanDOMString s_emptyString
virtual const XalanDOMString & getNodeName() const =0
Gets the name of this node, depending on its type.
bool hasPreserveOrStripSpaceConditions() const
static void getNodeData(const XalanDocumentFragment &documentFragment, ExecutionContext &context, XalanDOMString &data)
Retrieves data for node.
virtual const XalanDOMString & getNodeName() const =0
Gets the name of this node, depending on its type.
virtual const XalanDOMString & getData() const =0
Returns the character data of the node that implements this interface.
static const XalanDOMString::size_type & s_XMLNamespaceWithSeparatorLength
XalanDOMString & append(const XalanDOMString &theSource)
static bool isNamespaceDeclaration(const XalanAttr &n)
Determine whether or not an attribute node is declaring a namespace.
static void getNodeData(const XalanText &text, XalanDOMString &data)
Retrieves data for node.
static void getNodeData(const XalanText &text, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
static void getNodeData(const XalanNode &node, ExecutionContext &context, XalanDOMString &data)
Retrieves data for node.
equals(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanDOMString::size_type theLength)
Compare the contents of two arrays for equality.
static void getNodeData(const XalanProcessingInstruction &pi, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
static const XalanDOMString::size_type & s_XMLNamespaceLength
static void getNodeData(const XalanDocument &document, ExecutionContext &context, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
static const XalanDOMString & s_XMLNamespace
static const XalanDOMString & s_XMLNamespacePrefix
static void getNodeData(const XalanDocumentFragment &documentFragment, ExecutionContext &context, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
virtual const XalanDOMString & getNodeName() const =0
Gets the name of this node, depending on its type.