static void appendLangItem(XMPNode arrayNode,String itemLang,String itemValue) throws XMPException {
  XMPNode newItem=new XMPNode(ARRAY_ITEM_NAME,itemValue,null);
  XMPNode langQual=new XMPNode(XML_LANG,itemLang,null);
  newItem.addQualifier(langQual);
  if (!X_DEFAULT.equals(langQual.getValue())) {
    arrayNode.addChild(newItem);
  }
 else {
    arrayNode.addChild(1,newItem);
  }
}

static void appendLangItem ( XMPNode arrayNode , String itemLang , String itemValue ) throws XMPException { XMPNode newItem = new XMPNode ( ARRAY_ITEM_NAME , itemValue , null ) ; XMPNode langQual = new XMPNode ( XML_LANG , itemLang , null ) ; newItem . addQualifier ( langQual ) ; if ( ! X_DEFAULT . equals ( langQual . getValue ( ) ) ) { arrayNode . addChild ( newItem ) ; } else { arrayNode . addChild ( 1 , newItem ) ; } }
appends a language item to an alt text array .
