code: public static final StyleMap assignDOM(Document doc, String encoding,
              URL base, String media, boolean useInheritance, final MatchCondition matchCond) {
          
          return assignDOM(doc, encoding, base, new MediaSpec(media), useInheritance, matchCond);
      }
docs: This is the same as {@link CSSFactory#assignDOM(Document, String, URL, MediaSpec, boolean)} but only the
  media type is provided instead of the complete media specification.
  
  @param doc
  DOM tree
  @param encoding
  The default encoding used for the referenced style sheets
  @param base
  Base URL against which all files are searched
  @param media
  Selected media type for style sheet
  @param useInheritance
  Whether inheritance will be used to determine values
  @param matchCond
  The match condition to match the against.
  @return Map between DOM element nodes and data structure containing CSS
  information