Code example for Text

Methods: getWholeText

0
 
  public String getId() { return xml.getAttribute("id"); }
 
  public int getMidiProgram() { 
    if (midiProgram != null)
      return Integer.parseInt(midiProgram.getWholeText()) - 1;
    return 0; 
  } 
 
  public int getMidiChannel() { 
    if (midiChannel != null)
      return Integer.parseInt(midiChannel.getWholeText()) - 1;
    return 0; 
  } 
} 
 
Connect your IDE to all the code out there  Get Codota for Java