API published in: S60 3rd Ed
Link against: senxml.lib
Required Capabilities
None
#include <sendomfragment.h>
Inherits CSenBaseFragment.
Inherited by CSenXmlServiceDescription.
In DOM fragment, all child elements are parsed into separate element objects. This makes it possible to reference any child which offer methods declared in XML element interface. Any such element can also be easily extracted (detached) from this root DOM fragmet.
Public Member Functions |
|
virtual IMPORT_C | ~CSenDomFragment () |
Destructor. |
|
virtual IMPORT_C void | ExpandL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttrs) |
Initiates the parsing chain where new delegate will be created with given parameters and parsing will be delegated to it.
|
|
IMPORT_C void | ResumeParsingFromL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName) |
Resumes the parsing. |
|
virtual IMPORT_C void | ParseWithL (CSenXmlReader &aReader) |
Sets the reader for this fragment and sets this to be the content handler of the following SAX events. |
|
virtual IMPORT_C void | SetAttributesL (const RAttributeArray &aAttrs) |
Sets the attributes for the fragment. |
|
Static Public Member Functions |
|
static IMPORT_C CSenDomFragment * | NewL () |
Basic contructor. |
|
static IMPORT_C CSenDomFragment * | NewL (const CSenElement &aElement) |
Basic constructor. |
|
static IMPORT_C CSenDomFragment * | NewL (const TDesC8 &aLocalName) |
Basic constructor. |
|
static IMPORT_C CSenDomFragment * | NewL (const TDesC8 &aNsUri, const TDesC8 &aLocalName) |
Basic constructor. |
|
static IMPORT_C CSenDomFragment * | NewL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName) |
Basic constructor. |
|
static IMPORT_C CSenDomFragment * | NewL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttrs) |
Basic constructor. |
|
static IMPORT_C CSenDomFragment * | NewL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttrs, CSenElement &aParent) |
Basic constructor. |
|
Protected Member Functions |
|
IMPORT_C | CSenDomFragment () |
C++ default constructor. |
|
IMPORT_C void | BaseConstructL (const CSenElement &aElement) |
"ConstructL" method for calling the base classes ones. |
|
IMPORT_C void | BaseConstructL (const TDesC8 &aLocalName) |
"ConstructL" method for calling the base classes ones. |
|
IMPORT_C void | BaseConstructL (const TDesC8 &aNsUri, const TDesC8 &aLocalName) |
"ConstructL" method for calling the base classes ones. |
|
IMPORT_C void | BaseConstructL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName) |
"ConstructL" method for calling the base classes ones. |
|
IMPORT_C void | BaseConstructL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttrs) |
"ConstructL" method for calling the base classes ones. |
|
IMPORT_C void | BaseConstructL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttrs, CSenElement &aParent) |
"ConstructL" method for calling the base classes ones. |
|
IMPORT_C void | BaseConstructL (CSenXmlReader &aReader) |
"ConstructL" method for calling the base classes ones. |
|
virtual IMPORT_C void | StartElementL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttrs) |
virtual IMPORT_C void | CharactersL (const TDesC8 &aChars, TInt aStart, TInt aLength) |
Callback functions which implement the XML content handler interface. |
|
IMPORT_C void | WriteStartElementL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttrs) |
Overriding content writing from CSenBaseFragment to do nothing in DOM fragment (because the tree is expanded). |
|
IMPORT_C void | WriteEndElementL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName) |
Overriding content writing from CSenBaseFragment to do nothing in DOM fragment (because the tree is expanded). |
|
Protected Attributes |
|
CSenDomFragment * | ipDomDelegate |
|
Destructor. |
|
C++ default constructor. |
|
"ConstructL" method for calling the base classes ones.
Reimplemented from CSenBaseFragment. |
|
"ConstructL" method for calling the base classes ones.
Reimplemented from CSenBaseFragment. |
|
"ConstructL" method for calling the base classes ones.
Reimplemented from CSenBaseFragment. |
|
"ConstructL" method for calling the base classes ones.
Reimplemented from CSenBaseFragment. |
|
"ConstructL" method for calling the base classes ones.
Reimplemented from CSenBaseFragment. Reimplemented in CSenServicePattern. |
|
"ConstructL" method for calling the base classes ones.
Reimplemented from CSenBaseFragment. Reimplemented in CSenServicePattern. |
|
"ConstructL" method for calling the base classes ones.
Reimplemented from CSenBaseFragment. |
|
Callback functions which implement the XML content handler interface. This one is called when content is starting.
Reimplemented from CSenBaseFragment. |
|
Initiates the parsing chain where new delegate will be created with given parameters and parsing will be delegated to it. Should not be called externally.
|
|
Basic constructor.
Reimplemented from CSenBaseFragment. |
|
Basic constructor.
Reimplemented from CSenBaseFragment. |
|
Basic constructor.
Reimplemented from CSenBaseFragment. Reimplemented in CSenIdentityProvider. |
|
Basic constructor.
Reimplemented from CSenBaseFragment. Reimplemented in CSenIdentityProvider, CSenServicePattern, and CSenXmlServiceDescription. |
|
Basic constructor.
Reimplemented from CSenBaseFragment. Reimplemented in CSenIdentityProvider, CSenServicePattern, and CSenXmlServiceDescription. |
|
Basic constructor.
Reimplemented from CSenBaseFragment. |
|
Basic contructor. Should be used only for parsing new fragments etc. Constructing DomFragments for other use should be done with at least localname parameter. Reimplemented in CSenServicePattern, and CSenXmlServiceDescription. |
|
Sets the reader for this fragment and sets this to be the content handler of the following SAX events.
Reimplemented from CSenBaseFragment. |
|
Resumes the parsing. Usually called by the delegate fragment which was parsing itself after DelegateParsingL().
Reimplemented from CSenBaseFragment. Reimplemented in CSenXmlServiceDescription. |
|
Sets the attributes for the fragment.
Reimplemented from CSenBaseFragment. Reimplemented in CSenXmlServiceDescription. |
|
Reimplemented from CSenBaseFragment. Reimplemented in CSenServicePattern, and CSenXmlServiceDescription. |
|
Overriding content writing from CSenBaseFragment to do nothing in DOM fragment (because the tree is expanded).
Reimplemented from CSenBaseFragment. |
|
Overriding content writing from CSenBaseFragment to do nothing in DOM fragment (because the tree is expanded).
Reimplemented from CSenBaseFragment. |
|