|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.trans.step.BaseStepMeta org.pentaho.di.trans.steps.rssoutput.RssOutputMeta
public class RssOutputMeta
Output rows to RSS feed and create a file.
Field Summary |
---|
Fields inherited from class org.pentaho.di.trans.step.BaseStepMeta |
---|
loggingObject, STEP_ATTRIBUTES_FILE |
Constructor Summary | |
---|---|
RssOutputMeta()
|
Method Summary | |
---|---|
boolean |
AddGeoRSS()
|
boolean |
AddImage()
|
boolean |
AddToResult()
|
void |
allocate(int nrfields)
|
void |
allocateitem(int nrfields)
|
void |
allocatenamespace(int nrnamespaces)
|
String |
buildFilename(VariableSpace space,
int stepnr)
|
void |
check(List<CheckResultInterface> remarks,
TransMeta transMeta,
StepMeta stepMeta,
RowMetaInterface prev,
String[] input,
String[] output,
RowMetaInterface info)
Checks the settings of this step and puts the findings in a remarks List. |
Object |
clone()
Make an exact copy of this step, make sure to explicitly copy Collections etc. |
String |
getChannelAuthor()
|
String |
getChannelCopyright()
|
String[] |
getChannelCustomFields()
|
String[] |
getChannelCustomTags()
|
String |
getChannelDescription()
|
String |
getChannelImageDescription()
|
String |
getChannelImageLink()
|
String |
getChannelImageTitle()
|
String |
getChannelImageUrl()
|
String |
getChannelLanguage()
|
String |
getChannelLink()
|
String |
getChannelPubDate()
|
String |
getChannelTitle()
|
String |
getEncoding()
|
String |
getExtension()
|
String |
getFileName()
|
String |
getFileNameField()
|
String[] |
getFiles(VariableSpace space)
|
String |
getGeoPointLat()
|
String |
getGeoPointLong()
|
String |
getItemAuthor()
|
String[] |
getItemCustomFields()
|
String[] |
getItemCustomTags()
|
String |
getItemDescription()
|
String |
getItemLink()
|
String |
getItemPubDate()
|
String |
getItemTitle()
|
String[] |
getNameSpaces()
|
String[] |
getNameSpacesTitle()
|
StepInterface |
getStep(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int cnr,
TransMeta tr,
Trans trans)
Get the executing step, needed by Trans to launch a step. |
StepDataInterface |
getStepData()
Get a new instance of the appropriate data class. |
String |
getVersion()
|
String |
getXML()
Produces the XML string that describes this step's information. |
boolean |
isCreateParentFolder()
|
boolean |
isCustomRss()
|
boolean |
isDateInFilename()
|
boolean |
isDisplayItem()
|
boolean |
isFilenameInField()
|
boolean |
isStepNrInFilename()
|
boolean |
isTimeInFilename()
|
void |
loadXML(Node stepnode,
List<DatabaseMeta> databases,
Map<String,Counter> counters)
Load the values for this step from an XML Node |
void |
readRep(Repository rep,
ObjectId id_step,
List<DatabaseMeta> databases,
Map<String,Counter> counters)
Read the steps information from a Kettle repository |
void |
saveRep(Repository rep,
ObjectId id_transformation,
ObjectId id_step)
Save the steps data into a Kettle repository |
void |
setAddGeoRSS(boolean addgeorss)
|
void |
setAddImage(boolean addimage)
|
void |
setAddToResult(boolean AddToResult)
|
void |
setChannelAuthor(String channelauthor)
|
void |
setChannelCopyright(String channelcopyright)
|
void |
setChannelCustomFields(String[] ChannelCustomFields)
|
void |
setChannelCustomTags(String[] ChannelCustomTags)
|
void |
setChannelDescription(String channeldescription)
|
void |
setChannelImageDescription(String channelimagedescription)
|
void |
setChannelImageLink(String channelimagelink)
|
void |
setChannelImageTitle(String channelimagetitle)
|
void |
setChannelImageUrl(String channelimageurl)
|
void |
setChannelLanguage(String channellanguage)
|
void |
setChannelLink(String channellink)
|
void |
setChannelPubDate(String channelpubdate)
|
void |
setChannelTitle(String channeltitle)
|
void |
setCreateParentFolder(boolean createparentfolder)
|
void |
setCustomRss(boolean customrss)
|
void |
setDateInFilename(boolean dateInFilename)
|
void |
setDefault()
Set default values |
void |
setDisplayItem(boolean displayitem)
|
void |
setEncoding(String encoding)
|
void |
setExtension(String extension)
|
void |
setFileName(String fileName)
|
void |
setFileNameField(String filenamefield)
|
void |
setFilenameInField(boolean isfilenameinfield)
|
void |
setGeoPointLat(String geopointlat)
|
void |
setGeoPointLong(String geopointlong)
|
void |
setItemAuthor(String itemauthor)
|
void |
setItemCustomFields(String[] ItemCustomTags)
|
void |
setItemCustomTags(String[] ItemCustomTags)
|
void |
setItemDescription(String itemdescription)
|
void |
setItemLink(String itemlink)
|
void |
setItemPubDate(String itempubdate)
|
void |
setItemTitle(String itemtitle)
|
void |
setNameSpaces(String[] NameSpaces)
|
void |
setNameSpacesTitle(String[] NameSpacesTitle)
|
void |
setStepNrInFilename(boolean stepNrInFilename)
|
void |
setTimeInFilename(boolean timeInFilename)
|
void |
setUseGeoRSSGML(boolean usegeorssgml)
|
void |
setVersion(String version)
|
boolean |
useGeoRSSGML()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RssOutputMeta()
Method Detail |
---|
public void loadXML(Node stepnode, List<DatabaseMeta> databases, Map<String,Counter> counters) throws KettleXMLException
StepMetaInterface
loadXML
in interface StepMetaInterface
stepnode
- the Node to get the info fromdatabases
- The available list of databases to reference tocounters
- Counters to reference.
KettleXMLException
- When an unexpected XML error occurred. (malformed etc.)public Object clone()
StepMetaInterface
clone
in interface StepMetaInterface
clone
in class BaseStepMeta
public void allocate(int nrfields)
public void allocateitem(int nrfields)
public void allocatenamespace(int nrnamespaces)
public String getVersion()
public void setVersion(String version)
version
- The version to set.public String getEncoding()
public void setEncoding(String encoding)
encoding
- The encoding to set.public String getFileNameField()
public void setFileNameField(String filenamefield)
encoding
- The encoding to set.public String getExtension()
public void setExtension(String extension)
extension
- The extension to set.public String getFileName()
public boolean isStepNrInFilename()
public void setStepNrInFilename(boolean stepNrInFilename)
stepNrInFilename
- The stepNrInFilename to set.public boolean isTimeInFilename()
public boolean isDateInFilename()
public void setDateInFilename(boolean dateInFilename)
dateInFilename
- The dateInFilename to set.public void setTimeInFilename(boolean timeInFilename)
timeInFilename
- The timeInFilename to set.public void setFileName(String fileName)
fileName
- The fileName to set.public boolean AddToResult()
public void setAddToResult(boolean AddToResult)
AddToResult
- The Add file to result to set.public void setCustomRss(boolean customrss)
customrss
- The custom RSS flag to set.public boolean isCustomRss()
public void setDisplayItem(boolean displayitem)
displayitem
- The display itema ta flag.public boolean isDisplayItem()
public boolean AddImage()
public void setAddImage(boolean addimage)
addimage
- The addimage to set.public boolean AddGeoRSS()
public void setAddGeoRSS(boolean addgeorss)
addgeorss
- The addgeorss to set.public boolean useGeoRSSGML()
public void setUseGeoRSSGML(boolean usegeorssgml)
usegeorssgml
- The usegeorssgml to set.public boolean isFilenameInField()
public void setFilenameInField(boolean isfilenameinfield)
isfilenameinfield
- The isfilenameinfield to set.public String[] getChannelCustomFields()
public void setChannelCustomFields(String[] ChannelCustomFields)
ChannelCustomFields
- The ChannelCustomFields to set.public String[] getNameSpaces()
public void setNameSpaces(String[] NameSpaces)
NameSpaces
- The NameSpaces to set.public String[] getNameSpacesTitle()
public void setNameSpacesTitle(String[] NameSpacesTitle)
NameSpacesTitle
- The NameSpacesTitle to set.public String[] getChannelCustomTags()
public void setChannelCustomTags(String[] ChannelCustomTags)
getChannelCustomTags
- The getChannelCustomTags to set.public String[] getItemCustomTags()
public void setItemCustomTags(String[] ItemCustomTags)
getChannelCustomTags
- The getChannelCustomTags to set.public String[] getItemCustomFields()
public void setItemCustomFields(String[] ItemCustomTags)
getChannelCustomTags
- The getChannelCustomTags to set.public boolean isCreateParentFolder()
public void setCreateParentFolder(boolean createparentfolder)
createparentfolder
- The create parent folder flag to set.public String[] getFiles(VariableSpace space) throws KettleStepException
KettleStepException
public String buildFilename(VariableSpace space, int stepnr) throws KettleStepException
KettleStepException
public void setDefault()
StepMetaInterface
setDefault
in interface StepMetaInterface
public String getXML()
BaseStepMeta
getXML
in interface StepMetaInterface
getXML
in class BaseStepMeta
public void readRep(Repository rep, ObjectId id_step, List<DatabaseMeta> databases, Map<String,Counter> counters) throws KettleException
StepMetaInterface
readRep
in interface StepMetaInterface
rep
- The repository to read fromid_step
- The step IDdatabases
- The databases to referencecounters
- The counters to reference
KettleException
- When an unexpected error occurred (database, network, etc)public void saveRep(Repository rep, ObjectId id_transformation, ObjectId id_step) throws KettleException
StepMetaInterface
saveRep
in interface StepMetaInterface
rep
- The Kettle repository to save toid_transformation
- The transformation IDid_step
- The step ID
KettleException
- When an unexpected error occurred (database, network, etc)public void check(List<CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepMeta, RowMetaInterface prev, String[] input, String[] output, RowMetaInterface info)
StepMetaInterface
check
in interface StepMetaInterface
remarks
- The list to put the remarks in @see org.pentaho.di.core.CheckResultstepMeta
- The stepMeta to help checkingprev
- The fields coming from the previous stepinput
- The input step namesoutput
- The output step namesinfo
- The fields that are used as information by the steppublic StepDataInterface getStepData()
StepMetaInterface
getStepData
in interface StepMetaInterface
public String getChannelTitle()
public String getChannelDescription()
public String getChannelLink()
public String getChannelPubDate()
public String getChannelImageLink()
public String getChannelImageUrl()
public String getChannelImageDescription()
public String getChannelImageTitle()
public String getChannelLanguage()
public String getChannelAuthor()
public void setChannelAuthor(String channelauthor)
channelauthor
- the channelauthor to setpublic void setChannelTitle(String channeltitle)
channeltitle
- the channeltitle to setpublic void setChannelLink(String channellink)
channellink
- the channellink to setpublic void setChannelPubDate(String channelpubdate)
channelpubdate
- the channelpubdate to setpublic void setChannelImageTitle(String channelimagetitle)
channelimagetitle
- the channelimagetitle to setpublic void setChannelImageLink(String channelimagelink)
channelimagelink
- the channelimagelink to setpublic void setChannelImageUrl(String channelimageurl)
channelimageurl
- the channelimageurl to setpublic void setChannelImageDescription(String channelimagedescription)
channelimagedescription
- the channelimagedescription to setpublic void setChannelLanguage(String channellanguage)
channellanguage
- the channellanguage to setpublic void setChannelDescription(String channeldescription)
channeldescription
- the channeldescription to setpublic String getItemTitle()
public String getGeoPointLat()
public void setGeoPointLat(String geopointlat)
geopointlat
- the geopointlat to setpublic String getGeoPointLong()
public void setGeoPointLong(String geopointlong)
geopointlong
- the geopointlong to setpublic String getItemDescription()
public String getItemLink()
public String getItemPubDate()
public String getItemAuthor()
public void setItemTitle(String itemtitle)
itemtitle
- the itemtitle to setpublic void setItemDescription(String itemdescription)
itemdescription
- the itemdescription to setpublic void setItemLink(String itemlink)
itemlink
- the itemlink to setpublic void setItemPubDate(String itempubdate)
itempubdate
- the itempubdate to setpublic void setItemAuthor(String itemauthor)
itemauthor
- the itemauthor to setpublic String getChannelCopyright()
public void setChannelCopyright(String channelcopyright)
channelcopyright
- the channelcopyright to setpublic StepInterface getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta tr, Trans trans)
StepMetaInterface
getStep
in interface StepMetaInterface
stepMeta
- The step infostepDataInterface
- the step data interface linked to this step. Here the step can store temporary data, database connections, etc.cnr
- The copy nr to gettr
- The transformation infotrans
- The launching transformation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |