Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
libgdata
GData
Parsable
constructed_from_xml
Parsable
Parsable.from_xml
get_namespaces
get_xml
parse_xml
post_parse_xml
pre_get_xml
pre_parse_xml
Parsable
Object Hierarchy:
Description:
public
abstract
class
Parsable
:
Object
The class structure for the
Parsable
class.
All known sub-classes:
APPCategories
AccessRule
Author
CalendarCalendar
CalendarEvent
CalendarFeed
Category
ContactsContact
ContactsGroup
DocumentsDocument
DocumentsEntry
DocumentsFeed
DocumentsFolder
DocumentsPresentation
DocumentsSpreadsheet
DocumentsText
Entry
Feed
GContactCalendar
GContactEvent
GContactExternalID
GContactJot
GContactLanguage
GContactRelation
GContactWebsite
GDEmailAddress
GDIMAddress
GDName
GDOrganization
GDPhoneNumber
GDPostalAddress
GDReminder
GDWhen
GDWhere
GDWho
Generator
Link
MediaCategory
MediaContent
MediaCredit
MediaThumbnail
PicasaWebAlbum
PicasaWebFeed
PicasaWebFile
PicasaWebUser
YouTubeCategory
YouTubeContent
YouTubeCredit
YouTubeState
YouTubeVideo
Namespace:
GData
Package:
libgdata
Content:
Properties:
public
bool
constructed_from_xml
{
construct
set
;
get
; }
Specifies whether the object was constructed by parsing XML or manually.
Creation methods:
protected
Parsable
()
public
Parsable.from_xml
(
Type
parsable_type,
string
xml,
int
length)
throws
Error
Creates a new
Parsable
subclass (of the given
parsable_type
) from the given
xml
.
Methods:
public
virtual
void
get_namespaces
(
HashTable
<
void
*,
void
*> namespaces)
public
virtual
void
get_xml
(
StringBuilder
xml_string)
Builds an XML representation of the
Parsable
in its current state, such that it could be inserted on the server. The XML is guaranteed to have all its namespaces declared properly in a self-contained fashion, and is valid for stand-alone use.
public
virtual
bool
parse_xml
(
Doc
doc,
Node
node)
throws
Error
public
virtual
bool
post_parse_xml
()
throws
Error
public
virtual
void
pre_get_xml
(
StringBuilder
xml_string)
public
virtual
bool
pre_parse_xml
(
Doc
doc,
Node
root_node)
throws
Error