new AtomCategory( [json])
Information about a category associated with an atom entry or feed.
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
json |
Object |
<optional> |
Extends
Methods
-
getBase()
-
Get the base
- Inherited From:
Returns:
base- Type
- String
-
getLang()
-
Get the lang
- Inherited From:
Returns:
lang- Type
- String
-
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
-
setLang(lang)
-
Set the lang
Parameters:
Name Type Description lang
String - Inherited From:
Returns:
this- Type
- AtomCommon
-
toJSON()
-
Export the object as JSON
- Inherited From:
Returns:
JSON object- Type
- Object