OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2005 Frerich Raabe <raabe@kde.org> | 2 * Copyright 2005 Frerich Raabe <raabe@kde.org> |
3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 14 matching lines...) Expand all Loading... |
25 */ | 25 */ |
26 | 26 |
27 #ifndef XPathUtil_h | 27 #ifndef XPathUtil_h |
28 #define XPathUtil_h | 28 #define XPathUtil_h |
29 | 29 |
30 #include "wtf/Forward.h" | 30 #include "wtf/Forward.h" |
31 #include "wtf/Vector.h" | 31 #include "wtf/Vector.h" |
32 | 32 |
33 namespace WebCore { | 33 namespace WebCore { |
34 | 34 |
35 class Node; | 35 class Node; |
36 | 36 |
37 namespace XPath { | 37 namespace XPath { |
38 | 38 |
39 /* @return whether the given node is the root node */ | 39 // @return whether the given node is the root node |
40 bool isRootDomNode(Node*); | 40 bool isRootDomNode(Node*); |
41 | 41 |
42 /* @return the 'string-value' of the given node as specified by http://w
ww.w3.org/TR/xpath */ | 42 // @return the 'string-value' of the given node as specified by http://www.w3.or
g/TR/xpath |
43 String stringValue(Node*); | 43 String stringValue(Node*); |
44 | 44 |
45 /* @return whether the given node is a valid context node */ | 45 // @return whether the given node is a valid context node |
46 bool isValidContextNode(Node*); | 46 bool isValidContextNode(Node*); |
47 | |
48 } | |
49 | 47 |
50 } | 48 } |
51 | 49 |
52 #endif // XPath_Util_H | 50 } |
| 51 #endif // XPathUtil_h |
OLD | NEW |