code: Format identifyFormat( String pom )
      {
          for ( String separator : LINE_SEPARATORS )
          {
              if ( pom.contains( separator ) )
              {
                  return new Format( separator );
              }
          }
  
          throw new IllegalArgumentException( "The pom.xml has no known line separator." );
      }
docs: Identifies the output format for the given POM.
  
  @param pom the POM.
  @return the output format.