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 |