Class: AtomEntry

AtomEntry


new AtomEntry( [json])

An individual atom feed entry.
Parameters:
Name Type Argument Description
json Object <optional>
See:

Extends

Methods


addChangeInfo(changeInfo)

Add a change info
Parameters:
Name Type Description
changeInfo ChangeInfo
Returns:
this
Type
AtomEntry

addMatchInfo(matchInfo)

Add a match info
Parameters:
Name Type Description
matchInfo MatchInfo
Returns:
this
Type
AtomEntry

getBase()

Get the base
Inherited From:
Returns:
base
Type
String

getChangeInfo()

Get the change info
Returns:
changeInfo
Type
Array.<ChangeInfo>

getLang()

Get the lang
Inherited From:
Returns:
lang
Type
String

getMatchInfo()

Get the match info
Returns:
matchInfo
Type
Array.<MatchInfo>

init(json)

Initialize from JSON
Parameters:
Name Type Description
json Object
Inherited From:
Returns:
this
Type
AtomCommon

setBase(base)

Set the base attribute
Parameters:
Name Type Description
base String
Inherited From:
Returns:
this
Type
AtomCommon

setChangeInfo(changeInfo)

Set the change info
Parameters:
Name Type Description
changeInfo Array.<ChangeInfo>
Returns:
this
Type
AtomEntry

setLang(lang)

Set the lang
Parameters:
Name Type Description
lang String
Inherited From:
Returns:
this
Type
AtomCommon

setMatchInfo(matchInfo)

Set the match info
Parameters:
Name Type Description
matchInfo Array.<MatchInfo>
Returns:
this
Type
AtomEntry

toJSON()

Export the object as JSON
Inherited From:
Returns:
JSON object
Type
Object