PowerUI.DomainEntry Class Reference

Detailed Description

Part of domain data such as a cookie jar.

Inheritance diagram for PowerUI.DomainEntry:
PowerUI.CachedContentSet PowerUI.Http.CookieJar

Public Member Functions

 DomainEntry (DomainData domain)
 
void Save ()
 Saves this data now. More...
 
virtual JSObject ToJson ()
 Converts this domain data into a JSON object. Null if it's empty. More...
 
virtual void LoadFromJson (JSObject obj)
 Loads this data from JSON. More...
 

Public Attributes

DomainData Domain
 The domain that this entry is part of. More...
 

Properties

string Host [get]
 
virtual string JsonIndex [get]
 The index used in the JSON data. More...
 
virtual bool IsEmpty [get]
 True if this entry has no useful information inside it. More...
 

Constructor & Destructor Documentation

PowerUI.DomainEntry.DomainEntry ( DomainData  domain)
inline

Member Function Documentation

virtual void PowerUI.DomainEntry.LoadFromJson ( JSObject  obj)
inlinevirtual

Loads this data from JSON.

Reimplemented in PowerUI.Http.CookieJar.

void PowerUI.DomainEntry.Save ( )
inline

Saves this data now.

virtual JSObject PowerUI.DomainEntry.ToJson ( )
inlinevirtual

Converts this domain data into a JSON object. Null if it's empty.

Reimplemented in PowerUI.CachedContentSet, and PowerUI.Http.CookieJar.

Member Data Documentation

DomainData PowerUI.DomainEntry.Domain

The domain that this entry is part of.

Property Documentation

string PowerUI.DomainEntry.Host
get
virtual bool PowerUI.DomainEntry.IsEmpty
get

True if this entry has no useful information inside it.

virtual string PowerUI.DomainEntry.JsonIndex
get

The index used in the JSON data.