Class Element

java.lang.Object
com.jedox.etl.components.scriptapi.Element

public class Element extends Object
An element of a tree-based source, represents an IElement.
  • Method Details

    • getName

      public String getName()
      Returns the name of this element.
      Returns:
      the element name
    • getType

      public IElement.ElementType getType()
      Returns the type of this element.
      Returns:
      the IElement.ElementType
    • getAttributeValue

      public Object getAttributeValue(String attributeName)
      Returns the value of an attribute of this element.
      Parameters:
      attributeName - name of the attribute
      Returns:
      the value of the attribute
    • getChildren

      public Element[] getChildren()
      Returns the children of this element.
      Returns:
      the array of child elements
    • getParents

      public Element[] getParents()
      Returns the parents of this element.
      Returns:
      the array of parent elements
    • getChildCount

      public int getChildCount()
      Returns the number of children of this element.
      Returns:
      the number of children
    • getParentCount

      public int getParentCount()
      Returns the number of parents of this element.
      Returns:
      the number of parents
    • getPosition

      public int getPosition()
      Returns the position of this element in a tree.
      Returns:
      the position in a tree as a positive integer value