public class Content extends Object
MenuItem
and
SectionItem
. See those classes for further information about the
methods and their return values.Constructor and Description |
---|
Content(Content c) |
Content(int type)
Constructor for the Content object.
|
Modifier and Type | Method and Description |
---|---|
String |
getImageURL()
Returns the ImageURL attribute of the Content object
|
int |
getIncludeLevel()
Returns the IncludeLevel attribute of the Content object
|
neo.xredsys.api.Section |
getSection()
Returns the Section attribute of the Content object
|
int |
getSectionId()
Returns the SectionName attribute of the Content object
|
String |
getTarget() |
String |
getText()
Returns the Text attribute of the Content object
|
String |
getText(String lang)
Returns the Text attribute of the Content object
|
int |
getType()
Returns the Type attribute of the Content object
|
String |
getURL()
Returns the URL attribute of the Content object
|
boolean |
includeSubSections() |
void |
setImageURL(String imageUrl)
sets the imageurl
|
void |
setIncludeLevel(int level)
Sets the IncludeLevel attribute of the Content object
|
void |
setIncludeSubSections(boolean include)
Sets the IncludeSubSections attribute of the Content object
|
void |
setSectionId(int newSectionId)
Sets the SectionId attribute of the Content object
|
void |
setTarget(String pTarget) |
void |
setText(String s)
sets the defaulttext
|
void |
setText(String lang,
String text)
sets language specific text
|
protected void |
setType(int _type)
Sets the Type attribute of the Content object
|
void |
setURL(String newURL)
sets url
|
public Content(int type)
type
- public Content(Content c)
public void setURL(String newURL)
newURL
- the new URL valuepublic void setImageURL(String imageUrl)
imageUrl
- the new ImageURL valuepublic void setText(String s)
s
- the new Text valuepublic void setText(String lang, String text)
lang
- the new Text valuetext
- the new Text valuepublic void setIncludeSubSections(boolean include)
include
- the new IncludeSubSections valuepublic void setIncludeLevel(int level)
level
- the new IncludeLevel valuepublic void setSectionId(int newSectionId)
newSectionId
- the new SectionId valuepublic String getURL()
public String getImageURL()
public int getType()
public String getText()
public String getText(String lang)
lang
- public int getIncludeLevel()
public int getSectionId()
public neo.xredsys.api.Section getSection()
public boolean includeSubSections()
protected void setType(int _type)
_type
- the new Type valuepublic String getTarget()
public void setTarget(String pTarget)
© 1998- 2017 Escenic AS