Examples of DateType


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

     *            namespace prefix. ie "pdf:Keywords"
     * @param date
     *            The date to add to the sequence property.
     */
    public void addSequenceDateValue(String qualifiedSeqName, Calendar date) {
        addSequenceValue(qualifiedSeqName, new DateType(metadata, "rdf", "li",
                date));
    }
View Full Code Here

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

        added = true;
      } else if (type.equals("Real")) {
        schema.getContent().addProperty(new RealType(metadata, prefix, attr.getLocalName(), attr.getValue()));
        added = true;
      } else if (type.equals("Date")) {
        schema.getContent().addProperty(new DateType(metadata, prefix, attr.getLocalName(), attr.getValue()));
        added = true;
      } else if (type.equals("URI")) {
        schema.getContent().addProperty(new TextType(metadata, prefix, attr.getLocalName(), attr.getValue()));
        added = true;
      } else if (type.equals("URL")) {
View Full Code Here

Examples of org.apache.xmpbox.type.DateType

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

    public void setDateCreated(String text)
    {
        DateType tt = (DateType) instanciateSimple(DATE_CREATED, text);
        setDateCreatedProperty(tt);
    }
View Full Code Here

Examples of org.apache.xmpbox.type.DateType

     * @param date
     *            the value to set
     */
    public void setCreateDate(Calendar date)
    {
        DateType tt = (DateType) instanciateSimple(CREATEDATE, date);
        setCreateDateProperty(tt);
    }
View Full Code Here

Examples of org.apache.xmpbox.type.DateType

     * @param date
     *            the Metadata Date value to set
     */
    public void setMetadataDate(Calendar date)
    {
        DateType tt = (DateType) instanciateSimple(METADATADATE, date);
        setMetadataDateProperty(tt);
    }
View Full Code Here

Examples of org.apache.xmpbox.type.DateType

     * @param date
     *            the Modify Date value to set
     */
    public void setModifyDate(Calendar date)
    {
        DateType tt = (DateType) instanciateSimple(MODIFYDATE, date);
        setModifyDateProperty(tt);
    }
View Full Code Here

Examples of org.apache.xmpbox.type.DateType

        setModifyDateProperty(tt);
    }

    public void setModifierDate(Calendar date)
    {
        DateType tt = (DateType) instanciateSimple(MODIFIER_DATE, date);
        setModifierDateProperty(tt);
    }
View Full Code Here

Examples of org.apache.xmpbox.type.DateType

     *
     * @return the CreateDate value
     */
    public Calendar getCreateDate()
    {
        DateType createDate = (DateType) getProperty(CREATEDATE);
        if (createDate != null)
        {
            return createDate.getValue();
        }
        return null;
    }
View Full Code Here

Examples of org.apache.xmpbox.type.DateType

     *
     * @return the MetadataDate value
     */
    public Calendar getMetadataDate()
    {
        DateType dt = ((DateType) getProperty(METADATADATE));
        return dt == null ? null : dt.getValue();
    }
View Full Code Here

Examples of org.apache.xmpbox.type.DateType

     *
     * @return the ModifyDate value
     */
    public Calendar getModifyDate()
    {
        DateType modifyDate = (DateType) getProperty(MODIFYDATE);
        if (modifyDate != null)
        {
            return modifyDate.getValue();
        }
        return null;

    }
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.