Package org.apache.padaf.xmpbox.type

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


    }

    public void addJob(String id , String name, String url) {
        if (bagJobs == null) {
            bagJobs = new ComplexProperty(metadata, localPrefix, JOB_REF,
                    ComplexProperty.UNORDERED_ARRAY);
            addProperty(bagJobs);
        }
        JobType job = new JobType(metadata, "rdf", "li");
        job.setId("stJob", id);
View Full Code Here


    return getBagValueList(localPrefixSep + SUPPLEMENTAL_CATEGORIES);
  }
 
  public void addTextLayers(String layerName, String layerText) {
    if (seqLayer == null) {
      seqLayer = new ComplexProperty(metadata, localPrefix, TEXT_LAYERS,
          ComplexProperty.ORDERED_ARRAY);
      addProperty(seqLayer);
    }
    LayerType layer = new LayerType(metadata, "rdf", "li");
    layer.setLayerName(PREFERRED_PHOTISHOP_PREFIX, "LayerName", layerName);
View Full Code Here

  public boolean analyseRights(XMPMetadata metadata, PDFontDescriptor fontDesc, List<ValidationError> ve)
  throws ValidationException {

    DublinCoreSchema dc = metadata.getDublinCoreSchema();
    if (dc != null) {
      ComplexProperty copyrights = dc.getRights();
      if (copyrights == null || copyrights.getContainer() == null
          || copyrights.getContainer().getAllProperties().isEmpty()) {
        ve
        .add(new ValidationError(
            ValidationConstants.ERROR_METADATA_PROPERTY_MISSING,
        "CopyRights is missing from the XMP information (dc:rights) of the Font File Stream."));
        return false;
View Full Code Here

TOP

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

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.