1 /** 2 * @fileoverview XPath Data Model 3.0 implementation (XDM). 3 */ 4 5 goog.provide('xrx.xdm'); 6 7 8 9 /** 10 * An interface representing the XPath Data Model 3.0 (XDM). 11 * http://www.w3.org/TR/xpath-datamodel-30/ 12 * 13 * @interface 14 * @constructor 15 */ 16 xrx.xdm = function() {}; 17 18 19 20 /** 21 * Abstract function representing an accessor for ancestor nodes. 22 * <br/>(not official part of the XDM but useful for streaming XPath processors). 23 */ 24 xrx.xdm.prototype.getAncestorNodes = goog.abstractMethod; 25 26 27 28 /** 29 * Abstract function representing the XDM children Accessor. 30 * <br/>(http://www.w3.org/TR/xpath-datamodel-30/#dm-children) 31 */ 32 xrx.xdm.prototype.getChildNodes = goog.abstractMethod; 33 34 35 36 /** 37 * Abstract function representing an accessor for descendant nodes. 38 * <br/>(not official part of the XDM but useful for streaming XPath processors). 39 */ 40 xrx.xdm.prototype.getDescendantNodes = goog.abstractMethod; 41 42 43 44 /** 45 * Abstract function representing an accessor for following sibling nodes. 46 * <br/>(not official part of the XDM but useful for streaming XPath processors). 47 */ 48 xrx.xdm.prototype.getFollowingSiblingNodes = goog.abstractMethod; 49 50 51 52 /** 53 * Abstract function representing an accessor for following nodes. 54 * <br/>(not official part of the XDM but useful for streaming XPath processors). 55 */ 56 xrx.xdm.prototype.getFollowingNodes = goog.abstractMethod; 57 58 59 60 /** 61 * Abstract function representing the XDM attributes Accessor. 62 * <br/>(http://www.w3.org/TR/xpath-datamodel-30/#dm-attributes) 63 */ 64 xrx.xdm.prototype.getAttributeNodes = goog.abstractMethod; 65