CSenBaseFragment Class Reference

class CSenBaseFragment : public CSenFragment
Class implements basic functionality of an XML fragment Typically BaseFragment is used to parse certain part of some XML document. The element is identified by localname (or qualifiedname) and namespace. All child elements between start tag and and end tag defined this fragment will become content of this BaseFragment. In other words, BaseFragment has all data inside a single element. BaseFragment will parse only namespace (xmlns) attributes from a document and rest of the attributes are to be handled by subclasses, which should overwrite SetAttributesL() method to achieve this. The CSenXmlReader class will do the actual parsing and this class will act as content handler for XML parser SAX events. SenXML.dll
Since
Series60 3.0

Inherits from

Public Member Functions
~CSenBaseFragment()
IMPORT_C CSenElement &AsElement()
IMPORT_C HBufC8 *AsXmlL()
IMPORT_C HBufC *AsXmlUnicodeL()
IMPORT_C TIntBuildFrom(const TDesC8 &)
IMPORT_C TBoolConsistsOfL(MSenFragment &)
IMPORT_C TPtrC8Content()
IMPORT_C voidDelegateParsingL(MSenFragment &)
IMPORT_C voidDelegateParsingL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C voidDetachL()
IMPORT_C voidEnsureNamespace(const TDesC8 &)
IMPORT_C CSenElement *ExtractElement()
IMPORT_C const TDesC8 &LocalName()
IMPORT_C CSenNamespace *Namespace(const TDesC8 &)
IMPORT_C CSenBaseFragment *NewL(const CSenElement &)
IMPORT_C CSenBaseFragment *NewL(const TDesC8 &)
IMPORT_C CSenBaseFragment *NewL(const TDesC8 &, const TDesC8 &)
IMPORT_C CSenBaseFragment *NewL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C CSenBaseFragment *NewL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C CSenBaseFragment *NewL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, CSenElement &)
IMPORT_C const TDesC8 &NsPrefix()
IMPORT_C const TDesC8 &NsUri()
IMPORT_C voidParseL(const TDesC8 &)
IMPORT_C voidParseWithL(CSenXmlReader &)
IMPORT_C CSenXmlReader *Reader()
IMPORT_C voidResetContentL()
IMPORT_C voidResumeParsingFromL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C voidSaveNamespacesL(const RAttributeArray &, TBool)
IMPORT_C voidSetAttributesL(const RAttributeArray &)
IMPORT_C voidSetOwner(MSenFragment &)
IMPORT_C voidSetReader(CSenXmlReader &)
IMPORT_C voidWriteAsXMLToL(RWriteStream &)
IMPORT_C voidWriteEndElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C voidWriteStartElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
Protected Member Functions
CSenBaseFragment()
IMPORT_C voidAllocContentSaverL()
IMPORT_C voidBaseConstructL(const CSenElement &)
IMPORT_C voidBaseConstructL(const TDesC8 &)
IMPORT_C voidBaseConstructL(const TDesC8 &, const TDesC8 &)
IMPORT_C voidBaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C voidBaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C voidBaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, CSenElement &)
IMPORT_C voidBaseConstructL(CSenXmlReader &)
IMPORT_C voidCharactersL(const TDesC8 &, TInt, TInt)
IMPORT_C TPtrC8ContentOf(const TDesC8 &)
IMPORT_C voidEndElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C MSenElement &SetContentOfL(const TDesC8 &, const TDesC8 &)
IMPORT_C voidStartElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C TIntStartEntity(TDesC8 &)
Private Member Functions
IMPORT_C TIntCharacters(const TDesC8 &, const TInt, const TInt)
TPtrC8 ContentL()
IMPORT_C TIntEndDocument()
IMPORT_C TIntEndElement(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntError(TInt)
IMPORT_C TIntStartDocument()
IMPORT_C TIntStartElement(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
Inherited Functions
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()
Protected Attributes
TInt iState
RWriteStream iWs
CSenXmlReader *iXmlReader
CSenElement *ipElement
MSenFragment *ipOwner
Private Attributes
TBool hasContentWriteStream
TBool iElementOwned
RPointerArray< CSenNamespace >iNamespaces
RPointerArray< HBufC8 >iPrefixes
CBufFlat *ipContentWithNamespaces
CSenFragment *ipDelegate

Constructor & Destructor Documentation

CSenBaseFragment()

IMPORT_CCSenBaseFragment()[protected]

C++ default constructor.

~CSenBaseFragment()

IMPORT_C~CSenBaseFragment()[virtual]

Destructor.

Member Functions Documentation

AllocContentSaverL()

IMPORT_C voidAllocContentSaverL()[protected, virtual]
Makes the content internal stream for content saving available.
Since
Series60 3.0

AsElement()

IMPORT_C CSenElement &AsElement()[virtual]
Getting the fragment as an XML element. This method will panic if element has not been initialized for any reason.
Since
Series60 3.0

AsXmlL()

IMPORT_C HBufC8 *AsXmlL()[virtual]
Gets the fragment data as an UTF-8 form XML.
Since
Series60 3.0

AsXmlUnicodeL()

IMPORT_C HBufC *AsXmlUnicodeL()[virtual]
Gets the fragment data as an unicode XML.
Since
Series60 3.0

BaseConstructL(const CSenElement &)

IMPORT_C voidBaseConstructL(const CSenElement &aElement)[protected]
Following BaseConstructL methods should be called from ConstructL() methods of some deriving (fragment) class. BaseConstructL, where an element is given as initializer.
Since
Series60 3.0

Parameters

const CSenElement & aElementfrom which this fragment will be constructed from.

BaseConstructL(const TDesC8 &)

IMPORT_C voidBaseConstructL(const TDesC8 &aLocalName)[protected]
BaseConstructL setting XML localname for this fragment.
Since
Series60 3.0

Parameters

const TDesC8 & aLocalNameXML localname for this fragment

BaseConstructL(const TDesC8 &, const TDesC8 &)

IMPORT_C voidBaseConstructL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName
)[protected]
BaseConstructL offering possibility to set XML namespace and localname.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUriXML namespace URI for this fragment
const TDesC8 & aLocalNameXML localname for this fragment

BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C voidBaseConstructL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName
)[protected]
Base constructor
Since
Series60 3.0

Parameters

const TDesC8 & aNsUriXML namespace URI for this fragment
const TDesC8 & aLocalNameXML localname for this fragment
const TDesC8 & aQNameXML qualifiedname for this fragment

BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C voidBaseConstructL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName,
const RAttributeArray &aAttrs
)[protected]
Base constructor
Since
Series60 3.0

Parameters

const TDesC8 & aNsUriXML namespace URI for this fragment
const TDesC8 & aLocalNameXML localname for this fragment
const TDesC8 & aQNameXML qualifiedname for this fragment
const RAttributeArray & aAttrsXML attributes for this fragment

BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, CSenElement &)

IMPORT_C voidBaseConstructL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName,
const RAttributeArray &aAttrs,
CSenElement &aParent
)[protected]
Base constructor
Since
Series60 3.0

Parameters

const TDesC8 & aNsUriXML namespace URI for this fragment
const TDesC8 & aLocalNameXML localname for this fragment
const TDesC8 & aQNameXML qualifiedname for this fragment
const RAttributeArray & aAttrsXML attributes for this fragment
CSenElement & aParentparent to be set for this fragmemt

BaseConstructL(CSenXmlReader &)

IMPORT_C voidBaseConstructL(CSenXmlReader &aReader)[protected]
BaseConstructL() setting the XML reader for this fragment
Since
Series60 3.0

Parameters

CSenXmlReader & aReaderis the XML reader for this fragment

BuildFrom(const TDesC8 &)

IMPORT_C TIntBuildFrom(const TDesC8 &aXml)[virtual]
Same as ParseL() except that it doesn't leave in case of an error. Instead errors are trapped and error is returned. SetReader() must be called before this method can be used.
Since
Series60 3.0

Parameters

const TDesC8 & aXml

Characters(const TDesC8 &, const TInt, const TInt)

IMPORT_C TIntCharacters(const TDesC8 &aChars,
const TIntaStart,
const TIntaLength
)[private, virtual]

Parameters

const TDesC8 & aChars
const TInt aStart
const TInt aLength

CharactersL(const TDesC8 &, TInt, TInt)

IMPORT_C voidCharactersL(const TDesC8 &aChars,
TIntaStart,
TIntaLength
)[protected, virtual]
Function which implement the XML content handler interface. Inheriting classes can override these. This one is called when content is starting.
Since
Series60 3.0

Parameters

const TDesC8 & aCharsThe content characters.
TInt aStartThe starting index
TInt aLengthThe length of the characters.

ConsistsOfL(MSenFragment &)

IMPORT_C TBoolConsistsOfL(MSenFragment &aCandidate)[virtual]
Checks if fragment matches to another fragment by its content and child elements. Fragment can contain more data than the given candidate.
Since
Series60 3.0

Parameters

MSenFragment & aCandidateThe pattern to be matched. Must contain same or less data for match to come true.

Content()

IMPORT_C TPtrC8Content()[virtual]
Getter for the content,which is returned as UTF-8 form XML.
Since
Series60 3.0

ContentL()

TPtrC8 ContentL()[private]

Leaving variant which is then trapped in the non-leaving function.

ContentOf(const TDesC8 &)

IMPORT_C TPtrC8ContentOf(const TDesC8 &aLocalName)[protected]
Gets the content of a given element.
Since
Series60 3.0

Parameters

const TDesC8 & aLocalNameThe local name of the element which content is asked

DelegateParsingL(MSenFragment &)

IMPORT_C voidDelegateParsingL(MSenFragment &aDelegate)[virtual]
Leave codes: KErrSenXmlReaderNotSet if XML reader has not been set. Let the delegate MSenFragment handle the following SAX events. This fragment is made the owner of the delegate and the delegate is expected to make this MSenFragment the receiver of SAX events once it has seen the end element for itself.
Since
Series60 3.0

Parameters

MSenFragment & aDelegateis the fragment to start handling the SAX events.

DelegateParsingL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C voidDelegateParsingL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName,
const RAttributeArray &aAttrs
)[virtual]
Leave codes: KErrSenXmlReaderNotSet if XML reader has not been set. Creates a new fragment and lets the created MSenFragment handle the following SAX events. This fragment is made the owner of the delegate and the delegate is expected to make this MSenFragment act as receiver for SAX events (callbacks) once it has seen the end element for itself.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUriThe XML namespace URI for the delegate to be created
const TDesC8 & aLocalNameThe XML localname for the delegate to be created
const TDesC8 & aQNameThe XML qualifiedname for the delegate to be created
const RAttributeArray & aAttrs

DetachL()

IMPORT_C voidDetachL()[virtual]
Since
Series60 3.0

EndDocument()

IMPORT_C TIntEndDocument()[private, virtual]

EndElement(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntEndElement(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName
)[private, virtual]

Parameters

const TDesC8 & aNsUri
const TDesC8 & aLocalName
const TDesC8 & aQName

EndElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C voidEndElementL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName
)[protected, virtual]
Callback function which implement the XML content handler interface. Inheriting classes can override these.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUriThe namespace URI of the new element
const TDesC8 & aLocalNameThe local name of the new element
const TDesC8 & aQNameThe qualified name of the new element

EnsureNamespace(const TDesC8 &)

IMPORT_C voidEnsureNamespace(const TDesC8 &aPrefix)[virtual]
Since
Series60 3.0

Parameters

const TDesC8 & aPrefixis the XML namespace prefix

Error(TInt)

IMPORT_C TIntError(TIntaErrorCode)[private, virtual]

Parameters

TInt aErrorCode

ExtractElement()

IMPORT_C CSenElement *ExtractElement()[virtual]
Etracts the XML element from the fragment, leaving the fragment empty. Note(!): the return value (CSenElement) STRONGLY suggests that subclasses INHERIT CSenFragment in order properly comply the requirement of the ExtractElement() implementation.
Since
Series60 3.0

LocalName()

IMPORT_C const TDesC8 &LocalName()const [virtual]
Since
Series60 3.0

Namespace(const TDesC8 &)

IMPORT_C CSenNamespace *Namespace(const TDesC8 &aPrefix)[virtual]
Gets the namespace object with a given prefix.
Since
Series60 3.0

Parameters

const TDesC8 & aPrefix

NewL(const CSenElement &)

IMPORT_C CSenBaseFragment *NewL(const CSenElement &aElement)[static]
Standard 2 phase constructor.
Since
Series60 3.0

Parameters

const CSenElement & aElementis the element where construction data will be copied from.

NewL(const TDesC8 &)

IMPORT_C CSenBaseFragment *NewL(const TDesC8 &aLocalName)[static]
Standard 2 phase constructor. Leave codes: KErrSenInvalidCharacters if aLocalName contains illegal characters. KErrSenZeroLengthDescriptor if aLocalName is zero length.
Since
Series60 3.0

Parameters

const TDesC8 & aLocalName

NewL(const TDesC8 &, const TDesC8 &)

IMPORT_C CSenBaseFragment *NewL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName
)[static]
Standard 2 phase constructor. Leave codes: KErrSenInvalidCharacters if aLocalName contains illegal characters. KErrSenZeroLengthDescriptor if aLocalName is zero length.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUri
const TDesC8 & aLocalName

NewL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C CSenBaseFragment *NewL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName
)[static]
Standard 2 phase constructor. Leave codes: KErrSenInvalidCharacters if aLocalName or aQName contains illegal characters. KErrSenZeroLengthDescriptor if aLocalName or aQName is zero length.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUri
const TDesC8 & aLocalName
const TDesC8 & aQName

NewL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C CSenBaseFragment *NewL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName,
const RAttributeArray &apAttrs
)[static]
Standard 2 phase constructor. Leave codes: KErrSenInvalidCharacters if aLocalName or aQName contains illegal characters. KErrSenZeroLengthDescriptor if aLocalName or aQName is zero length.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUri
const TDesC8 & aLocalName
const TDesC8 & aQName
const RAttributeArray & apAttrs

NewL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, CSenElement &)

IMPORT_C CSenBaseFragment *NewL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName,
const RAttributeArray &apAttrs,
CSenElement &aParent
)[static]
Standard 2 phase constructor.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUri
const TDesC8 & aLocalName
const TDesC8 & aQName
const RAttributeArray & apAttrs
CSenElement & aParent

NsPrefix()

IMPORT_C const TDesC8 &NsPrefix()const [virtual]
Getter for namespace prefix of this fragment.
Since
Series60 3.0

NsUri()

IMPORT_C const TDesC8 &NsUri()const [virtual]
Getter for Fragment's namespace URI..
Since
Series60 3.0

ParseL(const TDesC8 &)

IMPORT_C voidParseL(const TDesC8 &aXml)[virtual]
Leave codes: KErrSenXmlReaderNotSet if XML reader has not been set. Method to invoke parsing of a XML data. Note that SetReader() must be called before this method can be used. Note that CSenBaseFragment does not parse any other attributes, but XML namespace attributes only. This is due to allow subclasses to process only those attributes they are interested in, and not others.
Since
Series60 3.0

Parameters

const TDesC8 & aXml

ParseWithL(CSenXmlReader &)

IMPORT_C voidParseWithL(CSenXmlReader &aReader)[virtual]
Sets the reader for this fragment and sets this to be the content handler of the following SAX events.
Since
Series60 3.0

Parameters

CSenXmlReader & aReaderis the XML parser to be used.

Reader()

IMPORT_C CSenXmlReader *Reader()[virtual]
Gets the XML reader which this fragment uses for parsing.
Since
Series60 3.0

ResetContentL()

IMPORT_C voidResetContentL()[virtual]
Resets the content of the fragment, and resets the namespaces.
Since
Series60 3.0

ResumeParsingFromL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C voidResumeParsingFromL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName
)[virtual]
Leave codes: KErrSenXmlReaderNotSet if XML reader has not been set. Resumes parsing to be handled by this fragment. Usually called by some delegate fragment which was set to be content handler because this fragment called DelegateParsingL().
Since
Series60 3.0

Parameters

const TDesC8 & aNsUriThe namespace URI of the current element
const TDesC8 & aLocalNameThe local name of the current element
const TDesC8 & aQNameThe qualified name of the current element

SaveNamespacesL(const RAttributeArray &, TBool)

IMPORT_C voidSaveNamespacesL(const RAttributeArray &aAttrs,
TBoolaEnsure
)[virtual]
Since
Series60 3.0

Parameters

const RAttributeArray & aAttrsare the attributes from which the namespaces are searched from.
TBool aEnsureif set to TRUE, the namespaces are copied into this fragment. If FALSE, then the namespaces are only referenced, but not copied and owned by this class.

SetAttributesL(const RAttributeArray &)

IMPORT_C voidSetAttributesL(const RAttributeArray &aAttrs)[virtual]
Sets the attributes for the fragment. BaseFragment parses only namespace (xmlns) attributes from the document. Subclasses should override this method if they are intrested of handling any other XML attributes and their corresponding values.
Since
Series60 3.0

Parameters

const RAttributeArray & aAttrs

SetContentOfL(const TDesC8 &, const TDesC8 &)

IMPORT_C MSenElement &SetContentOfL(const TDesC8 &aLocalName,
const TDesC8 &aContent
)[protected]
Sets content to a child element. If no element with given local name is not found, new one is added and content is set to that one.
Since
Series60 3.0

Parameters

const TDesC8 & aLocalNameThe local name of element which content is about to be set
const TDesC8 & aContentContent to be set.

SetOwner(MSenFragment &)

IMPORT_C voidSetOwner(MSenFragment &aFragment)[virtual]
Sets a new parent for this fragment.
Since
Series60 3.0

Parameters

MSenFragment & aFragment

SetReader(CSenXmlReader &)

IMPORT_C voidSetReader(CSenXmlReader &aReader)[virtual]
Sets the XML reader to be used for parsing for the fragment.
Since
Series60 3.0

Parameters

CSenXmlReader & aReader

StartDocument()

IMPORT_C TIntStartDocument()[private, virtual]

StartElement(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C TIntStartElement(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName,
const RAttributeArray &aAttrs
)[private, virtual]

Parameters

const TDesC8 & aNsUri
const TDesC8 & aLocalName
const TDesC8 & aQName
const RAttributeArray & aAttrs

StartElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C voidStartElementL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName,
const RAttributeArray &aAttrs
)[protected, virtual]
Callback function implementing the XML content handler interface. Inheriting classes can override these.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUriThe namespace URI of the new element
const TDesC8 & aLocalNameThe local name of the new element
const TDesC8 & aQNameThe qualified name of the new element
const RAttributeArray & aAttrsThe attributes of the new element

StartEntity(TDesC8 &)

IMPORT_C TIntStartEntity(TDesC8 &aName)[protected]

Callback function which implement the XML content handler interface. Inheriting classes can override these. Note that overrides should return TRUE (1) on success and FALSE (0) on failure to parser.

Since
Series60 3.0

Parameters

TDesC8 & aNameThe entity name

WriteAsXMLToL(RWriteStream &)

IMPORT_C voidWriteAsXMLToL(RWriteStream &aWs)[virtual]
Invokes AsElement()->WriteAsXMLToL(aWs);
Since
Series60 3.0

Parameters

RWriteStream & aWsis the stream into which the UTF-8 form XML will be written.

WriteEndElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C voidWriteEndElementL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName
)[virtual]
Writes the end element tag to the content stream. Derivants can override the basic usage used in BaseFragment.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUriThe namespace URI of the current element
const TDesC8 & aLocalNameThe local name of the current element
const TDesC8 & aQNameThe qualified name of the current element

WriteStartElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C voidWriteStartElementL(const TDesC8 &aNsUri,
const TDesC8 &aLocalName,
const TDesC8 &aQName,
const RAttributeArray &aAttrs
)[virtual]
Writes the start element tag to the content stream. Derivants can override the basic usage used in BaseFragment.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUriThe namespace URI of the current element
const TDesC8 & aLocalNameThe local name of the current element
const TDesC8 & aQNameThe qualified name of the current element
const RAttributeArray & aAttrsis the array of attributes.

Member Data Documentation

TBool hasContentWriteStream

TBool hasContentWriteStream[private]

TBool iElementOwned

TBool iElementOwned[private]

RPointerArray< CSenNamespace > iNamespaces

RPointerArray< CSenNamespace >iNamespaces[private]

RPointerArray< HBufC8 > iPrefixes

RPointerArray< HBufC8 >iPrefixes[private]

TInt iState

TInt iState[protected]

RWriteStream iWs

RWriteStream iWs[protected]

CSenXmlReader * iXmlReader

CSenXmlReader *iXmlReader[protected]

CBufFlat * ipContentWithNamespaces

CBufFlat *ipContentWithNamespaces[private]

CSenFragment * ipDelegate

CSenFragment *ipDelegate[private]

CSenElement * ipElement

CSenElement *ipElement[protected]

MSenFragment * ipOwner

MSenFragment *ipOwner[protected]