org.pentaho.di.trans.steps.getxmldata
Class GetXMLDataField
java.lang.Object
org.pentaho.di.trans.steps.getxmldata.GetXMLDataField
- All Implemented Interfaces:
- Cloneable
public class GetXMLDataField
- extends Object
- implements Cloneable
Describes an XML field and the position in an XML field.
- Since:
- 20-06-2007
- Author:
- Samatar, Brahim
RESULT_TYPE_VALUE_OF
public static final int RESULT_TYPE_VALUE_OF
- See Also:
- Constant Field Values
RESULT_TYPE_TYPE_SINGLE_NODE
public static final int RESULT_TYPE_TYPE_SINGLE_NODE
- See Also:
- Constant Field Values
ResultTypeCode
public static final String[] ResultTypeCode
ResultTypeDesc
public static final String[] ResultTypeDesc
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
ELEMENT_TYPE_NODE
public static final int ELEMENT_TYPE_NODE
- See Also:
- Constant Field Values
ELEMENT_TYPE_ATTRIBUT
public static final int ELEMENT_TYPE_ATTRIBUT
- See Also:
- Constant Field Values
trimTypeCode
public static final String[] trimTypeCode
trimTypeDesc
public static final String[] trimTypeDesc
ElementTypeCode
public static final String[] ElementTypeCode
ElementOldTypeCode
public static final String[] ElementOldTypeCode
ElementTypeDesc
public static final String[] ElementTypeDesc
GetXMLDataField
public GetXMLDataField(String fieldname)
GetXMLDataField
public GetXMLDataField()
GetXMLDataField
public GetXMLDataField(Node fnode)
throws KettleValueException
- Throws:
KettleValueException
getXML
public String getXML()
getTrimTypeByCode
public static final int getTrimTypeByCode(String tt)
getElementTypeByCode
public static final int getElementTypeByCode(String tt)
getTrimTypeByDesc
public static final int getTrimTypeByDesc(String tt)
getElementTypeByDesc
public static final int getElementTypeByDesc(String tt)
getTrimTypeCode
public static final String getTrimTypeCode(int i)
getElementTypeCode
public static final String getElementTypeCode(int i)
getTrimTypeDesc
public static final String getTrimTypeDesc(int i)
getElementTypeDesc
public static final String getElementTypeDesc(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()
getXPath
public String getXPath()
setXPath
public void setXPath(String fieldxpath)
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()
getElementType
public int getElementType()
getTrimTypeCode
public String getTrimTypeCode()
getElementTypeCode
public String getElementTypeCode()
getTrimTypeDesc
public String getTrimTypeDesc()
getElementTypeDesc
public String getElementTypeDesc()
setTrimType
public void setTrimType(int trimtype)
setElementType
public void setElementType(int element_type)
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()
getResultTypeByDesc
public static final int getResultTypeByDesc(String tt)
getResultTypeDesc
public String getResultTypeDesc()
getResultTypeDesc
public static final String getResultTypeDesc(int i)
getResultType
public int getResultType()
setResultType
public void setResultType(int resulttype)
getResultTypeByCode
public static final int getResultTypeByCode(String tt)
getResultTypeCode
public static final String getResultTypeCode(int i)
getResultTypeCode
public String getResultTypeCode()