Package org.apache.padaf.xmpbox.type

Examples of org.apache.padaf.xmpbox.type.TextType


   *
   * @param name
   *            The value to set
   */
  public void setNameValue(String name) {
    content.addProperty(new TextType(metadata, PDFAPROPPREFIX, NAME, name));
  }
View Full Code Here


   *
   * @param type
   *            The value to set
   */
  public void setValueTypeValue(String type) {
    content.addProperty(new TextType(metadata, PDFAPROPPREFIX, VALUETYPE,
        type));
  }
View Full Code Here

   * @throws BadFieldValueException
   *             if category value not 'internal' or 'external'
   */
  public void setCategoryValue(String category) throws BadFieldValueException {
    if (category.equals("external") || category.equals("internal")) {
      content.addProperty(new TextType(metadata, PDFAPROPPREFIX,
          CATEGORY, category));
    } else {
      throw new BadFieldValueException(
          "Unexpected value '"
              + category
View Full Code Here

   *
   * @param desc
   *            The value to set
   */
  public void setDescriptionValue(String desc) {
    content.addProperty(new TextType(metadata, PDFAPROPPREFIX, DESCRIPTION,
        desc));
  }
View Full Code Here

   * Return the WebStatement URL as String.
   *
   * @return webStatement URL value
   */
  public String getWebStatementValue() {
    TextType tt = ((TextType) getProperty(localPrefixSep + WEBSTATEMENT));
    return tt == null ? null : tt.getStringValue();
  }
View Full Code Here

   *
   * @param url
   *            WebStatemen url value to set
   */
  public void setWebStatementValue(String url) {
    addProperty(new TextType(metadata, localPrefix, WEBSTATEMENT, url));
  }
View Full Code Here

   * Return the Certificate URL as String.
   *
   * @return certificate URL value
   */
  public String getCertificateValue() {
    TextType tt = ((TextType) getProperty(localPrefixSep + CERTIFICATE));
    return tt == null ? null : tt.getStringValue();
  }
View Full Code Here

   *
   * @param url
   *            certficate url value to set
   */
  public void setCertificateValue(String url) {
    addProperty(new TextType(metadata, localPrefix, CERTIFICATE, url));
  }
View Full Code Here

   * @param name
   *            The value to set
   */
  public void setNameValue(String name) {
    content
        .addProperty(new TextType(metadata, PDFAFIELDPREFIX, NAME, name));
  }
View Full Code Here

   *
   * @param valueType
   *            The value to set
   */
  public void setValueTypeValue(String valueType) {
    content.addProperty(new TextType(metadata, PDFAFIELDPREFIX, VALUETYPE,
        valueType));
  }
View Full Code Here

TOP

Related Classes of org.apache.padaf.xmpbox.type.TextType

Copyright © 2018 www.massapicom. 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.