ChspsDomDocument Class Reference
class ChspsDomDocument : public CBase
|
Provides the primary access to the document's data.
hspsdomdocument.lib
-
Since
-
S60 5.0
Constructor & Destructor Documentation
ChspsDomDocument()
ChspsDomDocument
|
(
|
)
|
[private]
|
~ChspsDomDocument()
IMPORT_C
|
~ChspsDomDocument
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CloneL()
Makes a clone of this document.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
CreateElementNSL(const TDesC8 &, const TDesC8 &)
Factory method to create node elements, because elements cannot exist outside the context of a document.
Parameters
const
TDesC8
& aName
|
UTF-8 encoded Element name.
|
const
TDesC8
& aNamespace
|
UTF-8 encoded Element namespace.
|
DomNodeCount()
IMPORT_C
TInt
|
DomNodeCount
|
(
|
)
|
const
|
ExternalizeL(RWriteStream &)
InternalizeL(RReadStream &)
LastNode()
Get the last node of the document.
MarshallL()
IMPORT_C
HBufC8
*
|
MarshallL
|
(
|
)
|
|
Returns document's data as a streamed buffer.
NewL(RReadStream &)
Two-phased stream constructor.
NewL(const HBufC8 *)
Parameters
const
HBufC8
* aBufStream
|
Source buffer stream.
|
RootNode()
Get the root node of the document.
SetRootNode(ChspsDomNode *)
Set the root of the document tree. Root node provides primary access to document data. This class owns root node.
Parameters
ChspsDomNode
* aRootNode
|
Documents's root node. Document takes ownership.
|
Size()
IMPORT_C
TInt
|
Size
|
(
|
)
|
const
|
Get the size of the document's data.
StringPool()
Get reference to string pool.
Member Data Documentation
ChspsDomStringPool * iDomStringPool
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.