/*
 * This file is released under terms of BSD license
 * See LICENSE file for more information
 */

package cx2x.xcodeml.xelement;

import org.w3c.dom.Element;

/**
 * The Xkind represents the kind (8.1) element in XcodeML intermediate
 * representation.
 * Elements: the base element can contains text data
 *
 * @author clementval
 */

public class Xkind extends XbaseElement {
  private String _value;

  /**
   * Xelement standard ctor. Pass the base element to the base class and read
   * inner information (elements and attributes).
   * @param baseElement The root element of the Xelement
   */
  public Xkind(Element baseElement){
    super(baseElement);
    _value = baseElement.getTextContent();
  }

  /**
   * Get the kind value.
   * @return Kind value as String.
   */
  public String getValue(){
    return _value;
  }

  /**
   * Set a new kind value.
   * @param value The new kind value.
   */
  public void setValue(String value){
    // TODO
  }
}

@@ -953,15 +953,79 @@
     
-// TODO
+if(baseElement != null)%7B%0A      baseElement.setTextContent(value);%0A    %7D
 %0A  %7D

Implement setValue