16 #if !defined(DOMSERVICES_HEADER_GUARD_1357924680)
17 #define DOMSERVICES_HEADER_GUARD_1357924680
41 XALAN_CPP_NAMESPACE_BEGIN
219 MemberFunctionPtr
function);
232 MemberFunctionPtr
function)
234 sendData(formatterListener,
function, attribute.
getNodeValue());
248 MemberFunctionPtr
function)
250 sendData(formatterListener,
function, comment.
getData());
264 MemberFunctionPtr
function);
277 MemberFunctionPtr
function);
290 MemberFunctionPtr
function);
303 MemberFunctionPtr
function)
305 sendData(formatterListener,
function, pi.
getData());
319 MemberFunctionPtr
function)
321 sendData(formatterListener,
function, text.
getData());
348 if (
startsWith(theName, s_XMLNamespaceWithSeparator) ==
true)
353 else if (
equals(theName, s_XMLNamespace) ==
true)
355 return s_emptyString;
390 if (
length(theLocalName) != 0)
439 #if defined(XALAN_OLD_STYLE_CASTS)
440 return ((
const XalanAttr&)node).getOwnerElement();
442 return static_cast<const XalanAttr&
>(node).getOwnerElement();
459 getNamespaceForPrefix(
474 getNamespaceForPrefix(
475 const XalanDOMChar* theName,
523 if (theOwnerElement != 0)
525 return theOwnerElement;
559 MemberFunctionPtr
function,
569 (formatterListener.*
function)(
578 XALAN_CPP_NAMESPACE_END
582 #endif // DOMSERVICES_HEADER_GUARD_1357924680
static const XalanDOMString::size_type & s_XMLNamespacePrefixLength
Definition: DOMServices.hpp:65
virtual XalanElement * getDocumentElement() const =0
Return a reference to the root element of the document.
static void getNodeData(const XalanProcessingInstruction &pi, XalanDOMString &data)
Retrieves data for node.
Definition: DOMServices.hpp:183
Definition: XalanNode.hpp:44
size_type length() const
Definition: XalanDOMString.hpp:209
Definition: XalanText.hpp:38
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.
Definition: DOMServices.hpp:113
static XalanNode * getParentOfNode(const XalanNode &node)
Retrieve the parent of a node.
Definition: DOMServices.hpp:435
virtual const XalanDOMString & getData() const =0
The content of this processing instruction.
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: XalanAttr.hpp:38
static const XalanDOMString::size_type & s_XMLNamespaceSeparatorStringLength
Definition: DOMServices.hpp:69
static const XalanDOMString::size_type & s_XMLNamespaceURILength
Definition: DOMServices.hpp:66
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
Definition: XalanDocumentFragment.hpp:38
static const XalanDOMString & s_XMLNamespaceWithSeparator
Definition: DOMServices.hpp:59
static void getNodeData(const XalanComment &comment, XalanDOMString &data)
Retrieves data for node.
Definition: DOMServices.hpp:129
Definition: DOMServices.hpp:50
Definition: XalanElement.hpp:42
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...
Definition: DOMServices.hpp:386
Definition: XalanNode.hpp:57
virtual XalanElement * getOwnerElement() const =0
The Element node this attribute is attached to or null if this attribute is not in use...
static const XalanDOMString & s_XMLNamespacePrefixURI
Definition: DOMServices.hpp:61
XalanDOMString & append(XalanDOMString &theString, const XalanDOMString &theStringToAppend)
Concatenate two strings.
Definition: DOMStringHelper.hpp:2127
static const XalanDOMString & s_XMLString
Definition: DOMServices.hpp:54
static const XalanDOMString::size_type & s_XMLStringWithSeparatorLength
Definition: DOMServices.hpp:64
virtual XalanNode * getParentNode() const =0
Gets the parent of this node.
#define XALAN_DOMSUPPORT_EXPORT
Definition: DOMSupportDefinitions.hpp:33
static void getNodeData(const XalanAttr &attribute, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
Definition: DOMServices.hpp:229
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...
Definition: DOMServices.hpp:372
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.
Definition: DOMServices.hpp:245
static const XalanDOMString::size_type & s_XMLNamespacePrefixURILength
Definition: DOMServices.hpp:70
static const XalanDOMString & s_XMLStringWithSeparator
Definition: DOMServices.hpp:55
Definition: XalanProcessingInstruction.hpp:38
const XalanDOMChar * c_str() const
Definition: XalanDOMString.hpp:314
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...
Definition: DOMServices.hpp:344
static const XalanDOMString::size_type & s_XMLStringLength
Definition: DOMServices.hpp:63
This class defines an interface for classes that resolve namespace prefixes to their URIs...
Definition: PrefixResolver.hpp:37
static const XalanDOMString & s_XMLNamespaceSeparatorString
Definition: DOMServices.hpp:60
Definition: XalanDocument.hpp:51
static const XalanDOMString & s_XMLNamespaceURI
Definition: DOMServices.hpp:57
static const XalanDOMString s_emptyString
Definition: DOMServices.hpp:74
virtual const XalanDOMString & getNodeName() const =0
virtual const XalanDOMString & getNodeName() const =0
virtual const XalanDOMString & getData() const =0
Returns the character data of the node that implements this interface.
Definition: XalanDOMString.hpp:42
static const XalanDOMString::size_type & s_XMLNamespaceWithSeparatorLength
Definition: DOMServices.hpp:68
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
Definition: DOMStringHelper.hpp:277
static bool isNamespaceDeclaration(const XalanAttr &n)
Determine whether or not an attribute node is declaring a namespace.
Definition: DOMServices.hpp:419
static void getNodeData(const XalanText &text, XalanDOMString &data)
Retrieves data for node.
Definition: DOMServices.hpp:199
static void getNodeData(const XalanText &text, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
Definition: DOMServices.hpp:316
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
unsigned int size_type
Definition: XalanDOMString.hpp:53
equals(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanDOMString::size_type theLength)
Compare the contents of two arrays for equality.
virtual XalanDocument * getOwnerDocument() const =0
Gets the Document object associated with this node.
static void getNodeData(const XalanProcessingInstruction &pi, FormatterListener &formatterListener, MemberFunctionPtr function)
Sends the data for a node to a FormatterListener.
Definition: DOMServices.hpp:300
static const XalanDOMString::size_type & s_XMLNamespaceLength
Definition: DOMServices.hpp:67
static const XalanDOMString & s_XMLNamespace
Definition: DOMServices.hpp:58
static const XalanDOMString & s_XMLNamespacePrefix
Definition: DOMServices.hpp:56
virtual const XalanDOMString & getNodeName() const =0