Examples of TextType


Examples of org.apache.xmpbox.type.TextType

        return (TextType) getProperty(TRANSMISSION_REFERENCE);
    }

    public String getTransmissionReference()
    {
        TextType tt = ((TextType) getProperty(TRANSMISSION_REFERENCE));
        return tt == null ? null : tt.getStringValue();
    }
View Full Code Here

Examples of org.apache.xmpbox.type.TextType

        return tt == null ? null : tt.getStringValue();
    }

    public void setTransmissionReference(String text)
    {
        TextType tt = (TextType) instanciateSimple(TRANSMISSION_REFERENCE, text);
        setTransmissionReferenceProperty(tt);
    }
View Full Code Here

Examples of org.apache.xmpbox.type.TextType

     * @param text
     *            the label value to set
     */
    public void setLabel(String text)
    {
        TextType tt = (TextType) instanciateSimple(LABEL, text);
        setLabelProperty(tt);
    }
View Full Code Here

Examples of org.apache.xmpbox.type.TextType

     * @param text
     *            the Nickname value to set
     */
    public void setNickname(String text)
    {
        TextType tt = (TextType) instanciateSimple(NICKNAME, text);
        setNicknameProperty(tt);
    }
View Full Code Here

Examples of org.apache.xmpbox.type.TextType

     *
     * @return the base url value
     */
    public String getBaseURL()
    {
        TextType tt = ((TextType) getProperty(BASEURL));
        return tt == null ? null : tt.getStringValue();
    }
View Full Code Here

Examples of org.apache.xmpbox.type.TextType

     *
     * @return the CreationTool value
     */
    public String getCreatorTool()
    {
        TextType tt = ((TextType) getProperty(CREATORTOOL));
        return tt == null ? null : tt.getStringValue();
    }
View Full Code Here

Examples of org.apache.xmpbox.type.TextType

     *
     * @return the label value
     */
    public String getLabel()
    {
        TextType tt = ((TextType) getProperty(LABEL));
        return tt == null ? null : tt.getStringValue();
    }
View Full Code Here

Examples of org.apache.xmpbox.type.TextType

     *
     * @return the Nickname value
     */
    public String getNickname()
    {
        TextType tt = ((TextType) getProperty(NICKNAME));
        return tt == null ? null : tt.getStringValue();
    }
View Full Code Here

Examples of org.apache.xmpbox.type.TextType

    protected void testGetSetTextProperty() throws Exception
    {
        String setName = setMethod(property);
        String getName = getMethod(property);

        TextType tt = metadata.getTypeMapping().createText(null, schema.getPrefix(), property, (String) value);
        Method setMethod = schemaClass.getMethod(setName, TextType.class);
        Method getMethod = schemaClass.getMethod(getName);

        setMethod.invoke(schema, tt);
        String found = ((TextType) getMethod.invoke(schema)).getStringValue();
View Full Code Here

Examples of org.apache.xmpbox.type.TextType

        DomXmpParser builder = new DomXmpParser();
        builder.setStrictParsing(false);
        XMPMetadata rxmp = builder.parse(is);
        ExifSchema schema = (ExifSchema)rxmp.getSchema(ExifSchema.class);
        TextType ss = (TextType)schema.getProperty(ExifSchema.SPECTRAL_SENSITIVITY);
        Assert.assertNotNull(ss);
        Assert.assertEquals("spectral sens value",ss.getValue());
    }
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.