Package org.apache.padaf.xmpbox.type

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


   * Give the producer property value (string)
   *
   * @return The property value
   */
  public String getProducerValue() {
    AbstractField tmp = getProperty(localPrefixSep + PRODUCER);
    if (tmp != null) {
      if (tmp instanceof TextType) {
        return ((TextType) tmp).getStringValue();
      }
    }
View Full Code Here


   * Give the PDFAVersionId (as an integer)
   *
   * @return Part value (Integer)
   */
  public Integer getPartValue() {
    AbstractField tmp = getPart();
    if (tmp != null) {
      if (tmp instanceof IntegerType) {
        return ((IntegerType) tmp).getValue();
      }
      return null;
View Full Code Here

   * Give the property corresponding to the PDFA Version id
   *
   * @return Part property
   */
  public IntegerType getPart() {
    AbstractField tmp = getProperty(IDPREFIXSEP + PART);
    if (tmp != null) {
      if (tmp instanceof IntegerType) {
        return (IntegerType) tmp;
      }
    }
View Full Code Here

   * Give the PDFAAmendmentId (as an String)
   *
   * @return Amendment value
   */
  public String getAmendmentValue() {
    AbstractField tmp = getProperty(IDPREFIXSEP + AMD);
    if (tmp != null) {
      if (tmp instanceof TextType) {
        return ((TextType) tmp).getStringValue();
      }
    }
View Full Code Here

   * Give the property corresponding to the PDFA Amendment id
   *
   * @return Amendment property
   */
  public TextType getAmd() {
    AbstractField tmp = getProperty(IDPREFIXSEP + AMD);
    if (tmp != null) {
      if (tmp instanceof TextType) {
        return (TextType) tmp;
      }
    }
View Full Code Here

   * Give the property corresponding to the PDFA Conformance id
   *
   * @return conformance property
   */
  public TextType getConformance() {
    AbstractField tmp = getProperty(IDPREFIXSEP + CONFORMANCE);
    if (tmp != null) {
      if (tmp instanceof TextType) {
        return (TextType) tmp;
      }
    }
View Full Code Here

   *            the name of property wanted
   * @return property value
   */
  private String getPropertyValue(String qualifiedName) {
    Iterator<AbstractField> it = content.getAllProperties().iterator();
    AbstractField tmp;
    while (it.hasNext()) {
      tmp = it.next();
      if (tmp.getQualifiedName().equals(qualifiedName)) {
        return ((TextType) tmp).getStringValue();
      }
    }
    return null;
  }
View Full Code Here

   *            the Name of property wanted
   * @return the property wanted
   */
  private TextType getProperty(String qualifiedName) {
    Iterator<AbstractField> it = content.getAllProperties().iterator();
    AbstractField tmp;
    while (it.hasNext()) {
      tmp = it.next();
      if (tmp.getQualifiedName().equals(qualifiedName)) {
        return (TextType) tmp;
      }
    }
    return null;
  }
View Full Code Here

   *            The value to get
   * @return the Value Type of specified field
   */
  private String getFieldPropertyValue(String qualifiedName) {
    Iterator<AbstractField> it = content.getAllProperties().iterator();
    AbstractField tmp;
    while (it.hasNext()) {
      tmp = it.next();
      if (tmp.getQualifiedName().equals(qualifiedName)) {
        return ((TextType) tmp).getStringValue();
      }
    }
    return null;
  }
View Full Code Here

   *            the nameproperty
   * @return the property wanted
   */
  private TextType getFieldProperty(String qualifiedName) {
    Iterator<AbstractField> it = content.getAllProperties().iterator();
    AbstractField tmp;
    while (it.hasNext()) {
      tmp = it.next();
      if (tmp.getQualifiedName().equals(qualifiedName)) {
        return (TextType) tmp;
      }
    }
    return null;
  }
View Full Code Here

TOP

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

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.