Examples of addLanguage()


Examples of org.apache.xmlgraphics.xmp.schemas.DublinCoreAdapter.addLanguage()

            //Subject maps to dc:description["x-default"] as per ISO-19005-1:2005/Cor.1:2007
            dc.setDescription(null, info.getSubject());
        }
        if (root.getLanguage() != null) {
            //Note: No check is performed to make sure the value is valid RFC 3066!
            dc.addLanguage(root.getLanguage());
        }
        dc.addDate(info.getCreationDate());

        //PDF/A identification
        PDFAMode pdfaMode = pdfDoc.getProfile().getPDFAMode();
View Full Code Here

Examples of org.apache.xmlgraphics.xmp.schemas.DublinCoreAdapter.addLanguage()

            //Subject maps to dc:description["x-default"] as per ISO-19005-1:2005/Cor.1:2007
            dc.setDescription(null, info.getSubject());
        }
        if (root.getLanguage() != null) {
            //Note: No check is performed to make sure the value is valid RFC 3066!
            dc.addLanguage(root.getLanguage());
        }
        dc.addDate(info.getCreationDate());

        //Somewhat redundant but some PDF/A checkers issue a warning without this.
        dc.setFormat("application/pdf");
View Full Code Here

Examples of org.apache.xmlgraphics.xmp.schemas.DublinCoreAdapter.addLanguage()

            //Subject maps to dc:description["x-default"] as per ISO-19005-1:2005/Cor.1:2007
            dc.setDescription(null, info.getSubject());
        }
        if (root.getLanguage() != null) {
            //Note: No check is performed to make sure the value is valid RFC 3066!
            dc.addLanguage(root.getLanguage());
        }
        dc.addDate(info.getCreationDate());

        //PDF/A identification
        PDFAMode pdfaMode = pdfDoc.getProfile().getPDFAMode();
View Full Code Here

Examples of org.w3c.www.http.HttpAcceptLanguageList.addLanguage()

  } else if (hvalue instanceof HttpAcceptEncodingList) {
      HttpAcceptEncodingList ael = (HttpAcceptEncodingList) hvalue;
      ael.addEncoding(HttpFactory.parseAcceptEncoding(value));
  } else if (hvalue instanceof HttpAcceptLanguageList) {
      HttpAcceptLanguageList all = (HttpAcceptLanguageList) hvalue;
      all.addLanguage(HttpFactory.parseAcceptLanguage(value));
  } else if (hvalue instanceof HttpAcceptList) {
      HttpAcceptList al = (HttpAcceptList) hvalue;
      al.addAccept(HttpFactory.parseAccept(value));
  } else if (hvalue instanceof HttpEntityTagList) {
      HttpEntityTagList etl = (HttpEntityTagList) hvalue;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.