[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kdom/patternist/data
From: Frans Englich <frans.englich () telia ! com>
Date: 2006-06-30 21:29:06
Message-ID: 1151702946.243586.4929.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 556605 by englich:
Just a scratch pad for the Node class.
M +9 -3 Item.h
M +5 -6 Makefile.am
A Node.cpp [License: LGPL]
A Node.h [License: LGPL]
--- trunk/kdenonbeta/kdom/patternist/data/Item.h #556604:556605
@@ -100,11 +100,17 @@
virtual QString stringValue() const = 0;
/**
- * @returns the typed value of this item. For an atomic value its typed value
- * is itself.
+ * Returns the typed value of this item.
*
- * Conceptually, this functions corresponds to the <tt>dm:typed-value</tt> accessor.
+ * Conceptually, this functions corresponds to the <tt>dm:typed-value</tt> accessor. Here are
+ * examples of what the typed value of an Item is:
*
+ * - The typed value of an atomic value is always the atomic value itself.
+ * - A comment node has always a typed value of type @c xs:string
+ * - For attribute and element nodes, the typed value can be arbitrary. For example, an
+ * element can have a sequence of @c xs:dateTime instances.
+ *
+ * @returns the typed value of this item
* @see <a href="http://www.w3.org/TR/xpath-datamodel/#dm-typed-value">XQuery 1.0 and
* XPath 2.0 Data Model, 5.15 typed-value Accessor</a>
*/
--- trunk/kdenonbeta/kdom/patternist/data/Makefile.am #556604:556605
@@ -25,11 +25,10 @@
noinst_LTLIBRARIES = libpatternistdata.la
libpatternistdata_la_SOURCES = String.cpp Numeric.cpp \
- Item.cpp \
Integer.cpp Decimal.cpp \
EmptySequence.cpp AtomicValue.cpp \
Boolean.cpp CommonValues.cpp \
- UntypedAtomic.cpp \
+ UntypedAtomic.cpp Item.cpp \
ValidationError.cpp AnyURI.cpp \
HexBinary.cpp Base64Binary.cpp \
QNameValue.cpp AtomicComparators.cpp \
@@ -41,14 +40,14 @@
GMonthDay.cpp DateTime.cpp \
Date.cpp Time.cpp \
Duration.cpp YearMonthDuration.cpp \
- DayTimeDuration.cpp AbstractDuration.cpp
+ DayTimeDuration.cpp AbstractDuration.cpp \
+ Node.cpp
noinst_HEADERS = String.h Numeric.h \
- Item.h \
Integer.h Decimal.h \
EmptySequence.h AtomicValue.h \
Boolean.h CommonValues.h \
- UntypedAtomic.h \
+ UntypedAtomic.h Item.h \
ValidationError.h AnyURI.h \
HexBinary.h Base64Binary.h \
QNameValue.h AtomicComparators.h \
@@ -61,5 +60,5 @@
Date.h Time.h \
Duration.h YearMonthDuration.h \
DayTimeDuration.h AbstractDuration.h \
- Docs.h
+ Docs.h Node.h
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic