Search in sources :

Example 31 with TextType

use of org.apache.xmpbox.type.TextType in project pdfbox by apache.

the class PhotoshopSchema method setHistory.

public void setHistory(String text) {
    TextType tt = (TextType) instanciateSimple(HISTORY, text);
    setHistoryProperty(tt);
}
Also used : TextType(org.apache.xmpbox.type.TextType)

Example 32 with TextType

use of org.apache.xmpbox.type.TextType in project pdfbox by apache.

the class XMPBasicSchema method setLabel.

/**
 * set a word or a short phrase which identifies a document as a member of a user-defined collection
 *
 * @param text
 *            the label value to set
 */
public void setLabel(String text) {
    TextType tt = (TextType) instanciateSimple(LABEL, text);
    setLabelProperty(tt);
}
Also used : TextType(org.apache.xmpbox.type.TextType)

Example 33 with TextType

use of org.apache.xmpbox.type.TextType in project pdfbox by apache.

the class XMPMediaManagementSchema method setManagerVariant.

/**
 * Set ManagerVariant value
 *
 * @param value
 *            ManagerVariant value to set
 */
public void setManagerVariant(String value) {
    TextType tt = (TextType) instanciateSimple(MANAGERVARIANT, value);
    setManagerVariantProperty(tt);
}
Also used : TextType(org.apache.xmpbox.type.TextType)

Example 34 with TextType

use of org.apache.xmpbox.type.TextType in project pdfbox by apache.

the class XMPMediaManagementSchema method setRenditionParams.

/**
 * Set RenditionParams Value
 *
 * @param url
 *            RenditionParams Value to set
 */
public void setRenditionParams(String url) {
    TextType tt = (TextType) instanciateSimple(RENDITIONPARAMS, url);
    setRenditionParamsProperty(tt);
}
Also used : TextType(org.apache.xmpbox.type.TextType)

Example 35 with TextType

use of org.apache.xmpbox.type.TextType in project pdfbox by apache.

the class XMPMediaManagementSchema method setOriginalDocumentID.

/**
 * Set OriginalDocumentId value
 *
 * @param url
 *            OriginalDocumentId value to set
 */
public void setOriginalDocumentID(String url) {
    TextType tt = (TextType) instanciateSimple(ORIGINALDOCUMENTID, url);
    setOriginalDocumentIDProperty(tt);
}
Also used : TextType(org.apache.xmpbox.type.TextType)

Aggregations

TextType (org.apache.xmpbox.type.TextType)37 AbstractField (org.apache.xmpbox.type.AbstractField)5 ArrayProperty (org.apache.xmpbox.type.ArrayProperty)5 Test (org.junit.Test)4 Method (java.lang.reflect.Method)3 Attribute (org.apache.xmpbox.type.Attribute)3 XMPMetadata (org.apache.xmpbox.XMPMetadata)2 InputStream (java.io.InputStream)1 Calendar (java.util.Calendar)1 ValidationError (org.apache.pdfbox.preflight.ValidationResult.ValidationError)1 DublinCoreSchema (org.apache.xmpbox.schema.DublinCoreSchema)1 BadFieldValueException (org.apache.xmpbox.type.BadFieldValueException)1 BooleanType (org.apache.xmpbox.type.BooleanType)1 DateType (org.apache.xmpbox.type.DateType)1 IntegerType (org.apache.xmpbox.type.IntegerType)1 TypeMapping (org.apache.xmpbox.type.TypeMapping)1 URIType (org.apache.xmpbox.type.URIType)1 URLType (org.apache.xmpbox.type.URLType)1 DomXmpParser (org.apache.xmpbox.xml.DomXmpParser)1