CXmlParser Class Reference

class CXmlParser : public CBNFParser

Inherits from

Public Member Functions
~CXmlParser()
voidCommitL()
voidContinueL()
const CBNFNode *DTD()
const HBufC *DTDUrl()
TBool DataGathering()
const HBufC *DocType()
TInt ErrorCode()
CXmlParser *NewL(CAttributeLookupTable &)
voidProcessDataL(HBufC8 &)
voidProcessDataL(HBufC16 *)
voidResetL(CXmlElement *)
voidSetDTD(CBNFNode *)
voidSetDataGathering(TBool)
Protected Member Functions
CXmlParser(CAttributeLookupTable &)
TBool CharL(CFragmentedString::TStringMatch &)
voidCharRefReplacement(TPtr &)
voidConstructL()
voidEolNormalization(TPtr)
TBool FirstNameCharL(CFragmentedString::TStringMatch &)
TBool LetterL(CFragmentedString::TStringMatch &)
TBool NMoreNameCharL(CFragmentedString::TStringMatch &)
CBNFNode &NewXmlRuleL(CBNFNode *, const TDesC &, TXmlParserNodeTypes)
CBNFNode &NewXmlRuleL(CBNFNode *, const TDesC &, TXmlParserNodeTypes, HBufC *, TRuleCallback *, TRuleCallback *)
TBool PerformRuleL(CBNFNode &, CFragmentedString::TStringMatch &)
voidPostAttrName(CBNFParser &)
voidPostAttributeL(CBNFParser &)
voidPostCDSectL(CBNFParser &)
voidPostCDStart(CBNFParser &)
voidPostCDataL(CBNFParser &)
voidPostCharDataL(CBNFParser &)
voidPostCharReferenceValue(CBNFParser &)
voidPostDTDidAndUrl(CBNFParser &)
voidPostDocRootName(CBNFParser &)
voidPostDoctypedecl(CBNFParser &)
voidPostETag(CBNFParser &)
voidPostEmptyElemClose(CBNFParser &)
voidPostEntityRefL(CBNFParser &)
voidPostNameL(CBNFParser &)
voidPostNodeNameL(CBNFParser &)
voidPostProlog(CBNFParser &)
voidPostPubidLiteralL(CBNFParser &)
voidPostPureAttValueL(CBNFParser &)
voidPostPureSystemLiteralL(CBNFParser &)
voidPostTagStartL(CBNFParser &)
voidPostVersionNumL(CBNFParser &)
voidPreAttribute(CBNFParser &)
voidPreExternalID(CBNFParser &)
voidResetL()
TBool SL(CFragmentedString::TStringMatch &)
CBNFNode *TreeL()
Inherited Functions
CBNFParser::AddComponentAttributeL(CBNFNode &,CBNFNodeAttributeType,TInt)
CBNFParser::AddRuleCallbackL(CBNFNode &,const TDesC *,TRuleCallback *)
CBNFParser::AndL(CBNFNode &,CFragmentedString::TStringMatch &)
CBNFParser::AttributeLUT()const
CBNFParser::CBNFParser(CAttributeLookupTable &)
CBNFParser::CurrentRule()
CBNFParser::DeleteMark()
CBNFParser::EndConditional(TParserNodeTypes,TBool)
CBNFParser::ExactL(CBNFNode &,CFragmentedString::TStringMatch &)
CBNFParser::ExecutePostRuleCallbackL(CBNFNode &)
CBNFParser::ExecutePreRuleCallbackL(CBNFNode &)
CBNFParser::MDataProviderObserverReserved1()
CBNFParser::MDataProviderObserverReserved2()
CBNFParser::Mark()
CBNFParser::MarkCallback(CBNFParser &)
CBNFParser::MarkedL()
CBNFParser::MarkedWithInitialTextL(const TDesC &)
CBNFParser::NMoreL(CBNFNode &,CFragmentedString::TStringMatch &)
CBNFParser::NewBNFL()
CBNFParser::NewComponentL(CBNFNode &,TParserNodeTypes,HBufC *,TRuleCallback *,TRuleCallback *)
CBNFParser::NewComponentL(CBNFNode &,TParserNodeTypes,const TDesC &)
CBNFParser::NewComponentL(CBNFNode *,CBNFNode &,const TDesC &)
CBNFParser::NewComponentL(CBNFNode *,const TDesC &)
CBNFParser::NewComponentL(TParserNodeTypes,HBufC *,TRuleCallback *,TRuleCallback *)
CBNFParser::NewComponentL(TParserNodeTypes,const TDesC &)
CBNFParser::NewRuleL(CBNFNode *,const TDesC &,TParserNodeTypes,HBufC *,TRuleCallback *,TRuleCallback *)
CBNFParser::NewRuleL(CBNFNode *,const TDesC &,TParserNodeTypes,const TDesC &,TRuleCallback *,TRuleCallback *)
CBNFParser::OptionalL(CBNFNode &,CFragmentedString::TStringMatch &)
CBNFParser::OptionalMatched()const
CBNFParser::OrL(CBNFNode &,CFragmentedString::TStringMatch &)
CBNFParser::ParseL()
CBNFParser::RangeL(CBNFNode &,CFragmentedString::TStringMatch &)
CBNFParser::ReferenceL(CBNFNode &,CFragmentedString::TStringMatch &)
CBNFParser::RuleMatched()const
CBNFParser::SelectL(CBNFNode &,CFragmentedString::TStringMatch &)
CBNFParser::SetAttributeLookupTable(CAttributeLookupTable &)
CBNFParser::SetBaseUriL(const TDesC *)
CBNFParser::SetDataExpected(TInt)
CBNFParser::SetDocumentTypeL(const TDesC &)
CBNFParser::SetDocumentTypeL(const TDesC &,const TDesC &)
CBNFParser::SetState(TParseState)
CBNFParser::SetStatus(TInt)
CBNFParser::StartConditional(TParserNodeTypes)
CBNFParser::State()const
CBNFParser::StringL()const
CBNFParser::Valid()const
CBNFParser::WithoutL(CBNFNode &,CFragmentedString::TStringMatch &)
CBNFParser::~CBNFParser()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTSignals { EDTDDefinitionFound = 1, ENoDTDDefined }
enumTXmlParserNodeTypes {
EFirstXmlParserNodeType = ELastParserNodeType, EChar, ELetter, ES, EFirstNameChar, ENMoreNameChar, ELastXmlParserNodeType
}
Private Attributes
HBufC *iAttValue
HBufC *iAttrName
HBufC *iCData
CXmlElement *iCurrentNode
CBNFNode *iDTD
HBufC *iDTDUrl
TBool iDataGathering
HBufC *iDocRootName
HBufC *iDocType
TInt iErrorCode
HBufC *iName
HBufC *iPubidLiteral
CXmlElement *iRootNode
TBool iRootTagFound
HBufC *iSystemLiteral
HBufC *iXmlVersionString
Inherited Attributes
CBNFParser::iCurrentRule
CBNFParser::iLUT
CBNFParser::iMatched
CBNFParser::iMoreCount
CBNFParser::iMoreMaximum
CBNFParser::iMoreMinimum
CBNFParser::iOptionalMatched
CBNFParser::iParsing
CBNFParser::iPostRuleCallback
CBNFParser::iPreRuleCallback
CBNFParser::iRangeEnd
CBNFParser::iRangeStart
CBNFParser::iReferenceString
CBNFParser::iRuleStack
CBNFParser::iString
CBNFParser::iStringComplete
CBNFParser::iSubRule
CBNFParser::iSubRuleMatched
CBNFParser::iTree

Constructor & Destructor Documentation

CXmlParser(CAttributeLookupTable &)

CXmlParser(CAttributeLookupTable &aALUT)[protected]

Parameters

CAttributeLookupTable & aALUT

~CXmlParser()

~CXmlParser()[virtual]

Member Functions Documentation

CharL(CFragmentedString::TStringMatch &)

TBool CharL(CFragmentedString::TStringMatch &aMatched)[protected]

Parameters

CFragmentedString::TStringMatch & aMatched

CharRefReplacement(TPtr &)

voidCharRefReplacement(TPtr &aString)[protected]

Parameters

TPtr & aString

CommitL()

voidCommitL()

ConstructL()

voidConstructL()[protected]

ContinueL()

voidContinueL()

DTD()

const CBNFNode *DTD()const [inline]

DTDUrl()

const HBufC *DTDUrl()[inline]

DataGathering()

TBool DataGathering()const [inline]

DocType()

const HBufC *DocType()[inline]

EolNormalization(TPtr)

voidEolNormalization(TPtraString)[protected]

Parameters

TPtr aString

ErrorCode()

TInt ErrorCode()[inline]

FirstNameCharL(CFragmentedString::TStringMatch &)

TBool FirstNameCharL(CFragmentedString::TStringMatch &aMatched)[protected]

Parameters

CFragmentedString::TStringMatch & aMatched

LetterL(CFragmentedString::TStringMatch &)

TBool LetterL(CFragmentedString::TStringMatch &aMatched)[protected]

Parameters

CFragmentedString::TStringMatch & aMatched

NMoreNameCharL(CFragmentedString::TStringMatch &)

TBool NMoreNameCharL(CFragmentedString::TStringMatch &aMatched)[protected]

Parameters

CFragmentedString::TStringMatch & aMatched

NewL(CAttributeLookupTable &)

CXmlParser *NewL(CAttributeLookupTable &aAttributeLUT)[static]

Parameters

CAttributeLookupTable & aAttributeLUT

NewXmlRuleL(CBNFNode *, const TDesC &, TXmlParserNodeTypes)

CBNFNode &NewXmlRuleL(CBNFNode *aRootRule,
const TDesC &aRuleName,
TXmlParserNodeTypesaRuleType
)[protected]

Parameters

CBNFNode * aRootRule
const TDesC & aRuleName
TXmlParserNodeTypes aRuleType

NewXmlRuleL(CBNFNode *, const TDesC &, TXmlParserNodeTypes, HBufC *, TRuleCallback *, TRuleCallback *)

CBNFNode &NewXmlRuleL(CBNFNode *aRootRule,
const TDesC &aRuleName,
TXmlParserNodeTypesaRuleType,
HBufC *aData,
TRuleCallback *aPreRule,
TRuleCallback *aPostRule
)[protected]

Parameters

CBNFNode * aRootRule
const TDesC & aRuleName
TXmlParserNodeTypes aRuleType
HBufC * aData
TRuleCallback * aPreRule
TRuleCallback * aPostRule

PerformRuleL(CBNFNode &, CFragmentedString::TStringMatch &)

TBool PerformRuleL(CBNFNode &aRule,
CFragmentedString::TStringMatch &aMatched
)[protected, virtual]

Parameters

CBNFNode & aRule
CFragmentedString::TStringMatch & aMatched

PostAttrName(CBNFParser &)

voidPostAttrName(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostAttributeL(CBNFParser &)

voidPostAttributeL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostCDSectL(CBNFParser &)

voidPostCDSectL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostCDStart(CBNFParser &)

voidPostCDStart(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostCDataL(CBNFParser &)

voidPostCDataL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostCharDataL(CBNFParser &)

voidPostCharDataL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostCharReferenceValue(CBNFParser &)

voidPostCharReferenceValue(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostDTDidAndUrl(CBNFParser &)

voidPostDTDidAndUrl(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostDocRootName(CBNFParser &)

voidPostDocRootName(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostDoctypedecl(CBNFParser &)

voidPostDoctypedecl(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostETag(CBNFParser &)

voidPostETag(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostEmptyElemClose(CBNFParser &)

voidPostEmptyElemClose(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostEntityRefL(CBNFParser &)

voidPostEntityRefL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostNameL(CBNFParser &)

voidPostNameL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostNodeNameL(CBNFParser &)

voidPostNodeNameL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostProlog(CBNFParser &)

voidPostProlog(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostPubidLiteralL(CBNFParser &)

voidPostPubidLiteralL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostPureAttValueL(CBNFParser &)

voidPostPureAttValueL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostPureSystemLiteralL(CBNFParser &)

voidPostPureSystemLiteralL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostTagStartL(CBNFParser &)

voidPostTagStartL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PostVersionNumL(CBNFParser &)

voidPostVersionNumL(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PreAttribute(CBNFParser &)

voidPreAttribute(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

PreExternalID(CBNFParser &)

voidPreExternalID(CBNFParser &aParser)[protected, static]

Parameters

CBNFParser & aParser

ProcessDataL(HBufC8 &)

voidProcessDataL(HBufC8 &aData)[virtual]

Parameters

HBufC8 & aData

ProcessDataL(HBufC16 *)

voidProcessDataL(HBufC16 *aData)

Parameters

HBufC16 * aData

ResetL(CXmlElement *)

voidResetL(CXmlElement *aRootNode)

Parameters

CXmlElement * aRootNode

ResetL()

voidResetL()[protected, virtual]

SL(CFragmentedString::TStringMatch &)

TBool SL(CFragmentedString::TStringMatch &aMatched)[protected]

Parameters

CFragmentedString::TStringMatch & aMatched

SetDTD(CBNFNode *)

voidSetDTD(CBNFNode *aDTD)[inline]

Parameters

CBNFNode * aDTD

SetDataGathering(TBool)

voidSetDataGathering(TBoolaDataGathering)[inline]

Parameters

TBool aDataGathering

TreeL()

CBNFNode *TreeL()[protected, virtual]

Member Enumerations Documentation

Enum TSignals

Enumerators

EDTDDefinitionFound = 1
ENoDTDDefined

Enum TXmlParserNodeTypes

Enumerators

EFirstXmlParserNodeType = ELastParserNodeType
EChar
ELetter
ES
EFirstNameChar
ENMoreNameChar
ELastXmlParserNodeType

Member Data Documentation

HBufC * iAttValue

HBufC *iAttValue[private]

HBufC * iAttrName

HBufC *iAttrName[private]

HBufC * iCData

HBufC *iCData[private]

CXmlElement * iCurrentNode

CXmlElement *iCurrentNode[private]

CBNFNode * iDTD

CBNFNode *iDTD[private]

HBufC * iDTDUrl

HBufC *iDTDUrl[private]

TBool iDataGathering

TBool iDataGathering[private]

HBufC * iDocRootName

HBufC *iDocRootName[private]

HBufC * iDocType

HBufC *iDocType[private]

TInt iErrorCode

TInt iErrorCode[private]

HBufC * iName

HBufC *iName[private]

HBufC * iPubidLiteral

HBufC *iPubidLiteral[private]

CXmlElement * iRootNode

CXmlElement *iRootNode[private]

TBool iRootTagFound

TBool iRootTagFound[private]

HBufC * iSystemLiteral

HBufC *iSystemLiteral[private]

HBufC * iXmlVersionString

HBufC *iXmlVersionString[private]