SenXmlConstants.h File Reference

#include <mw/SenXmlConstants.h>

KErrSenInvalidCharacters

const TIntKErrSenInvalidCharacters

KErrSenZeroLengthDescriptor

const TIntKErrSenZeroLengthDescriptor

KErrSenXmlReaderNotSet

const TIntKErrSenXmlReaderNotSet

KErrSenXmlContentHandlerNotSet

const TIntKErrSenXmlContentHandlerNotSet

KSenXmlPanic

const TLitC< sizeof(L"SenXml")/2 >KSenXmlPanic[static]

KSenMaxXmlEscapedLength

const TIntKSenMaxXmlEscapedLength

KSenSlash

const TLitC8< sizeof("/")>KSenSlash[static]

KSenColon

const TLitC8< sizeof(":")>KSenColon[static]

TLitC8< sizeof("<")>KSenLessThan={sizeof("<")-1,"<"};const static TLitC8< sizeof(">")>KSenGreaterThan={sizeof(">")-1,">

constTLitC8< sizeof("<")>KSenLessThan={sizeof("<")-1,"<"};const static TLitC8< sizeof(">")>KSenGreaterThan={sizeof(">")-1,">[static]

KSenSpace

const TLitC8< sizeof(" ")>KSenSpace[static]

KSenQuot

const TLitC8< sizeof("'")>KSenQuot[static]

KSenDblQuot

const TLitC8< sizeof("\"")>KSenDblQuot[static]

KSenEquals

const TLitC8< sizeof("=")>KSenEquals[static]

KSenEqualsDblQuot

const TLitC8< sizeof("=\"")>KSenEqualsDblQuot[static]

KSenSlashGreaterThan

const TLitC8< sizeof("/>KSenSlashGreaterThan[static]

BaseConstructL

const TLitC8< sizeof("</")> KSenLessThanSlash={sizeof("</")-1,"</"};const static TLitC8< sizeof(" xmlns")> KSenSpaceXmlns={sizeof(" xmlns")-1," xmlns"};const static TLitC8< sizeof("xmlns")> KSenXmlns={sizeof("xmlns")-1,"xmlns"};const static TLitC8< sizeof("xmlns:")> KSenXmlNsAttNamePlusColon={sizeof("xmlns:")-1,"xmlns:"};const static TLitC8< sizeof("<!--")> KSenXmlCommentStart={sizeof("<!--")-1,"<!--"};const static TLitC8< sizeof("-->")> KSenXmlCommentEnd={sizeof("-->")-1,"-->"};const static TLitC8< sizeof("<?")> KSenXmlInstructionStart={sizeof("<?")-1,"<?"};const static TLitC8< sizeof("?>")> KSenXmlInstructionEnd={sizeof("?>")-1,"?>"};const static TLitC8< sizeof("<!")> KSenXmlEntityStart={sizeof("<!")-1,"<!"};const static TLitC8< sizeof("&amp;")> KSenEscapedAmp={sizeof("&amp;")-1,"&amp;"};const static TLitC8< sizeof("&apos;")> KSenEscapedApos={sizeof("&apos;")-1,"&apos;"};const static TLitC8< sizeof("&quot;")> KSenEscapedDblQuot={sizeof("&quot;")-1,"&quot;"};const static TLitC8< sizeof("&gt;")> KSenEscapedGt={sizeof("&gt;")-1,"&gt;"};const static TLitC8< sizeof("&lt;")> KSenEscapedLt={sizeof("&lt;")-1,"&lt;"};const static TLitC8< sizeof("&")> KSenAmpersandDesC8={sizeof("&")-1,"&"};const static TLitC8< sizeof("\'")> KSenAposDesC8={sizeof("\'")-1,"\'"};const static TLitC8< sizeof("\"")> KSenDblQuotDesC8={sizeof("\"")-1,"\""};const static TLitC8< sizeof(">")> KSenGtDesC8={sizeof(">")-1,">"};const static TLitC8< sizeof("<")> KSenLtDesC8={sizeof("<")-1,"<"};enum TSenXmlPanic{EBadNamespace=1, EBadNamespacePrefix, EBufNot16Bit, EFragmentElementNotInitialized, EDelegatedFragmentAlreadySet, EInconsistentTokens, EBadInternalState};#33"x:/sf/mw/websrv/webservices/wsfragment/src/senfragmentbase.cpp"2#1"x:/epoc32/include/xml/parserfeature.h"1#define PARSERFEATURE_Hnamespace Xml{enum TParserFeature{EConvertTagsToLowerCase=0x0001, EErrorOnUnrecognisedTags=0x0002, EReportUnrecognisedTags=0x0004, EReportNamespaces=0x0008, EReportNamespacePrefixes=0x0010, ESendFullContentInOneChunk=0x0020, EReportNamespaceMapping=0x0040, ERawContent=0x0080, EReplaceIntEntityFromExtSubsetByRef=0x0100, EXmlVersion_1_1=0x0200, ELastFeature=EXmlVersion_1_1,};}#36"x:/sf/mw/websrv/webservices/wsfragment/src/senfragmentbase.cpp"2#1"x:/epoc32/include/xmlengserializationoptions.h"1#37"x:/sf/mw/websrv/webservices/wsfragment/src/senfragmentbase.cpp"2#1"x:/epoc32/include/xmlengbinarycontainer.h"1#1"x:/epoc32/include/xml/dom/xmlengbinarycontainer.h"1#define XMLENGBINARYCONTAINER_H#1"x:/epoc32/include/xml/dom/xmlengdatacontainer.h"1#define XMLENGDATACONTAINER_Hclass TXmlEngDataContainer:public TXmlEngNode{public:IMPORT_C TPtrC8 Cid() const ;IMPORT_C TUint Size() const ;protected:inline TXmlEngDataContainer();inline TXmlEngDataContainer(void *aInternal);};#1"x:/epoc32/include/xml/dom/xmlengdatacontainer.inl"1inline TXmlEngDataContainer::TXmlEngDataContainer(){}inline TXmlEngDataContainer::TXmlEngDataContainer(void *aInternal):TXmlEngNode(aInternal){}#60"x:/epoc32/include/xml/dom/xmlengdatacontainer.h"2#27"x:/epoc32/include/xml/dom/xmlengbinarycontainer.h"2class TXmlEngBinaryContainer:public TXmlEngDataContainer{public:IMPORT_C TPtrC8 Contents() const ;IMPORT_C void SetContentsL(const TDesC8 &aNewContents);IMPORT_C void AppendContentsL(const TDesC8 &aData);inline TXmlEngBinaryContainer();protected:inline TXmlEngBinaryContainer(void *aInternal);};#1"x:/epoc32/include/xml/dom/xmlengbinarycontainer.inl"1inline TXmlEngBinaryContainer::TXmlEngBinaryContainer():TXmlEngDataContainer(NULL){}inline TXmlEngBinaryContainer::TXmlEngBinaryContainer(void *aInternal):TXmlEngDataContainer(aInternal){}#86"x:/epoc32/include/xml/dom/xmlengbinarycontainer.h"2#17"x:/epoc32/include/xmlengbinarycontainer.h"2#38"x:/sf/mw/websrv/webservices/wsfragment/src/senfragmentbase.cpp"2#1"x:/epoc32/include/xmlengnodelist.h"1#1"x:/epoc32/include/xml/dom/xmlengnodelist.h"1#define XMLENGNODELIST_H#1"x:/epoc32/include/xml/dom/xmlengnodelist_impl.h"1#define XMLENGNODELIST_IMPL_Hclass RXmlEngNodeListImpl{public:IMPORT_C RXmlEngNodeListImpl();IMPORT_C void Close();IMPORT_C TInt Count() const ;IMPORT_C TBool HasNext() const ;IMPORT_C TXmlEngNode Next();void OpenL(void *aHead, TXmlEngNode::TXmlEngDOMNodeType aType, const TDesC8 &aName=KNullDesC8, const TDesC8 &aNs=KNullDesC8);void Open(void *aHead, TXmlEngNode::TXmlEngDOMNodeType aType);private:void *FindNextNode(void *aCurrentNode) const ;void *iCurrentNode;TInt iType;unsigned char *iName;unsigned char *iNsUri;};TBool StrEqualOrNull(const void *aStr1, const void *aStr2);#28"x:/epoc32/include/xml/dom/xmlengnodelist.h"2template< class T > class RXmlEngNodeList{friend class TXmlEngNode;friend class TXmlEngElement;public:inline TInt Count() const ;inline TBool HasNext() const ;inline T Next();inline void Close();private:inline void OpenL(void *aHead, TXmlEngNode::TXmlEngDOMNodeType aType, const TDesC8 &aName=KNullDesC8, const TDesC8 &aNs=KNullDesC8);inline void Open(void *aHead, TXmlEngNode::TXmlEngDOMNodeType aType);private:RXmlEngNodeListImpl iList;};template<>class RXmlEngNodeList< TXmlEngNode >:public RXmlEngNodeListImpl{};#1"x:/epoc32/include/xml/dom/xmlengnodelist.inl"1template< class T > inline TInt RXmlEngNodeList< T >::Count() const {return iList.Count();}template< class T > inline TBool RXmlEngNodeList< T >::HasNext() const {return iList.HasNext();}template< class T > inline T RXmlEngNodeList< T >::Next(){TXmlEngNode t=iList.Next();return *(static_cast< T * > &t));}template< class T > inline void RXmlEngNodeList< T >::Close(){iList.Close();}template< class T > inline void RXmlEngNodeList< T >::OpenL(void *aHead, TXmlEngNode::TXmlEngDOMNodeType aType, const TDesC8 &aName, const TDesC8 &aNs){iList.OpenL(aHead, aType, aName, aNs);}template< class T > inline void RXmlEngNodeList< T >::Open(void *aHead, TXmlEngNode::TXmlEngDOMNodeType aType){iList.Open(aHead, aType);}#111"x:/epoc32/include/xml/dom/xmlengnodelist.h"2#17"x:/epoc32/include/xmlengnodelist.h"2#39"x:/sf/mw/websrv/webservices/wsfragment/src/senfragmentbase.cpp"2typedef unsigned char xmlChar;using namespace Xml;namespace{const TInt KFlatBufSize=128;const static TLitC< sizeof(L"SenFragment")/2 > KSenFragmentPanic={sizeof(L"SenFragment")/2-1, L"SenFragment"};TBool EncodeXmlEscapesL(const TDesC8 &aOriginal, HBufC8 *&aEncoded){TBool retVal=EFalse;delete aEncoded;aEncoded=0;if(aOriginal==KNullDesC8){return retVal;}TPtrC8 tokensBaseConstructL[static]

pNew

returnpNew