CDTDModel Class Reference
class CDTDModel : public CBNFParser
|
Creates a tree that represents a specified DTD.
To use it:
1. call the base class function
ProcessDataL()
with the filename of the DTD, and call
CommitL()
2. call
GeneratedTree()
to get the tree
Nested Classes and Structures
Protected Member Functions
|
|
CDTDModel
(
CAttributeLookupTable
&)
|
void
|
AddNewAttributeL
(
CBNFNode
&, const
TDesC
*, const
TDesC
&,
CDTDElementAttribute::KValueType
,
CBNFNode
*)
|
void
|
AddNewAttributeWithValueL
(
CBNFNode
&, const
TDesC
*, const
TDesC
&, const
TDesC
&,
CBNFNode
*)
|
void
|
AddNewReferenceAttributeL
(
CBNFNode
&, const
TDesC
&,
CBNFNode
*)
|
void
|
CharRefReplacement
(
TPtr
&)
|
void
|
DoClear
()
|
IMPORT_C void
|
EndConditional
(
TParserNodeTypes
,
TBool
)
|
void
|
PostAndL
(
CBNFParser
&)
|
void
|
PostAttValueL
(
CBNFParser
&)
|
void
|
PostAttfieldNameL
(
CBNFParser
&)
|
void
|
PostAttlistDeclNameL
(
CBNFParser
&)
|
void
|
PostAttlistLineL
(
CBNFParser
&)
|
void
|
PostAttlistReferenceL
(
CBNFParser
&)
|
void
|
PostElementDeclL
(
CBNFParser
&)
|
void
|
PostElementDeclNameL
(
CBNFParser
&)
|
void
|
PostEntityDeclL
(
CBNFParser
&)
|
void
|
PostEntityDeclNameL
(
CBNFParser
&)
|
void
|
PostFixedL
(
CBNFParser
&)
|
void
|
PostGEContentL
(
CBNFParser
&)
|
void
|
PostGEDeclL
(
CBNFParser
&)
|
void
|
PostGroupL
(
CBNFParser
&)
|
void
|
PostIdentifierL
(
CBNFParser
&)
|
void
|
PostImpliedL
(
CBNFParser
&)
|
void
|
PostMatch0PlusL
(
CBNFParser
&)
|
void
|
PostMatch1PlusL
(
CBNFParser
&)
|
void
|
PostOptionalL
(
CBNFParser
&)
|
void
|
PostOrL
(
CBNFParser
&)
|
void
|
PostPEDeclL
(
CBNFParser
&)
|
void
|
PostReferenceNameL
(
CBNFParser
&)
|
void
|
PostRequiredL
(
CBNFParser
&)
|
void
|
PostRuleL
(
CBNFParser
&,
TParserNodeTypes
, const
TDesC
*)
|
void
|
PostRulesL
(
CBNFParser
&)
|
void
|
PostStringL
(
CBNFParser
&)
|
void
|
PostValidCharL
(
CBNFParser
&,
TRadix
)
|
void
|
PostValidDecCharL
(
CBNFParser
&)
|
void
|
PostValidHexCharL
(
CBNFParser
&)
|
void
|
PreAttValueL
(
CBNFParser
&)
|
void
|
PreAttlistLineL
(
CBNFParser
&)
|
void
|
PreElementDeclL
(
CBNFParser
&)
|
void
|
PreEntityDeclL
(
CBNFParser
&)
|
void
|
PreGEContentL
(
CBNFParser
&)
|
void
|
PreGroupL
(
CBNFParser
&)
|
void
|
PrePEDeclL
(
CBNFParser
&)
|
void
|
PreRulesL
(
CBNFParser
&)
|
IMPORT_C void
|
StartConditional
(
TParserNodeTypes
)
|
IMPORT_C
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::CommitL()
|
|
CBNFParser::CurrentRule()
|
|
CBNFParser::DeleteMark()
|
|
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::PerformRuleL(CBNFNode &,CFragmentedString::TStringMatch &)
|
|
CBNFParser::ProcessDataL(HBufC8 &)
|
|
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::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()
|
Constructor & Destructor Documentation
CDTDModel(CAttributeLookupTable &)
~CDTDModel()
IMPORT_C
|
~CDTDModel
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddNewAttributeL(CBNFNode &, const TDesC *, const TDesC &, CDTDElementAttribute::KValueType, CBNFNode *)
AddNewAttributeWithValueL(CBNFNode &, const TDesC *, const TDesC &, const TDesC &, CBNFNode *)
void
|
AddNewAttributeWithValueL
|
(
|
CBNFNode
&
|
aNode,
|
|
const
TDesC
*
|
aAttributeId,
|
|
const
TDesC
&
|
aAttributeType,
|
|
const
TDesC
&
|
aAttributeDefaultValue,
|
|
CBNFNode
*
|
aRootNode
|
|
)
|
[protected]
|
AddNewReferenceAttributeL(CBNFNode &, const TDesC &, CBNFNode *)
void
|
AddNewReferenceAttributeL
|
(
|
CBNFNode
&
|
aNode,
|
|
const
TDesC
&
|
aAttributeType,
|
|
CBNFNode
*
|
aRootNode
|
|
)
|
[protected]
|
BuildWml11DTDL(CBNFNode &)
IMPORT_C void
|
BuildWml11DTDL
|
(
|
CBNFNode
&
|
aPackageRootNode
|
)
|
|
Builds a parser tree for the WML1.1 DTD.
Parameters
CBNFNode
& aPackageRootNode
|
A root node to which the generated tree is attached
|
CharRefReplacement(TPtr &)
void
|
CharRefReplacement
|
(
|
TPtr
&
|
aString
|
)
|
[protected]
|
DoClear()
void
|
DoClear
|
(
|
)
|
[protected]
|
EndConditional(TParserNodeTypes, TBool)
GeneratedTree()
Gets the root node of the tree generated to process the DTD.
It transfers ownership of the tree to the caller.
NewL(CAttributeLookupTable &)
Allocates and constructs a new DTD parser.
PostAndL(CBNFParser &)
void
|
PostAndL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostAttValueL(CBNFParser &)
void
|
PostAttValueL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostAttfieldNameL(CBNFParser &)
void
|
PostAttfieldNameL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostAttlistDeclNameL(CBNFParser &)
void
|
PostAttlistDeclNameL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostAttlistLineL(CBNFParser &)
void
|
PostAttlistLineL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostAttlistReferenceL(CBNFParser &)
void
|
PostAttlistReferenceL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostElementDeclL(CBNFParser &)
void
|
PostElementDeclL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostElementDeclNameL(CBNFParser &)
void
|
PostElementDeclNameL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostEntityDeclL(CBNFParser &)
void
|
PostEntityDeclL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostEntityDeclNameL(CBNFParser &)
void
|
PostEntityDeclNameL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostFixedL(CBNFParser &)
void
|
PostFixedL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostGEContentL(CBNFParser &)
void
|
PostGEContentL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostGEDeclL(CBNFParser &)
void
|
PostGEDeclL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostGroupL(CBNFParser &)
void
|
PostGroupL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostIdentifierL(CBNFParser &)
void
|
PostIdentifierL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostImpliedL(CBNFParser &)
void
|
PostImpliedL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostMatch0PlusL(CBNFParser &)
void
|
PostMatch0PlusL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostMatch1PlusL(CBNFParser &)
void
|
PostMatch1PlusL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostOptionalL(CBNFParser &)
void
|
PostOptionalL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostOrL(CBNFParser &)
void
|
PostOrL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostPEDeclL(CBNFParser &)
void
|
PostPEDeclL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostReferenceNameL(CBNFParser &)
void
|
PostReferenceNameL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostRequiredL(CBNFParser &)
void
|
PostRequiredL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostRuleL(CBNFParser &, TParserNodeTypes, const TDesC *)
PostRulesL(CBNFParser &)
void
|
PostRulesL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostStringL(CBNFParser &)
void
|
PostStringL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostValidCharL(CBNFParser &, TRadix)
PostValidDecCharL(CBNFParser &)
void
|
PostValidDecCharL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PostValidHexCharL(CBNFParser &)
void
|
PostValidHexCharL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PreAttValueL(CBNFParser &)
void
|
PreAttValueL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PreAttlistLineL(CBNFParser &)
void
|
PreAttlistLineL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PreElementDeclL(CBNFParser &)
void
|
PreElementDeclL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PreEntityDeclL(CBNFParser &)
void
|
PreEntityDeclL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PreGEContentL(CBNFParser &)
void
|
PreGEContentL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PreGroupL(CBNFParser &)
void
|
PreGroupL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PrePEDeclL(CBNFParser &)
void
|
PrePEDeclL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
PreRulesL(CBNFParser &)
void
|
PreRulesL
|
(
|
CBNFParser
&
|
aParser
|
)
|
[protected, static]
|
ResetL()
IMPORT_C void
|
ResetL
|
(
|
)
|
[virtual]
|
Reset the parser to a state where it can accept and parse new input. Any existing state of parsing and input data is destroyed.
StartConditional(TParserNodeTypes)
IMPORT_C void
|
StartConditional
|
(
|
TParserNodeTypes
|
aRuleType
|
)
|
[protected, virtual]
|
TreeL()
IMPORT_C
CBNFNode
*
|
TreeL
|
(
|
)
|
[protected, virtual]
|
Member Enumerations Documentation
Enum TRuleMarks
Enumerators
ERuleStartMark = 1
|
|
EConditionalMark
|
|
EGroupMark
|
|
Member Type Definitions Documentation
Typedef COwnerRuleMarkedStack
Member Data Documentation
TBool
iCharRefCheck
TBool
|
iCharRefCheck
|
[protected]
|
HBufC * iGEContent
HBufC
*
|
iGEContent
|
[protected]
|
TBool
iInPEDecl
TBool
|
iInPEDecl
|
[protected]
|
HBufC * iNewAttfieldName
HBufC
*
|
iNewAttfieldName
|
[protected]
|
CDTDElementAttribute * iNewElementAttribute
COwnerRuleMarkedStack
iNewRuleStack
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.