CNSmlXmlParser Class Reference
class CNSmlXmlParser : public CBase
|
Public Member Functions
|
|
CNSmlXmlParser
()
|
|
~CNSmlXmlParser
()
|
void
|
AppendElement
(
TPtr8
&, const
TDesC8
&, const
TDesC8
&)
|
void
|
AppendElement
(
TPtr8
&, const
TDesC8
&)
|
void
|
AppendEndElement
(
TPtr8
&, const
TDesC8
&)
|
TPtrC8
|
BooleanToString
(const
TNSmlBoolean
)
|
TInt
|
CharactersToEntitiesL
(
HBufC8
*&,
TInt
,
TInt
)
|
TNSmlParserGeneratorError
|
CheckError
(const
TInt
)
|
TInt
|
CountXmlSizeL
()
|
TBuf8
<
KDateTimeLength
>
|
DateTimeToStringL
(const
TTime
&)
|
TInt
|
EntitiesToCharactersL
(
HBufC8
*&,
TInt
,
TInt
)
|
TNSmlParserGeneratorError
|
GenerateXml
(
HBufC8
*&)
|
TBuf8
<
KIntegerMaxLength
>
|
IntegerToString
(const
TInt
)
|
TBool
|
IsWhitespace
(const
TDesC8
&)
|
void
|
LeaveIfNotWhiteSpaceL
(const
TDesC8
&)
|
TNSmlParserGeneratorError
|
ParseXml
(
HBufC8
*)
|
void
|
PreProcessL
(
HBufC8
*)
|
TInt
|
SizeOfBoolean
(const
TNSmlBoolean
, const
TDesC8
&)
|
TInt
|
SizeOfDatetime
(const
TDesC8
&)
|
TInt
|
SizeOfElements
(const
TDesC8
&)
|
TInt
|
SizeOfInteger
(const
TDesC8
&)
|
TInt
|
SizeOfString
(const
HBufC8
*, const
TDesC8
&)
|
TNSmlBoolean
|
StringToBooleanL
(const
TPtrC8
&)
|
TInt
|
StringToIntegerL
(const
TPtrC8
&)
|
TTime
|
StringToTTimeL
(
TPtrC8
&)
|
Constructor & Destructor Documentation
CNSmlXmlParser()
IMPORT_C
|
CNSmlXmlParser
|
(
|
)
|
|
~CNSmlXmlParser()
IMPORT_C
|
~CNSmlXmlParser
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddToBufferL(const TText, HBufC8 *&)
void
|
AddToBufferL
|
(
|
const
TText
|
c,
|
|
HBufC8
*&
|
aBuf
|
|
)
|
const [protected]
|
AddToCompleteL(const TPtrC8)
void
|
AddToCompleteL
|
(
|
const
TPtrC8
|
aStr
|
)
|
[protected]
|
AppendElement(TPtr8 &, const TDesC8 &, const TDesC8 &)
void
|
AppendElement
|
(
|
TPtr8
&
|
aPtr,
|
|
const
TDesC8
&
|
aElementName,
|
|
const
TDesC8
&
|
aValue
|
|
)
|
const
|
AppendElement(TPtr8 &, const TDesC8 &)
void
|
AppendElement
|
(
|
TPtr8
&
|
aPtr,
|
|
const
TDesC8
&
|
aElementName
|
|
)
|
const
|
AppendEndElement(TPtr8 &, const TDesC8 &)
void
|
AppendEndElement
|
(
|
TPtr8
&
|
aPtr,
|
|
const
TDesC8
&
|
aElementName
|
|
)
|
const
|
BooleanToString(const TNSmlBoolean)
TPtrC8
|
BooleanToString
|
(
|
const
TNSmlBoolean
|
aValue
|
)
|
const
|
Parameters
const
TNSmlBoolean
aValue
|
|
CharactersToEntitiesL(HBufC8 *&, TInt, TInt)
CheckDatetimeErrorL(const TInt)
void
|
CheckDatetimeErrorL
|
(
|
const
TInt
|
error
|
)
|
const [private]
|
CheckError(const TInt)
TNSmlParserGeneratorError
|
CheckError
|
(
|
const
TInt
|
error
|
)
|
const
|
CountXmlSizeL()
TInt
|
CountXmlSizeL
|
(
|
)
|
[pure virtual]
|
DateTimeToStringL(const TTime &)
EntitiesToCharactersL(HBufC8 *&, TInt, TInt)
GenerateXml(HBufC8 *&)
TNSmlParserGeneratorError
|
GenerateXml
|
(
|
HBufC8
*&
|
aXml
|
)
|
[pure virtual]
|
IntegerToString(const TInt)
IsWhitespace(const TDesC8 &)
LeaveIfNotWhiteSpaceL(const TDesC8 &)
void
|
LeaveIfNotWhiteSpaceL
|
(
|
const
TDesC8
&
|
aText
|
)
|
const
|
NextDataL(TPtrC8)
void
|
NextDataL
|
(
|
TPtrC8
|
aData
|
)
|
[protected, pure virtual]
|
NextElementL(TPtrC8)
void
|
NextElementL
|
(
|
TPtrC8
|
aElement
|
)
|
[protected, pure virtual]
|
ParseL(TPtrC8 &)
void
|
ParseL
|
(
|
TPtrC8
&
|
aXml
|
)
|
[protected]
|
ParseXml(HBufC8 *)
TNSmlParserGeneratorError
|
ParseXml
|
(
|
HBufC8
*
|
aXml
|
)
|
[pure virtual]
|
PreProcessL(HBufC8 *)
void
|
PreProcessL
|
(
|
HBufC8
*
|
aXml
|
)
|
const
|
ReplaceL(HBufC8 *&, const TDesC8 &, const TDesC8 &, TInt, TInt)
ResetBufferL(HBufC8 *&)
void
|
ResetBufferL
|
(
|
HBufC8
*&
|
aBuf
|
)
|
const [protected]
|
SizeOfBoolean(const TNSmlBoolean, const TDesC8 &)
TInt
|
SizeOfBoolean
|
(
|
const
TNSmlBoolean
|
aValue,
|
|
const
TDesC8
&
|
aElementName
|
|
)
|
const
|
Parameters
const
TNSmlBoolean
aValue
|
|
const
TDesC8
& aElementName
|
|
SizeOfDatetime(const TDesC8 &)
TInt
|
SizeOfDatetime
|
(
|
const
TDesC8
&
|
aElementName
|
)
|
const
|
SizeOfElements(const TDesC8 &)
TInt
|
SizeOfElements
|
(
|
const
TDesC8
&
|
aElementName
|
)
|
const
|
SizeOfInteger(const TDesC8 &)
TInt
|
SizeOfInteger
|
(
|
const
TDesC8
&
|
aElementName
|
)
|
const
|
SizeOfString(const HBufC8 *, const TDesC8 &)
StringToBooleanL(const TPtrC8 &)
TNSmlBoolean
|
StringToBooleanL
|
(
|
const
TPtrC8
&
|
aValue
|
)
|
const
|
StringToIntegerL(const TPtrC8 &)
TInt
|
StringToIntegerL
|
(
|
const
TPtrC8
&
|
aValue
|
)
|
const
|
Member Data Documentation
HBufC8 * iCompleteBuffer
HBufC8
*
|
iCompleteBuffer
|
[protected]
|
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.