org.pentaho.di.trans.steps.rssinput
Class RssInputField

java.lang.Object
  extended by org.pentaho.di.trans.steps.rssinput.RssInputField
All Implemented Interfaces:
Cloneable

public class RssInputField
extends Object
implements Cloneable

Describes an RssInput field

Since:
13-10-2007
Author:
Samatar Hassan

Field Summary
static int COLUMN_COMMENTS
           
static int COLUMN_DESCRIPTION_AS_HTML
           
static int COLUMN_DESCRIPTION_AS_TEXT
           
static int COLUMN_GUID
           
static int COLUMN_LINK
           
static int COLUMN_PUB_DATE
           
static int COLUMN_TITLE
           
static String[] ColumnCode
           
static String[] ColumnDesc
           
static String[] trimTypeCode
           
static String[] trimTypeDesc
           
static int TYPE_TRIM_BOTH
           
static int TYPE_TRIM_LEFT
           
static int TYPE_TRIM_NONE
           
static int TYPE_TRIM_RIGHT
           
 
Constructor Summary
RssInputField()
           
RssInputField(Node fnode)
           
RssInputField(String fieldname)
           
 
Method Summary
 Object clone()
           
 void flipRepeated()
           
 int getColumn()
           
static int getColumnByCode(String tt)
           
static int getColumnByDesc(String tt)
           
 String getColumnCode()
           
static String getColumnCode(int i)
           
 String getColumnDesc()
           
static String getColumnDesc(int i)
           
 String getCurrencySymbol()
           
 String getDecimalSymbol()
           
 String getFormat()
           
 String getGroupSymbol()
           
 int getLength()
           
 String getName()
           
 int getPrecision()
           
 int getTrimType()
           
static int getTrimTypeByCode(String tt)
           
static int getTrimTypeByDesc(String tt)
           
 String getTrimTypeCode()
           
static String getTrimTypeCode(int i)
           
 String getTrimTypeDesc()
           
static String getTrimTypeDesc(int i)
           
 int getType()
           
 String getTypeDesc()
           
 String getXML()
           
 void guess()
           
 boolean isRepeated()
           
 void setColumn(int column)
           
 void setCurrencySymbol(String currency_symbol)
           
 void setDecimalSymbol(String decimal_symbol)
           
 void setFormat(String format)
           
 void setGroupSymbol(String group_symbol)
           
 void setLength(int length)
           
 void setName(String fieldname)
           
 void setPrecision(int precision)
           
 void setRepeated(boolean repeat)
           
 void setTrimType(int trimtype)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_TRIM_NONE

public static final int TYPE_TRIM_NONE
See Also:
Constant Field Values

TYPE_TRIM_LEFT

public static final int TYPE_TRIM_LEFT
See Also:
Constant Field Values

TYPE_TRIM_RIGHT

public static final int TYPE_TRIM_RIGHT
See Also:
Constant Field Values

TYPE_TRIM_BOTH

public static final int TYPE_TRIM_BOTH
See Also:
Constant Field Values

COLUMN_TITLE

public static final int COLUMN_TITLE
See Also:
Constant Field Values

COLUMN_LINK

public static final int COLUMN_LINK
See Also:
Constant Field Values

COLUMN_DESCRIPTION_AS_TEXT

public static final int COLUMN_DESCRIPTION_AS_TEXT
See Also:
Constant Field Values

COLUMN_DESCRIPTION_AS_HTML

public static final int COLUMN_DESCRIPTION_AS_HTML
See Also:
Constant Field Values

COLUMN_COMMENTS

public static final int COLUMN_COMMENTS
See Also:
Constant Field Values

COLUMN_GUID

public static final int COLUMN_GUID
See Also:
Constant Field Values

COLUMN_PUB_DATE

public static final int COLUMN_PUB_DATE
See Also:
Constant Field Values

trimTypeCode

public static final String[] trimTypeCode

trimTypeDesc

public static final String[] trimTypeDesc

ColumnCode

public static final String[] ColumnCode

ColumnDesc

public static final String[] ColumnDesc
Constructor Detail

RssInputField

public RssInputField(String fieldname)

RssInputField

public RssInputField()

RssInputField

public RssInputField(Node fnode)
              throws KettleValueException
Throws:
KettleValueException
Method Detail

getXML

public String getXML()

getTrimTypeByCode

public static final int getTrimTypeByCode(String tt)

getColumnByCode

public static final int getColumnByCode(String tt)

getTrimTypeByDesc

public static final int getTrimTypeByDesc(String tt)

getColumnByDesc

public static final int getColumnByDesc(String tt)

getColumnDesc

public static final String getColumnDesc(int i)

getTrimTypeCode

public static final String getTrimTypeCode(int i)

getColumnCode

public static final String getColumnCode(int i)

getTrimTypeDesc

public static final String getTrimTypeDesc(int i)

clone

public Object clone()
Overrides:
clone in class Object

getLength

public int getLength()

setLength

public void setLength(int length)

getName

public String getName()

setName

public void setName(String fieldname)

getType

public int getType()

getTypeDesc

public String getTypeDesc()

setType

public void setType(int type)

getFormat

public String getFormat()

setFormat

public void setFormat(String format)

getTrimType

public int getTrimType()

getColumn

public int getColumn()

getTrimTypeCode

public String getTrimTypeCode()

getColumnCode

public String getColumnCode()

getTrimTypeDesc

public String getTrimTypeDesc()

getColumnDesc

public String getColumnDesc()

setTrimType

public void setTrimType(int trimtype)

setColumn

public void setColumn(int column)

getGroupSymbol

public String getGroupSymbol()

setGroupSymbol

public void setGroupSymbol(String group_symbol)

getDecimalSymbol

public String getDecimalSymbol()

setDecimalSymbol

public void setDecimalSymbol(String decimal_symbol)

getCurrencySymbol

public String getCurrencySymbol()

setCurrencySymbol

public void setCurrencySymbol(String currency_symbol)

getPrecision

public int getPrecision()

setPrecision

public void setPrecision(int precision)

isRepeated

public boolean isRepeated()

setRepeated

public void setRepeated(boolean repeat)

flipRepeated

public void flipRepeated()

guess

public void guess()