protected SortedMap<String, String> getProperties(ITextNode[]nodes, String language, Status[] status) {
    TreeMap<String, String> map = new TreeMap<>();
    for (ITextNode node : nodes) {
      IValueNode valueNode = node.getValueNode(language);
      if (valueNode != null) {
        if (status == null || TremaCoreUtil.containsStatus(valueNode.getStatus(), status)) {
          IKeyValuePair keyValuePair = new KeyValuePair(node.getKey(), valueNode.getValue());
          if (iExportFilters != null) {
            for (IExportFilter filter : iExportFilters) {
              filter.filter(keyValuePair);
            }
          }
          map.put(keyValuePair.getKey(), keyValuePair.getValue());
        }
      }
    }
    return map;
  }
protected SortedMap < String , String > getProperties ( ITextNode [ ] nodes , String language , Status [ ] status ) { TreeMap < String , String > map = new TreeMap < > ( ) ; for ( ITextNode node : nodes ) { IValueNode valueNode = node . getValueNode ( language ) ; if ( valueNode != null ) { if ( status == null || TremaCoreUtil . containsStatus ( valueNode . getStatus ( ) , status ) ) { IKeyValuePair keyValuePair = new KeyValuePair ( node . getKey ( ) , valueNode . getValue ( ) ) ; if ( iExportFilters != null ) { for ( IExportFilter filter : iExportFilters ) { filter . filter ( keyValuePair ) ; } } map . put ( keyValuePair . getKey ( ) , keyValuePair . getValue ( ) ) ; } } } return map ; }
Constructs a {@link SortedMap} form the database with
the given language and status to export.
@param nodes the nodes
@param language the language
@param status the states
@return the {@link SortedMap} containing the keys and translations