class CSenFragmentBase : public CBase |
Public Member Functions | |
---|---|
~CSenFragmentBase () | |
IMPORT_C RSenDocument & | AsDocumentL () |
IMPORT_C TXmlEngElement | AsElementL () |
IMPORT_C HBufC8 * | AsXmlL () |
IMPORT_C HBufC * | AsXmlUnicodeL () |
IMPORT_C TBool | ConsistsOfL ( CSenFragmentBase &) |
IMPORT_C TPtrC8 | ContentL () |
IMPORT_C TXmlEngElement | ExtractElement () |
IMPORT_C TAny * | GetExtendedInterface (const TInt32 ) |
IMPORT_C TPtrC8 | LocalName () |
IMPORT_C TXmlEngNamespace | Namespace (const TDesC8 &) |
IMPORT_C CSenFragmentBase * | NewL (const TXmlEngElement &) |
IMPORT_C CSenFragmentBase * | NewL (const TDesC8 &) |
IMPORT_C CSenFragmentBase * | NewL (const TDesC8 &, const TDesC8 &) |
IMPORT_C CSenFragmentBase * | NewL (const TDesC8 &, const TDesC8 &, const TDesC8 &) |
IMPORT_C CSenFragmentBase * | NewL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &) |
IMPORT_C CSenFragmentBase * | NewL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &) |
IMPORT_C CSenFragmentBase * | NewL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &, RSenDocument &) |
IMPORT_C CSenFragmentBase * | NewL ( TXmlEngElement &, RSenDocument &) |
IMPORT_C TPtrC8 | NsPrefix () |
IMPORT_C TPtrC8 | NsUri () |
IMPORT_C void | OnContentL (const TDesC8 &, TInt ) |
IMPORT_C void | OnDelegateParsingL ( CSenFragmentBase &) |
IMPORT_C void | OnDelegateParsingL (const RTagInfo &, const RAttributeArray &, TInt ) |
IMPORT_C void | OnEndDocumentL ( TInt ) |
IMPORT_C void | OnEndElementL (const RTagInfo &, TInt ) |
IMPORT_C void | OnEndPrefixMappingL (const RString &, TInt ) |
IMPORT_C void | OnError ( TInt ) |
IMPORT_C void | OnIgnorableWhiteSpaceL (const TDesC8 &, TInt ) |
IMPORT_C void | OnProcessingInstructionL (const TDesC8 &, const TDesC8 &, TInt ) |
IMPORT_C void | OnResumeParsingFromL (const RTagInfo &, TInt ) |
IMPORT_C void | OnSkippedEntityL (const RString &, TInt ) |
IMPORT_C void | OnStartDocumentL (const RDocumentParameters &, TInt ) |
IMPORT_C void | OnStartElementL (const RTagInfo &, const RAttributeArray &, TInt ) |
IMPORT_C void | OnStartPrefixMappingL (const RString &, const RString &, TInt ) |
IMPORT_C void | OnWriteEndElementL (const RTagInfo &) |
IMPORT_C void | OnWriteStartElementL (const RTagInfo &, const RAttributeArray &) |
IMPORT_C void | ResetContentL () |
IMPORT_C void | SetContentHandler ( CSenFragmentBase &) |
IMPORT_C void | SetDocument ( RSenDocument &) |
IMPORT_C void | SetOwner ( CSenFragmentBase &) |
IMPORT_C void | WriteAsXMLToL ( RWriteStream &) |
Protected Member Functions | |
---|---|
CSenFragmentBase () | |
IMPORT_C void | AddAttributesL (const RAttributeArray &) |
IMPORT_C void | AddAttributesToElementL ( TXmlEngElement , const RAttributeArray &) |
IMPORT_C void | AddContentL (const TDesC8 &) |
IMPORT_C void | AddNamespacesL () |
IMPORT_C void | BaseConstructL (const TXmlEngElement &) |
IMPORT_C void | BaseConstructL (const TDesC8 &) |
IMPORT_C void | BaseConstructL (const TDesC8 &, const TDesC8 &) |
IMPORT_C void | BaseConstructL (const TDesC8 &, const TDesC8 &, const TDesC8 &) |
IMPORT_C void | BaseConstructL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &) |
IMPORT_C void | BaseConstructL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &) |
IMPORT_C void | BaseConstructL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &, RSenDocument &) |
IMPORT_C void | BaseConstructL ( TXmlEngElement &, RSenDocument &) |
IMPORT_C TBool | ConsistsOfL ( TXmlEngElement &, TXmlEngElement &) |
IMPORT_C TPtrC8 | ContentOf (const TDesC8 &) |
void | RenameL (const TDesC8 &, const TDesC8 &, const TDesC8 &) |
void | RenameL (const TDesC8 &, const TDesC8 &) |
void | RenameLocalNameL (const TDesC8 &) |
void | RenameNamespaceL (const TDesC8 &) |
void | RenameNamespaceL (const TDesC8 &, const TDesC8 &) |
void | RenamePrefixL (const TDesC8 &) |
IMPORT_C void | SetContentL (const TDesC8 &) |
IMPORT_C TXmlEngElement | SetContentOfL (const TDesC8 &, const TDesC8 &) |
IMPORT_C void | StartSavingContent () |
Private Member Functions | |
---|---|
IMPORT_C void | SetParser ( CSenParser &) |
Protected Attributes | |
---|---|
RSenDocument | iDocument |
TXmlEngElement | iElement |
TInt | iState |
CBufFlat * | ipContentBuf |
RBufWriteStream * | ipContentWriteStream |
CSenFragmentBase * | ipDelegate |
RPointerArray < CSenNamespaceData > * | ipNamespaceArray |
CSenFragmentBase * | ipOwner |
CSenParser * | ipParser |
IMPORT_C void | AddAttributesL | ( | const RAttributeArray & | apAttrs | ) | [protected, virtual] |
Adds new XML attributes to this fragment. Can be overridden to replace old attributes.
const RAttributeArray & apAttrs |
IMPORT_C void | AddAttributesToElementL | ( | TXmlEngElement | element, |
const RAttributeArray & | apAttrs | |||
) | [protected, virtual] |
Adds new XML attributes to specified element. Can be overridden to replace old attributes.
TXmlEngElement element | |
const RAttributeArray & apAttrs |
IMPORT_C void | AddContentL | ( | const TDesC8 & | aContent | ) | [protected, virtual] |
const TDesC8 & aContent | Content to be set. |
IMPORT_C void | AddNamespacesL | ( | ) | [protected, virtual] |
IMPORT_C RSenDocument & | AsDocumentL | ( | ) | [virtual] |
Returns the current XML element of this fragment. If element has not been set, this method will initialize new, un-initialized element. Method leaves with if there is not enough memory (OOM)
IMPORT_C TXmlEngElement | AsElementL | ( | ) | [virtual] |
Returns the current XML element of this fragment. If element has not been set, this method will initialize new, un-initialized element. Method leaves with if there is not enough memory (OOM)
IMPORT_C HBufC8 * | AsXmlL | ( | ) | [virtual] |
IMPORT_C HBufC * | AsXmlUnicodeL | ( | ) | [virtual] |
IMPORT_C void | BaseConstructL | ( | const TXmlEngElement & | aSrc | ) | [protected] |
const TXmlEngElement & aSrc |
IMPORT_C void | BaseConstructL | ( | const TDesC8 & | aLocalName | ) | [protected] |
const TDesC8 & aLocalName | XML localname for this fragment |
IMPORT_C void | BaseConstructL | ( | const TDesC8 & | aNsUri, |
const TDesC8 & | aLocalName | |||
) | [protected] |
IMPORT_C void | BaseConstructL | ( | const TDesC8 & | aNsUri, |
const TDesC8 & | aLocalName, | |||
const TDesC8 & | aPrefix | |||
) | [protected] |
IMPORT_C void | BaseConstructL | ( | const TDesC8 & | aNsUri, |
const TDesC8 & | aLocalName, | |||
const TDesC8 & | aPrefix, | |||
const RAttributeArray & | aAttrs | |||
) | [protected] |
const TDesC8 & aNsUri | XML namespace URI for this fragment |
const TDesC8 & aLocalName | XML localname for this fragment |
const TDesC8 & aPrefix | |
const RAttributeArray & aAttrs | XML attributes for this fragment |
IMPORT_C void | BaseConstructL | ( | const TDesC8 & | aNsUri, |
const TDesC8 & | aLocalName, | |||
const TDesC8 & | aPrefix, | |||
const RAttributeArray & | aAttrs, | |||
TXmlEngElement & | aParent | |||
) | [protected] |
const TDesC8 & aNsUri | XML namespace URI for this fragment |
const TDesC8 & aLocalName | XML localname for this fragment |
const TDesC8 & aPrefix | |
const RAttributeArray & aAttrs | XML attributes for this fragment |
TXmlEngElement & aParent | parent to be set for this fragmemt |
IMPORT_C void | BaseConstructL | ( | const TDesC8 & | aNsUri, |
const TDesC8 & | aLocalName, | |||
const TDesC8 & | aPrefix, | |||
const RAttributeArray & | aAttrs, | |||
TXmlEngElement & | aParent, | |||
RSenDocument & | aOwnerDocument | |||
) | [protected] |
const TDesC8 & aNsUri | XML namespace URI for this fragment |
const TDesC8 & aLocalName | XML localname for this fragment |
const TDesC8 & aPrefix | |
const RAttributeArray & aAttrs | XML attributes for this fragment |
TXmlEngElement & aParent | Parent to be set for this fragmemt |
RSenDocument & aOwnerDocument | The document which will be the owner of the elements of this fragment |
IMPORT_C void | BaseConstructL | ( | TXmlEngElement & | aRootElement, |
RSenDocument & | aOwnerDocument | |||
) | [protected] |
TXmlEngElement & aRootElement | The element which will be the root element of this fragment |
RSenDocument & aOwnerDocument | The document which will be the owner of the elements of this fragment |
IMPORT_C TBool | ConsistsOfL | ( | CSenFragmentBase & | aCandidate | ) | [virtual] |
CSenFragmentBase & aCandidate | The pattern to be matched. Must contain same or less data for match to come true. |
IMPORT_C TBool | ConsistsOfL | ( | TXmlEngElement & | aElement, |
TXmlEngElement & | aCandidate | |||
) | [protected, virtual] |
TXmlEngElement & aElement | |
TXmlEngElement & aCandidate |
IMPORT_C TPtrC8 | ContentL | ( | ) | [virtual] |
IMPORT_C TPtrC8 | ContentOf | ( | const TDesC8 & | aLocalName | ) | [protected] |
const TDesC8 & aLocalName | The local name of the element which content is asked |
IMPORT_C TXmlEngElement | ExtractElement | ( | ) | [virtual] |
IMPORT_C TAny * | GetExtendedInterface | ( | const TInt32 | aUid | ) | [virtual] |
const TInt32 aUid |
IMPORT_C TXmlEngNamespace | Namespace | ( | const TDesC8 & | aPrefix | ) | [virtual] |
const TDesC8 & aPrefix |
IMPORT_C CSenFragmentBase * | NewL | ( | const TXmlEngElement & | aElement | ) | [static] |
const TXmlEngElement & aElement | is the element where construction data will be copied from. |
IMPORT_C CSenFragmentBase * | NewL | ( | const TDesC8 & | aLocalName | ) | [static] |
const TDesC8 & aLocalName |
IMPORT_C CSenFragmentBase * | NewL | ( | const TDesC8 & | aNsUri, |
const TDesC8 & | aLocalName | |||
) | [static] |
IMPORT_C CSenFragmentBase * | NewL | ( | const TDesC8 & | aNsUri, |
const TDesC8 & | aLocalName, | |||
const TDesC8 & | aPrefix | |||
) | [static] |
IMPORT_C CSenFragmentBase * | NewL | ( | const TDesC8 & | aNsUri, |
const TDesC8 & | aLocalName, | |||
const TDesC8 & | aPrefix, | |||
const RAttributeArray & | apAttrs | |||
) | [static] |
const TDesC8 & aNsUri | XML namespace URI |
const TDesC8 & aLocalName | XML localname |
const TDesC8 & aPrefix | XML prefix |
const RAttributeArray & apAttrs | XML attributes |
IMPORT_C CSenFragmentBase * | NewL | ( | const TDesC8 & | aNsUri, |
const TDesC8 & | aLocalName, | |||
const TDesC8 & | aPrefix, | |||
const RAttributeArray & | apAttrs, | |||
TXmlEngElement & | aParent | |||
) | [static] |
const TDesC8 & aNsUri | XML namespace URI |
const TDesC8 & aLocalName | XML localname |
const TDesC8 & aPrefix | XML prefix |
const RAttributeArray & apAttrs | XML attributes |
TXmlEngElement & aParent | Parent element |
IMPORT_C CSenFragmentBase * | NewL | ( | const TDesC8 & | aNsUri, |
const TDesC8 & | aLocalName, | |||
const TDesC8 & | aPrefix, | |||
const RAttributeArray & | apAttrs, | |||
TXmlEngElement & | aParent, | |||
RSenDocument & | aOwnerDocument | |||
) | [static] |
const TDesC8 & aNsUri | XML namespace URI |
const TDesC8 & aLocalName | XML localname |
const TDesC8 & aPrefix | XML prefix |
const RAttributeArray & apAttrs | XML attributes |
TXmlEngElement & aParent | Parent element |
RSenDocument & aOwnerDocument | The document which will be the owner of the elements of this fragment |
IMPORT_C CSenFragmentBase * | NewL | ( | TXmlEngElement & | aRootElement, |
RSenDocument & | aOwnerDocument | |||
) | [static] |
TXmlEngElement & aRootElement | The element which will be the root element of this fragment. |
RSenDocument & aOwnerDocument | The document which will be the owner of the elements of this fragment |
IMPORT_C TPtrC8 | NsPrefix | ( | ) | const [virtual] |
IMPORT_C TPtrC8 | NsUri | ( | ) | const [virtual] |
IMPORT_C void | OnContentL | ( | const TDesC8 & | aBytes, |
TInt | aErrorCode | |||
) | [virtual] |
IMPORT_C void | OnDelegateParsingL | ( | CSenFragmentBase & | aDelegate | ) | [virtual] |
CSenFragmentBase & aDelegate | is the fragment to start handling the SAX events. |
IMPORT_C void | OnDelegateParsingL | ( | const RTagInfo & | aElement, |
const RAttributeArray & | aAttributes, | |||
TInt | aErrorCode | |||
) | [virtual] |
const RTagInfo & aElement | The RTagInfo class holding information that describes the element. |
const RAttributeArray & aAttributes | The attributes of the new element |
TInt aErrorCode | Error code |
IMPORT_C void | OnEndDocumentL | ( | TInt | aErrorCode | ) | [virtual] |
TInt aErrorCode |
IMPORT_C void | OnEndElementL | ( | const RTagInfo & | aElement, |
TInt | aErrorCode | |||
) | [virtual] |
IMPORT_C void | OnEndPrefixMappingL | ( | const RString & | aPrefix, |
TInt | aErrorCode | |||
) | [virtual] |
IMPORT_C void | OnError | ( | TInt | aErrorCode | ) | [virtual] |
TInt aErrorCode |
IMPORT_C void | OnIgnorableWhiteSpaceL | ( | const TDesC8 & | aBytes, |
TInt | ErrorCode | |||
) | [virtual] |
IMPORT_C void | OnProcessingInstructionL | ( | const TDesC8 & | aTarget, |
const TDesC8 & | aData, | |||
TInt | aErrorCode | |||
) | [virtual] |
IMPORT_C void | OnResumeParsingFromL | ( | const RTagInfo & | aElement, |
TInt | aErrorCode | |||
) | [virtual] |
IMPORT_C void | OnSkippedEntityL | ( | const RString & | aName, |
TInt | aErrorCode | |||
) | [virtual] |
IMPORT_C void | OnStartDocumentL | ( | const RDocumentParameters & | aDocParam, |
TInt | aErrorCode | |||
) | [virtual] |
const RDocumentParameters & aDocParam | |
TInt aErrorCode |
IMPORT_C void | OnStartElementL | ( | const RTagInfo & | aElement, |
const RAttributeArray & | aAttributes, | |||
TInt | aErrorCode | |||
) | [virtual] |
const RTagInfo & aElement | |
const RAttributeArray & aAttributes | |
TInt aErrorCode |
IMPORT_C void | OnStartPrefixMappingL | ( | const RString & | aPrefix, |
const RString & | aUri, | |||
TInt | aErrorCode | |||
) | [virtual] |
IMPORT_C void | OnWriteEndElementL | ( | const RTagInfo & | aElement | ) |
const RTagInfo & aElement | The RTagInfo class holding information that describes the element. |
IMPORT_C void | OnWriteStartElementL | ( | const RTagInfo & | aElement, |
const RAttributeArray & | aAttributes | |||
) |
const RTagInfo & aElement | The RTagInfo class holding information that describes the element. |
const RAttributeArray & aAttributes | The attributes of the new element |
void | RenameL | ( | const TDesC8 & | aLocalName, |
const TDesC8 & | aPrefix, | |||
const TDesC8 & | aNamespace | |||
) | [protected] |
Method renames the XML properties of this fragment.
void | RenameL | ( | const TDesC8 & | aLocalName, |
const TDesC8 & | aNamespace | |||
) | [protected] |
Method renames the XML properties of this fragment.
void | RenameLocalNameL | ( | const TDesC8 & | aLocalName | ) | [protected] |
Renames local name for this XML fragment.
const TDesC8 & aLocalName | XML localname for this fragment Method leaves with if there is not enough memory (OOM) |
void | RenameNamespaceL | ( | const TDesC8 & | aNamespace | ) | [protected] |
Renames namespace URI for this XML fragment.
const TDesC8 & aNamespace | XML namespace URI for this fragment Method leaves with if there is not enough memory(OOM) |
void | RenameNamespaceL | ( | const TDesC8 & | aPrefix, |
const TDesC8 & | aNamespace | |||
) | [protected] |
Renames namespace prefix and namespace URI for this XML fragment.
void | RenamePrefixL | ( | const TDesC8 & | aPrefix | ) | [protected] |
Renames namespace prefix for this XML fragment.
const TDesC8 & aPrefix | XML namespace prefix for this fragment Method leaves with if there is not enough memory (OOM) |
IMPORT_C void | SetContentHandler | ( | CSenFragmentBase & | aContentHandler | ) |
CSenFragmentBase & aContentHandler |
IMPORT_C void | SetContentL | ( | const TDesC8 & | aContent | ) | [protected, virtual] |
const TDesC8 & aContent | Content to be set. |
IMPORT_C TXmlEngElement | SetContentOfL | ( | const TDesC8 & | aLocalName, |
const TDesC8 & | aContent | |||
) | [protected] |
IMPORT_C void | SetDocument | ( | RSenDocument & | aDocument | ) |
Sets the RSenDocument
RSenDocument & aDocument |
IMPORT_C void | SetOwner | ( | CSenFragmentBase & | aFragment | ) | [virtual] |
CSenFragmentBase & aFragment |
IMPORT_C void | SetParser | ( | CSenParser & | aParser | ) | [private, virtual] |
CSenParser & aParser |
IMPORT_C void | StartSavingContent | ( | ) | [protected] |
StartSavingContent changes the internal SAX parsing state of this fragment to KSenStateSave, which means that next call to OnStartElementL is treated as data, and not ignored (in DOM fragment implementation, it would be "extended" into a DOM object).
IMPORT_C void | WriteAsXMLToL | ( | RWriteStream & | aWs | ) | [virtual] |
RWriteStream & aWs | is the stream into which the UTF-8 form XML will be written. |
RPointerArray < CSenNamespaceData > * | ipNamespaceArray | [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.