code: public static MapMapping createMapMapping( List<Element> inputElements ){
          if( inputElements == null || inputElements.isEmpty() ){
              return null;
          }
          MapMapping result = new MapMapping();
          for( Element element : inputElements ){
              String name = element.getString( 1 );
              result.addEntryMapping( name, createInputMapping( element.getObject( 0 ) ) );
          }
          return result;
      }
docs: Creates a {@link MapMapping} based on the list of input elements.
  Only supports {@link Type#ATTRIBUTE} elements.