gpt4 book ai didi

org.apache.xmpbox.schema.XMPBasicSchema类的使用及代码示例

转载 作者:知者 更新时间:2024-03-26 20:39:05 26 4
gpt4 key购买 nike

本文整理了Java中org.apache.xmpbox.schema.XMPBasicSchema类的一些代码示例,展示了XMPBasicSchema类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMPBasicSchema类的具体详情如下:
包路径:org.apache.xmpbox.schema.XMPBasicSchema
类名称:XMPBasicSchema

XMPBasicSchema介绍

[英]Representation of XMPBasic Schema
[中]XMPBasic模式的表示

代码示例

代码示例来源:origin: apache/pdfbox

/**
 * Create and add a XMP Basic schema to this metadata.
 * 
 * This method return the created schema to enter information
 * 
 * @return schema added in order to work on it
 */
public XMPBasicSchema createAndAddXMPBasicSchema()
{
  XMPBasicSchema xmpB = new XMPBasicSchema(this);
  xmpB.setAboutAsSimple("");
  addSchema(xmpB);
  return xmpB;
}

代码示例来源:origin: apache/pdfbox

/**
 * Set the base URL property
 * 
 * @param url
 *            the Base url property to set
 */
public void setBaseURLProperty(URLType url)
{
  addProperty(url);
}

代码示例来源:origin: apache/pdfbox

/**
 * Add a property specification that were edited outside the authoring application
 * 
 * @param xpath
 *            the value to add
 */
public void addAdvisory(String xpath)
{
  addQualifiedBagValue(ADVISORY, xpath);
}

代码示例来源:origin: ModeShape/modeshape

XMPBasicSchema basicSchema = xmp.getXMPBasicSchema();
if (basicSchema != null) {
  baseURL = basicSchema.getBaseURL();
  createDate = basicSchema.getCreateDate();
  creatorTool = basicSchema.getCreatorTool();
  if (basicSchema.getIdentifiers() != null) {
    identifier.addAll(basicSchema.getIdentifiers());
  metadataDate = basicSchema.getMetadataDate();
  modifyDate = basicSchema.getModifyDate();
  nickname = basicSchema.getNickname();
  rating = basicSchema.getRating();
  label = basicSchema.getLabel();
  return true;

代码示例来源:origin: apache/pdfbox

if (basic != null)
  display("Create Date:", basic.getCreateDate());
  display("Modify Date:", basic.getModifyDate());
  display("Creator Tool:", basic.getCreatorTool());

代码示例来源:origin: apache/pdfbox

basicSchema.setCreateDate(creationDate);
basicSchema.setModifyDate(creationDate);
basicSchema.setMetadataDate(creationDate);
basicSchema.setCreatorTool(creator);

代码示例来源:origin: apache/pdfbox

/**
 * Add thumbnail to thumbnails list
 * 
 * @param height
 *            height format
 * @param width
 *            width format
 * @param format
 *            thumbnail format
 * @param img
 *            Image data
 */
public void addThumbnails(Integer height, Integer width, String format, String img)
{
  if (altThumbs == null)
  {
    altThumbs = createArrayProperty(THUMBNAILS, Cardinality.Alt);
    addProperty(altThumbs);
  }
  ThumbnailType thumb = new ThumbnailType(getMetadata());
  thumb.setHeight(height);
  thumb.setWidth(width);
  thumb.setFormat(format);
  thumb.setImage(img);
  altThumbs.getContainer().addProperty(thumb);
}

代码示例来源:origin: apache/pdfbox

if (xmp != null)
  if (xmp.getCreatorToolProperty() == null)
    if (!xmp.getCreatorTool().equals(creatorTool))

代码示例来源:origin: apache/pdfbox

Calendar xmpCreationDate = xmp.getCreateDate();
  else if (hasTimeZone(xmp.getCreateDateProperty().getRawValue()) != 
      hasTimeZone(dico.getPropertyStringValue("CreationDate")))

代码示例来源:origin: apache/pdfbox

Calendar xmpModifyDate = xmp.getModifyDate();
if (xmpModifyDate == null)
  else if (hasTimeZone(xmp.getModifyDateProperty().getRawValue())
      != hasTimeZone(dico.getPropertyStringValue("ModDate")))

代码示例来源:origin: ZUGFeRD/mustangproject

xsb.setCreatorTool(creatorTool);
xsb.setCreateDate(GregorianCalendar.getInstance());

代码示例来源:origin: danfickle/openhtmltopdf

xmpBasicSchema.setCreateDate(information.getCreationDate());

代码示例来源:origin: org.apache.pdfbox/pdfbox-examples

if (basic != null)
  display("Create Date:", basic.getCreateDate());
  display("Modify Date:", basic.getModifyDate());
  display("Creator Tool:", basic.getCreatorTool());

代码示例来源:origin: apache/pdfbox

basicSchema.setModifyDate( info.getModificationDate() );
basicSchema.setCreateDate( info.getCreationDate() );
basicSchema.setCreatorTool( info.getCreator() );
basicSchema.setMetadataDate( new GregorianCalendar() );

代码示例来源:origin: org.apache.pdfbox/xmpbox

/**
 * Add thumbnail to thumbnails list
 * 
 * @param height
 *            height format
 * @param width
 *            width format
 * @param format
 *            thumbnail format
 * @param img
 *            Image data
 */
public void addThumbnails(Integer height, Integer width, String format, String img)
{
  if (altThumbs == null)
  {
    altThumbs = createArrayProperty(THUMBNAILS, Cardinality.Alt);
    addProperty(altThumbs);
  }
  ThumbnailType thumb = new ThumbnailType(getMetadata());
  thumb.setHeight(height);
  thumb.setWidth(width);
  thumb.setFormat(format);
  thumb.setImage(img);
  altThumbs.getContainer().addProperty(thumb);
}

代码示例来源:origin: com.github.lafa.pdfbox/preflight

if (xmp != null)
  if (xmp.getCreatorToolProperty() == null)
    if (!xmp.getCreatorTool().equals(creatorTool))

代码示例来源:origin: com.github.lafa.pdfbox/preflight

Calendar xmpCreationDate = xmp.getCreateDate();
  else if (hasTimeZone(xmp.getCreateDateProperty().getRawValue()) != 
      hasTimeZone(dico.getPropertyStringValue("CreationDate")))

代码示例来源:origin: com.github.lafa.pdfbox/preflight

Calendar xmpModifyDate = xmp.getModifyDate();
if (xmpModifyDate == null)
  else if (hasTimeZone(xmp.getModifyDateProperty().getRawValue())
      != hasTimeZone(dico.getPropertyStringValue("ModDate")))

代码示例来源:origin: com.openhtmltopdf/openhtmltopdf-pdfbox

xmpBasicSchema.setCreateDate(information.getCreationDate());

代码示例来源:origin: org.apache.pdfbox/pdfbox-examples

basicSchema.setCreateDate(creationDate);
basicSchema.setModifyDate(creationDate);
basicSchema.setMetadataDate(creationDate);
basicSchema.setCreatorTool(creator);

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com