Class container for generic Atom items.
Parameter | Type | Description |
---|---|---|
args | undefined |
Parameter | Type | Description |
---|---|---|
name | undefined | |
value | undefined |
Function to add in an author to the list of authors.
Parameter | Type | Description |
---|---|---|
name | String | The author's name. |
String | The author's e-mail address. |
|
uri | String | A URI associated with the author. |
Function to add in a category to the list of categories.
Parameter | Type | Description |
---|---|---|
scheme | String | |
term | String | |
label | String |
Function to add in an author to the list of authors.
Parameter | Type | Description |
---|---|---|
name | String | The author's name. |
String | The author's e-mail address. |
|
uri | String | A URI associated with the author. |
Function to add in an extension namespace into the item.
Parameter | Type | Description |
---|---|---|
name_space | String | The namespace of the extension. |
name | String | The name of the extension |
attributes | Array | The attributes associated with the extension. |
content | String | The content of the extension. |
shortNS | String |
Function to add in a link to the list of links.
Parameter | Type | Description |
---|---|---|
href | String | |
rel | String | |
hrefLang | String | |
title | String | A title to associate with the link. |
type | String | The type of link is is. |
Parameter | Type | Description |
---|---|---|
fullName | undefined | |
shortName | undefined |
Function to get all categories that match a particular scheme.
Parameter | Type | Description |
---|---|---|
scheme | String | The scheme to filter on. |
Function to get extensions that match a namespace and name.
Parameter | Type | Description |
---|---|---|
name_space | String | The namespace of the extension. |
name | String | The name of the extension |
Function to remove all basic links from the list of links.
Function to remove all categories that match a particular scheme and term.
Parameter | Type | Description |
---|---|---|
scheme | String | The scheme to filter on. |
term | String | The term to filter on. |
Function to remove extensions that match a namespace and name.
Parameter | Type | Description |
---|---|---|
name_space | String | The namespace of the extension. |
name | String | The name of the extension |
Function to remove a link from the list of links.
Parameter | Type | Description |
---|---|---|
href | String | The href. |
rel | String |
Function to set the title of the item.
Parameter | Type | Description |
---|---|---|
str | String | The title to set. |
type | String | The type of title format, text, xml, xhtml, etc. |