| Modifier and Type | Field and Description |
|---|---|
static String |
NR_MARKER |
static int |
XML_ATTRIBUTE |
static int |
XML_ELEMENT |
static int |
XML_ROOT |
| Constructor and Description |
|---|
XMLInputFieldPosition(String encoded)
Construnct a new XMLFieldPosition based on an a code: E=Elementame, A=Attributename
|
XMLInputFieldPosition(String name,
int type)
Create a new XML Input Field position.
|
XMLInputFieldPosition(String name,
int type,
int elementNr)
Create a new XML Input Field position.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
static String |
encodePath(List<XMLInputFieldPosition> path)
Encode the path to an XML element or attribute
|
int |
getElementNr() |
String |
getName() |
int |
getType() |
void |
setElementNr(int elementNr) |
void |
setName(String name) |
void |
setType(int type) |
String |
toString() |
public static final int XML_ELEMENT
public static final int XML_ATTRIBUTE
public static final int XML_ROOT
public static final String NR_MARKER
public XMLInputFieldPosition(String name, int type)
name - the name of the element or attributetype - Element or Attribute (XML_ELEMENT, XML_ATTRIBUTE)public XMLInputFieldPosition(String name, int type, int elementNr)
name - the name of the element or attributetype - Element or Attribute (XML_ELEMENT, XML_ATTRIBUTE)elementNr - the element number to pick.public XMLInputFieldPosition(String encoded) throws org.pentaho.di.core.exception.KettleValueException
encoded - org.pentaho.di.core.exception.KettleValueExceptionpublic String getName()
public void setName(String name)
name - The name to set.public int getType()
public void setType(int type)
type - The type to set.public int getElementNr()
public void setElementNr(int elementNr)
elementNr - The elementNr to set.public static final String encodePath(List<XMLInputFieldPosition> path)
path - An ArrayList of XMLInputFieldPosition